flatpak: Update Flatpak manifests

Update GitHub Flatpak builds to latest runtime version, add new libs
that we need and remove the ones that are not needed anymore.
This commit is contained in:
Rafał Dzięgiel
2024-03-13 21:06:10 +01:00
parent cc004a8144
commit 1a52576be3
4 changed files with 35 additions and 9 deletions

View File

@@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
timeout-minutes: 600 timeout-minutes: 600
container: container:
image: bilelmoussaoui/flatpak-github-actions:gnome-43 image: bilelmoussaoui/flatpak-github-actions:gnome-45
options: --privileged options: --privileged
strategy: strategy:
matrix: matrix:

View File

@@ -31,7 +31,6 @@
"--filesystem=xdg-run/gvfsd", "--filesystem=xdg-run/gvfsd",
"--own-name=org.mpris.MediaPlayer2.Clapper", "--own-name=org.mpris.MediaPlayer2.Clapper",
"--talk-name=org.gtk.vfs.*", "--talk-name=org.gtk.vfs.*",
"--talk-name=org.gnome.Shell",
"--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0" "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0"
], ],
"build-options": { "build-options": {

View File

@@ -1,9 +1,18 @@
{ {
"app-id": "com.github.rafostar.Clapper", "app-id": "com.github.rafostar.Clapper",
"runtime": "org.gnome.Platform", "runtime": "org.gnome.Platform",
"runtime-version": "43", "runtime-version": "45",
"sdk": "org.gnome.Sdk", "sdk": "org.gnome.Sdk",
"command": "com.github.rafostar.Clapper", "add-extensions": {
"org.freedesktop.Platform.ffmpeg-full": {
"version": "23.08",
"directory": "lib/ffmpeg",
"add-ld-path": ".",
"no-autodownload": false,
"autodelete": false
}
},
"command": "clapper",
"separate-locales": false, "separate-locales": false,
"finish-args": [ "finish-args": [
"--share=ipc", "--share=ipc",
@@ -18,13 +27,10 @@
"--filesystem=xdg-run/gvfsd", "--filesystem=xdg-run/gvfsd",
"--own-name=org.mpris.MediaPlayer2.Clapper", "--own-name=org.mpris.MediaPlayer2.Clapper",
"--talk-name=org.gtk.vfs.*", "--talk-name=org.gtk.vfs.*",
"--talk-name=org.gnome.Shell",
"--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0" "--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0"
], ],
"modules": [ "modules": [
"flathub/shared-modules/gudev/gudev.json", "flathub/shared-modules/gudev/gudev.json",
"flathub/lib/libsass.json",
"flathub/lib/sassc.json",
"flathub/lib/liba52.json", "flathub/lib/liba52.json",
"flathub/lib/libmpeg2.json", "flathub/lib/libmpeg2.json",
"flathub/lib/libdv.json", "flathub/lib/libdv.json",
@@ -32,10 +38,9 @@
"flathub/lib/libdvdread.json", "flathub/lib/libdvdread.json",
"flathub/lib/libdvdnav.json", "flathub/lib/libdvdnav.json",
"flathub/lib/libass.json", "flathub/lib/libass.json",
"flathub/lib/ffmpeg.json",
"flathub/lib/uchardet.json", "flathub/lib/uchardet.json",
"testing/libmicrodns.json",
"flathub/gstreamer-1.0/gstreamer.json", "flathub/gstreamer-1.0/gstreamer.json",
"flathub/lib/libadwaita.json",
"testing/gtuber.json", "testing/gtuber.json",
{ {
"name": "clapper", "name": "clapper",
@@ -52,6 +57,7 @@
} }
], ],
"cleanup-commands": [ "cleanup-commands": [
"mkdir -p /app/lib/ffmpeg",
"ln -s /lib/$FLATPAK_ARCH-linux-*/gstreamer-1.0/libgstpipewire.so /app/lib/gstreamer-1.0/" "ln -s /lib/$FLATPAK_ARCH-linux-*/gstreamer-1.0/libgstpipewire.so /app/lib/gstreamer-1.0/"
] ]
} }

View File

@@ -0,0 +1,21 @@
{
"name": "libmicrodns",
"buildsystem": "meson",
"config-opts": [
"--buildtype=release",
"-Dtests=disabled",
"-Dexamples=disabled"
],
"cleanup": [
"/include",
"/lib/pkgconfig"
],
"sources": [
{
"type": "git",
"url": "https://github.com/videolabs/libmicrodns.git",
"tag": "0.2.0",
"commit": "deb7ed7bf05dc26802a0ca1987049b31405b8930"
}
]
}