mirror of
https://github.com/ZoiteChat/zoitechat.git
synced 2026-03-13 09:10:20 +00:00
flatpak: enable Python/Perl plugins; bundle Perl runtime module
This commit is contained in:
@@ -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": {
|
||||
|
||||
20
flatpak/perl.json
Normal file
20
flatpak/perl.json
Normal file
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user