diff --git a/flatpak/net.zoite.Zoitechat.json b/flatpak/net.zoite.Zoitechat.json index f127fe3f..0a8e4b87 100644 --- a/flatpak/net.zoite.Zoitechat.json +++ b/flatpak/net.zoite.Zoitechat.json @@ -17,11 +17,9 @@ "--filesystem=~/.icons:ro", "--filesystem=xdg-run/tray-icon:create", "--env=GTK_CSD=1", - "--talk-name=org.freedesktop.Notifications", "--talk-name=org.kde.StatusNotifierWatcher", "--talk-name=com.canonical.AppMenu.Registrar", - "--talk-name=org.mpris.MediaPlayer2.*" ], "add-extensions": { @@ -41,6 +39,7 @@ "shared-modules/libcanberra/libcanberra.json", "shared-modules/libayatana-appindicator/libayatana-appindicator-gtk3.json", "python3-cffi.json", + "perl.json", { "name": "lgi", "buildsystem": "meson", @@ -57,8 +56,8 @@ "buildsystem": "meson", "config-opts": [ "-Ddbus-service-use-appid=true", - "-Dwith-perl=false", - "-Dwith-python=false", + "-Dwith-perl=perl", + "-Dwith-python=python3", "-Dwith-lua=lua" ], "build-options": { diff --git a/flatpak/perl.json b/flatpak/perl.json new file mode 100644 index 00000000..a54b6e93 --- /dev/null +++ b/flatpak/perl.json @@ -0,0 +1,20 @@ +{ + "name": "perl", + "buildsystem": "simple", + "build-commands": [ + "./Configure -des -Dprefix=/app -Dvendorprefix=/app -Duseshrplib -Dman1dir=none -Dman3dir=none", + "make -j${FLATPAK_BUILDER_N_JOBS}", + "make install" + ], + "cleanup": [ + "/share/man", + "/lib/perl5/*/*/CORE/*.a" + ], + "sources": [ + { + "type": "archive", + "url": "https://www.cpan.org/src/5.0/perl-5.40.1.tar.xz", + "sha256": "dfa20c2eef2b4af133525610bbb65dd13777ecf998c9c5b1ccf0d308e732ee3f" + } + ] +} diff --git a/flatpak/python3-cffi.json b/flatpak/python3-cffi.json index 171a384a..8d35ce69 100644 --- a/flatpak/python3-cffi.json +++ b/flatpak/python3-cffi.json @@ -7,13 +7,13 @@ "sources": [ { "type": "file", - "url": "https://files.pythonhosted.org/packages/0f/86/e19659527668d70be91d0369aeaa055b4eb396b0f387a4f92293a20035bd/pycparser-2.20.tar.gz", - "sha256": "2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0" + "url": "https://files.pythonhosted.org/packages/1d/b2/31537cf4b1ca988837256c910a668b553fceb8f069bedc4b1c826024b52c/pycparser-2.22.tar.gz", + "sha256": "491c8be9c040f5390f5bf44a5b07752bd07f56edf992381b05c701439eec10f6" }, { "type": "file", - "url": "https://files.pythonhosted.org/packages/a8/20/025f59f929bbcaa579704f443a438135918484fffaacfaddba776b374563/cffi-1.14.5.tar.gz", - "sha256": "fd78e5fee591709f32ef6edb9a015b4aa1a5022598e36227500c8f4e02328d9c" + "url": "https://files.pythonhosted.org/packages/fc/97/c783634659c2920c3fc70419e3af40972dbaf758daa229a7d6ea6135c90d/cffi-1.17.1.tar.gz", + "sha256": "1c39c6016c32bc48dd54561950ebd6836e1670f2ae46128f67cf49e789c52824" } ] } \ No newline at end of file diff --git a/plugins/perl/perl.c b/plugins/perl/perl.c index 3671353f..23b80206 100644 --- a/plugins/perl/perl.c +++ b/plugins/perl/perl.c @@ -32,6 +32,7 @@ #include #else #include +#include #endif #include