From 28a4726ddc779c0510ca32eec4b20f0218a6f137 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Thu, 27 May 2021 19:16:42 -0500 Subject: actions: Add flatpak action --- flatpak/io.github.Hexchat.json | 79 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 flatpak/io.github.Hexchat.json (limited to 'flatpak/io.github.Hexchat.json') diff --git a/flatpak/io.github.Hexchat.json b/flatpak/io.github.Hexchat.json new file mode 100644 index 00000000..74811d2b --- /dev/null +++ b/flatpak/io.github.Hexchat.json @@ -0,0 +1,79 @@ +{ + "app-id": "io.github.Hexchat", + "branch": "stable", + "runtime": "org.gnome.Platform", + "runtime-version": "40", + "sdk": "org.gnome.Sdk", + "command": "hexchat", + "rename-icon": "hexchat", + "finish-args": [ + "--share=ipc", + "--socket=x11", + "--share=network", + "--socket=pulseaudio", + "--filesystem=xdg-download", + + "--talk-name=org.freedesktop.Notifications", + + "--talk-name=org.mpris.MediaPlayer2.*" + ], + "add-extensions": { + "io.github.Hexchat.Plugin": { + "version": "20.08", + "directory": "extensions", + "add-ld-path": "lib", + "merge-dirs": "lib/hexchat/plugins", + "subdirectories": true, + "no-autodownload": true, + "autodelete": true + } + }, + "modules": [ + "shared-modules/gtk2/gtk2.json", + "shared-modules/gtk2/gtk2-common-themes.json", + "shared-modules/dbus-glib/dbus-glib-0.110.json", + "shared-modules/lua5.3/lua-5.3.5.json", + "shared-modules/libcanberra/libcanberra.json", + "python3-cffi.json", + { + "name": "lgi", + "buildsystem": "meson", + "sources": [ + { + "type": "git", + "url": "https://github.com/pavouk/lgi.git", + "commit": "95418635aa8151a516d43166227ea2b9d4c4403f" + } + ] + }, + { + "name": "hexchat", + "buildsystem": "meson", + "config-opts": [ + "--buildtype=release", + "-Ddbus-service-use-appid=true", + "-Dwith-perl=false", + "-Dwith-lua=lua" + ], + "build-options": { + "cflags": "-Wno-error=missing-include-dirs" + }, + "cleanup": [ + "/share/man" + ], + "post-install": [ + "install -d /app/extensions" + ], + "sources": [ + { + "type": "dir", + "path": ".." + }, + { + "type": "patch", + "path": "Load-plugins-from-Flatpak-extensions.patch" + } + ] + } + ] +} -- cgit 1.4.1 From 3f099bace2bab833fc1a6460209d702171827c36 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 26 Oct 2021 11:53:00 -0500 Subject: flatpak: Remove rename-icon from manifest --- flatpak/io.github.Hexchat.json | 1 - 1 file changed, 1 deletion(-) (limited to 'flatpak/io.github.Hexchat.json') diff --git a/flatpak/io.github.Hexchat.json b/flatpak/io.github.Hexchat.json index 74811d2b..23e57109 100644 --- a/flatpak/io.github.Hexchat.json +++ b/flatpak/io.github.Hexchat.json @@ -5,7 +5,6 @@ "runtime-version": "40", "sdk": "org.gnome.Sdk", "command": "hexchat", - "rename-icon": "hexchat", "finish-args": [ "--share=ipc", "--socket=x11", -- cgit 1.4.1 From 64da6ce1fc349d89eea2e70ec42cb7bd47b22a78 Mon Sep 17 00:00:00 2001 From: Patrick Griffis Date: Tue, 26 Oct 2021 15:51:42 -0500 Subject: flatpak: Update shared-modules --- flatpak/io.github.Hexchat.json | 2 +- flatpak/shared-modules | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'flatpak/io.github.Hexchat.json') diff --git a/flatpak/io.github.Hexchat.json b/flatpak/io.github.Hexchat.json index 23e57109..94cfb6c8 100644 --- a/flatpak/io.github.Hexchat.json +++ b/flatpak/io.github.Hexchat.json @@ -30,7 +30,7 @@ "modules": [ "shared-modules/gtk2/gtk2.json", "shared-modules/gtk2/gtk2-common-themes.json", - "shared-modules/dbus-glib/dbus-glib-0.110.json", + "shared-modules/dbus-glib/dbus-glib.json", "shared-modules/lua5.3/lua-5.3.5.json", "shared-modules/libcanberra/libcanberra.json", "python3-cffi.json", diff --git a/flatpak/shared-modules b/flatpak/shared-modules index 45cc381c..2c2f8fef 160000 --- a/flatpak/shared-modules +++ b/flatpak/shared-modules @@ -1 +1 @@ -Subproject commit 45cc381cdb43da1f22bc61baba4e390792eb5f8b +Subproject commit 2c2f8fef2e926ff03158c0b3341526cce1b405ac -- cgit 1.4.1