freezer/flatpak/f.f.freezer.json

89 lines
2.3 KiB
JSON
Raw Normal View History

2024-05-01 22:59:30 +00:00
{
"app-id": "f.f.freezer",
"runtime": "org.freedesktop.Platform",
"runtime-version": "22.08",
"sdk": "org.freedesktop.Sdk",
"command": "freezer",
"finish-args": [
"--share=ipc",
"--socket=fallback-x11",
"--socket=wayland",
"--device=dri",
"--share=network",
"--socket=pulseaudio"
],
"modules": [
{
"name": "ffmpeg",
"cleanup": ["/include", "/lib/pkgconfig", "/share/ffmpeg/examples"],
"config-opts": [
"--enable-shared",
"--disable-static",
"--enable-gnutls",
"--disable-doc",
"--disable-programs",
"--disable-encoders",
"--disable-muxers",
"--enable-encoder=png",
"--enable-libv4l2",
"--enable-libdav1d"
],
"sources": [
{
"type": "git",
"url": "https://git.ffmpeg.org/ffmpeg.git"
}
]
},
{
"name": "libass",
"cleanup": ["/include", "/lib/*.la", "/lib/pkgconfig"],
"config-opts": ["--disable-static"],
"sources": [
{
"type": "archive",
"url": "https://github.com/libass/libass/releases/download/0.14.0/libass-0.14.0.tar.xz",
"sha256": "881f2382af48aead75b7a0e02e65d88c5ebd369fe46bc77d9270a94aa8fd38a2"
}
]
},
{
"name": "libmpv",
"cleanup": ["/include", "/lib/pkgconfig", "/share/man"],
"buildsystem": "simple",
"build-commands": [
"python3 waf configure --prefix=/app --enable-libmpv-shared --disable-cplayer --disable-build-date --disable-alsa",
"python3 waf build",
"python3 waf install"
],
"sources": [
{
"type": "git",
"url": "https://github.com/mpv-player/mpv.git"
},
{
"type": "file",
"url": "https://waf.io/waf-2.0.19",
"sha256": "ba63c90a865a9bcf46926c4e6776f9a3f73d29f33d49b7f61f96bc37b7397cef",
"dest-filename": "waf"
}
]
},
{
"name": "freezer",
"buildsystem": "simple",
"build-commands": ["./build-flatpak.sh"],
"sources": [
{
"type": "file",
"path": "freezer-linux.tar.gz"
},
{
"type": "file",
"path": "build-flatpak.sh"
}
]
}
]
}