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..29942010 --- /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": "c8fef42d36fef2e129532d38648d4f9efb06efec87d20fdbd2865ed24dbadb68" + } + ] +}