mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-29 23:32:04 +02:00
This reverts commit f63e13ed39
.
This workaround does not work, since GStreamer build manifest we use
as shared module from Flathub has explicitly enabled libmpeg2 support.
87 lines
3.0 KiB
JSON
87 lines
3.0 KiB
JSON
{
|
|
"app-id": "com.github.rafostar.Clapper",
|
|
"runtime": "org.gnome.Platform",
|
|
"runtime-version": "master",
|
|
"sdk": "org.gnome.Sdk",
|
|
"sdk-extensions": [
|
|
"org.freedesktop.Sdk.Extension.rust-stable",
|
|
"org.freedesktop.Sdk.Extension.llvm18"
|
|
],
|
|
"add-extensions": {
|
|
"org.freedesktop.Platform.ffmpeg-full": {
|
|
"version": "24.08",
|
|
"directory": "lib/ffmpeg",
|
|
"add-ld-path": ".",
|
|
"no-autodownload": false,
|
|
"autodelete": false
|
|
},
|
|
"com.github.rafostar.Clapper.Enhancers": {
|
|
"versions": "master;test;stable",
|
|
"directory": "extensions/clapper/enhancers",
|
|
"add-ld-path": "lib",
|
|
"no-autodownload": false,
|
|
"autodelete": false
|
|
}
|
|
},
|
|
"command": "clapper",
|
|
"separate-locales": false,
|
|
"finish-args": [
|
|
"--share=ipc",
|
|
"--socket=fallback-x11",
|
|
"--socket=wayland",
|
|
"--device=dri",
|
|
"--socket=pulseaudio",
|
|
"--share=network",
|
|
"--device=all",
|
|
"--filesystem=xdg-run/pipewire-0:ro",
|
|
"--filesystem=xdg-videos",
|
|
"--filesystem=xdg-run/gvfsd",
|
|
"--own-name=org.mpris.MediaPlayer2.Clapper.*",
|
|
"--talk-name=org.gtk.vfs.*",
|
|
"--env=GST_PLUGIN_SYSTEM_PATH=/app/lib/gstreamer-1.0",
|
|
"--env=CLAPPER_ENHANCERS_PATH=/app/extensions/clapper/enhancers/plugins",
|
|
"--env=PYTHONPATH=/app/extensions/clapper/enhancers/python/site-packages"
|
|
],
|
|
"build-options": {
|
|
"append-path": "/usr/lib/sdk/rust-stable/bin:/usr/lib/sdk/llvm18/bin",
|
|
"prepend-ld-library-path": "/usr/lib/sdk/llvm18/lib",
|
|
"env": {
|
|
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER": "clang",
|
|
"CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold",
|
|
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER": "clang",
|
|
"CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_RUSTFLAGS": "-C link-arg=-fuse-ld=/usr/lib/sdk/rust-stable/bin/mold"
|
|
}
|
|
},
|
|
"modules": [
|
|
"flathub/shared-modules/gudev/gudev.json",
|
|
"flathub/lib/liba52.json",
|
|
"flathub/lib/libmpeg2.json",
|
|
"flathub/lib/libdv.json",
|
|
"flathub/lib/libdvdcss.json",
|
|
"flathub/lib/libdvdread.json",
|
|
"flathub/lib/libdvdnav.json",
|
|
"flathub/lib/libass.json",
|
|
"flathub/lib/libmicrodns.json",
|
|
"flathub/lib/libpeas.json",
|
|
"testing/dav1d.json",
|
|
"testing/gstreamer.json",
|
|
"testing/gst-plugins-rs.json",
|
|
"testing/graphviz.json",
|
|
{
|
|
"name": "clapper",
|
|
"buildsystem": "meson",
|
|
"sources": [
|
|
{
|
|
"type": "dir",
|
|
"path": "../../."
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"cleanup-commands": [
|
|
"mkdir -p /app/lib/ffmpeg",
|
|
"mkdir -p /app/extensions/clapper/enhancers",
|
|
"ln -s /lib/$FLATPAK_ARCH-linux-*/gstreamer-1.0/libgstpipewire.so /app/lib/gstreamer-1.0/"
|
|
]
|
|
}
|