flathub / com.anydesk.Anydesk

https://flathub.org/apps/details/com.anydesk.Anydesk
24 stars 15 forks source link

Builds incorrectly with new flatpak-builder #59

Closed wjt closed 3 years ago

wjt commented 3 years ago
(flatpak-builder:759571): flatpak-builder-WARNING **: 10:08:33.166: Invalid source: No slashes allowed in dest-filename
(flatpak-builder:759571): Json-WARNING **: 10:08:33.166: Failed to deserialize "sources" property of type "gpointer" for an object of type "BuilderModule"
...
Skipping module minizip (no sources)

This is because of this block:

        {
            "name": "minizip",
            "subdir": "contrib/minizip",
            "sources": [
                {
                    "type": "archive",
                    "url": "https://zlib.net/zlib-1.2.11.tar.xz",
                    "sha256": "4ff941449631ace0d4d203e3483be9dbc9da454084111f97ea0a2114e19bf066"
                },
                {
                    "type": "script",
                    "dest-filename": "contrib/minizip/autogen.sh",
                    "commands": [
                        "autoreconf -ifv"
                    ]
                }
            ]
        },
AleksejShilin commented 3 years ago

I guess,

"dest-filename": "contrib/minizip/autogen.sh"

— needs to be changed to:

"dest": "contrib/minizip/"