{ "id": "im.github.rallep71.DinoX", "runtime": "org.gnome.Platform", "runtime-version": "48", "sdk": "org.gnome.Sdk", "sdk-extensions": [ "org.freedesktop.Sdk.Extension.golang" ], "command": "dinox", "separate-locales": false, "add-extensions": { "org.freedesktop.Platform.ffmpeg-full": { "directory": "lib/ffmpeg", "version": "24.08", "add-ld-path": ".", "autodownload": true } }, "cleanup-commands": [ "mkdir -p /app/lib/ffmpeg" ], "cleanup": [ "/include", "/lib/pkgconfig", "/lib/cmake", "/share/pkgconfig", "/share/aclocal", "/man", "/share/man", "/share/gtk-doc", "*.la", "*.a" ], "finish-args": [ "--share=ipc", "--socket=fallback-x11", "--socket=wayland", "--socket=pulseaudio", "--socket=gpg-agent", "--filesystem=xdg-run/pipewire-0", "--share=network", "--device=all", "--talk-name=org.freedesktop.portal.Desktop", "--talk-name=org.freedesktop.Notifications", "--talk-name=org.kde.StatusNotifierWatcher", "--talk-name=org.freedesktop.ScreenSaver", "--talk-name=org.freedesktop.GeoClue2", "--system-talk-name=org.freedesktop.login1", "--own-name=org.mpris.MediaPlayer2.Dino", "--filesystem=xdg-cache/dinox:create", "--filesystem=xdg-run/dinox:create", "--env=GST_PLUGIN_PATH=/app/lib/ffmpeg" ], "modules": [ { "name": "libcanberra", "buildsystem": "autotools", "config-opts": [ "--disable-oss", "--disable-alsa", "--enable-pulse", "--disable-gtk", "--disable-gtk3" ], "cleanup": [ "/include", "/lib/pkgconfig", "*.la", "*.a" ], "sources": [ { "type": "archive", "url": "https://deb.debian.org/debian/pool/main/libc/libcanberra/libcanberra_0.30.orig.tar.xz", "sha256": "c2b671e67e0c288a69fc33dc1b6f1b534d07882c2aceed37004bf48c601afa72" } ] }, { "name": "libnice", "buildsystem": "meson", "builddir": true, "config-opts": [ "-Dtests=disabled", "-Dgtk_doc=disabled" ], "cleanup": [ "/include", "/lib/pkgconfig", "*.la", "*.a" ], "sources": [ { "type": "archive", "url": "https://github.com/rallep71/dinox/releases/download/vendor-deps/libnice-0.1.23.tar.gz", "sha256": "cd69da89d70b529e2eac955de006503a318123d36196482b14005a83e7cb2c21" } ] }, { "name": "openh264", "buildsystem": "meson", "builddir": true, "sources": [ { "type": "archive", "url": "https://github.com/cisco/openh264/archive/v2.6.0.tar.gz", "sha256": "558544ad358283a7ab2930d69a9ceddf913f4a51ee9bf1bfb9e377322af81a69" } ] }, { "name": "sqlcipher", "buildsystem": "autotools", "config-opts": [ "--enable-tempstore=yes", "--disable-tcl", "CFLAGS=-DSQLITE_HAS_CODEC -DSQLITE_ENABLE_COLUMN_METADATA -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS -DSQLITE_ENABLE_FTS4 -DSQLITE_ENABLE_FTS5" ], "sources": [ { "type": "archive", "url": "https://github.com/sqlcipher/sqlcipher/archive/v4.6.1.tar.gz", "sha256": "d8f9afcbc2f4b55e316ca4ada4425daf3d0b4aab25f45e11a802ae422b9f53a3" } ] }, { "name": "protobuf", "buildsystem": "cmake-ninja", "config-opts": [ "-Dprotobuf_BUILD_TESTS=OFF", "-Dprotobuf_BUILD_SHARED_LIBS=ON", "-DCMAKE_INSTALL_LIBDIR=lib" ], "sources": [ { "type": "archive", "url": "https://github.com/rallep71/dinox/releases/download/vendor-deps/protobuf-cpp-3.21.12.tar.gz", "sha256": "4eab9b524aa5913c6fffb20b2a8abf5ef7f95a80bc0701f3a6dbb4c607f73460" } ] }, { "name": "libprotobuf-c", "buildsystem": "autotools", "sources": [ { "type": "archive", "url": "https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.2/protobuf-c-1.5.2.tar.gz", "sha256": "e2c86271873a79c92b58fef7ebf8de1aa0df4738347a8bd5d4e65a80a16d0d24" } ] }, { "name": "libomemo-c", "buildsystem": "meson", "config-opts": [ "-Dtests=false", "-Ddefault_library=static", "--libdir=lib" ], "sources": [ { "type": "archive", "url": "https://github.com/rallep71/libomemo-c/releases/download/v0.5.1/libomemo-c-0.5.1.tar.gz", "sha512": "ff59565406c51663f2944e9a7c12c5b0e3fa01073039f5161472dd81f59194b1cf2685bc1e0cc930a141bc409b965c5d93313cfc3e0e237250102af3b5e88826", "x-checker-data": { "type": "anitya", "project-id": 359676, "stable-only": true, "url-template": "https://github.com/rallep71/libomemo-c/releases/download/v$version/libomemo-c-$version.tar.gz" } } ] }, { "name": "qrencode", "buildsystem": "autotools", "cleanup": [ "*" ], "build-options": { "cflags": "-fPIC" }, "config-opts": [ "--disable-shared" ], "sources": [ { "type": "archive", "url": "https://github.com/fukuchi/libqrencode/archive/refs/tags/v4.1.1.tar.gz", "sha512": "584106e7bcaaa1ef2efe63d653daad38d4ff436eb4b185a1db3c747169c1ffa74149c3b1329bb0b8ae007903db0a7034aabf135cc196d91a37b5c61348154a65", "x-checker-data": { "type": "anitya", "project-id": 12834, "stable-only": true, "url-template": "https://github.com/fukuchi/libqrencode/archive/refs/tags/v$version.tar.gz" } } ] }, { "name": "intltool", "cleanup": [ "*" ], "sources": [ { "type": "archive", "url": "https://launchpad.net/intltool/trunk/0.51.0/+download/intltool-0.51.0.tar.gz", "sha256": "67c74d94196b153b774ab9f89b2fa6c6ba79352407037c8c14d5aeb334e959cd" } ] }, { "name": "libdbusmenu", "buildsystem": "autotools", "build-options": { "cflags": "-Wno-error" }, "config-opts": [ "--disable-dumper", "--disable-tests", "--disable-gtk", "--with-gtk=no" ], "make-install-args": [ "typelibdir=/app/lib/girepository-1.0", "girdir=/app/share/gir-1.0" ], "sources": [ { "type": "archive", "url": "https://github.com/rallep71/dinox/raw/vendor/vendor/libdbusmenu-16.04.0.tar.gz", "sha256": "b9cc4a2acd74509435892823607d966d424bd9ad5d0b00938f27240a1bfa878a" }, { "type": "shell", "commands": [ "sed -i '/AC_OUTPUT/i AM_CONDITIONAL([HAVE_VALGRIND], [test \"x$enable_valgrind\" = \"xyes\"])' configure.ac", "autoreconf -vfi" ] } ] }, { "name": "webrtc-audio-processing", "buildsystem": "meson", "sources": [ { "type": "archive", "url": "https://github.com/rallep71/dinox/releases/download/vendor-deps/webrtc-audio-processing-2.1.tar.gz", "sha256": "35e86b986d02ea15f3d04741a1a5a735ba399bc0fac0ee089c39480e35fc3253" } ] }, { "name": "libevent", "buildsystem": "autotools", "sources": [ { "type": "archive", "url": "https://github.com/libevent/libevent/releases/download/release-2.1.12-stable/libevent-2.1.12-stable.tar.gz", "sha256": "92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb" } ] }, { "name": "tor", "buildsystem": "autotools", "config-opts": [ "--disable-asciidoc", "--disable-manpages", "--disable-system-torrc", "--disable-module-relay", "--disable-unittests" ], "sources": [ { "type": "archive", "url": "https://dist.torproject.org/tor-0.4.9.5.tar.gz", "sha256": "c949c2f86b348e64891976f6b1e49c177655b23df97193049bf1b8cd3099e179" } ] }, { "name": "obfs4proxy", "buildsystem": "simple", "build-commands": [ "mkdir -p /app/bin", "ar x obfs4proxy.deb data.tar.xz", "tar -xf data.tar.xz ./usr/bin/obfs4proxy", "cp ./usr/bin/obfs4proxy /app/bin/obfs4proxy", "chmod +x /app/bin/obfs4proxy" ], "sources": [ { "type": "file", "only-arches": ["x86_64"], "url": "http://ftp.de.debian.org/debian/pool/main/o/obfs4proxy/obfs4proxy_0.0.14-2+b6_amd64.deb", "sha256": "2792b32ac3f92e8c34a0aa12778cc0afb5a195cddaabf1ad87ddafddd304fe76", "dest-filename": "obfs4proxy.deb" }, { "type": "file", "only-arches": ["aarch64"], "url": "http://ftp.de.debian.org/debian/pool/main/o/obfs4proxy/obfs4proxy_0.0.14-2+b6_arm64.deb", "sha256": "9650d81d5f7df23c161677963294d982242422bcf00fb12f2f62a3382c7f46f1", "dest-filename": "obfs4proxy.deb" } ] }, { "name": "lyrebird", "buildsystem": "simple", "build-options": { "append-path": "/usr/lib/sdk/golang/bin", "env": { "GOPATH": "/run/build/lyrebird/go", "GOBIN": "/app/bin", "GO111MODULE": "on", "GOFLAGS": "-mod=vendor" } }, "build-commands": [ ". /usr/lib/sdk/golang/enable.sh && go build -trimpath -ldflags '-s -w' -o /app/bin/lyrebird ./cmd/lyrebird" ], "sources": [ { "type": "archive", "url": "https://github.com/rallep71/dinox/releases/download/lyrebird-0.8.1/lyrebird-0.8.1-vendored.tar.gz", "sha256": "05d87533c66562baae8a0adac6ae7f7401aa08516ea0dfd192a367d2f8645092" } ] }, { "name": "pipewire", "buildsystem": "meson", "builddir": true, "config-opts": [ "-Ddocs=disabled", "-Dman=disabled", "-Dtests=disabled", "-Dexamples=disabled", "-Dsystemd=disabled", "-Dsession-managers=[]", "-Dpipewire-alsa=disabled", "-Dpipewire-jack=disabled", "-Djack=disabled", "-Dpipewire-v4l2=disabled", "-Dbluez5=disabled", "-Dffmpeg=disabled", "-Dvulkan=disabled", "-Dlibcamera=disabled", "-Droc=disabled", "-Davahi=disabled", "-Draop=disabled", "-Dudevrulesdir=/app/lib/udev/rules.d", "-Dgstreamer=enabled", "-Dgstreamer-device-provider=enabled" ], "cleanup": [ "/bin", "/etc", "/include", "/libexec", "/lib/pkgconfig", "/lib/systemd", "/share/alsa", "/share/man", "/share/pipewire", "/share/doc", "/share/locale", "*.a", "*.la" ], "sources": [ { "type": "archive", "url": "https://github.com/rallep71/dinox/releases/download/vendor-deps/pipewire-1.4.10.tar.gz", "sha256": "20184b3fac2e2759385302423bdf04db64490a3c79a091147993a822ae992128" } ] }, { "name": "cjson", "buildsystem": "cmake-ninja", "config-opts": [ "-DENABLE_CJSON_TEST=OFF", "-DBUILD_SHARED_LIBS=ON", "-DCMAKE_INSTALL_LIBDIR=lib" ], "cleanup": [ "/include", "/lib/pkgconfig", "/lib/cmake", "*.a", "*.la" ], "sources": [ { "type": "archive", "url": "https://github.com/DaveGamble/cJSON/archive/v1.7.18.tar.gz", "sha256": "3aa806844a03442c00769b83e99970be70fbef03735ff898f4811dd03b9f5ee5" } ] }, { "name": "mosquitto", "buildsystem": "cmake-ninja", "config-opts": [ "-DWITH_BROKER=OFF", "-DWITH_CLIENTS=OFF", "-DWITH_APPS=OFF", "-DWITH_PLUGINS=OFF", "-DWITH_TESTS=OFF", "-DWITH_DOCS=OFF", "-DWITH_TLS=ON", "-DWITH_STATIC_LIBRARIES=OFF", "-DCMAKE_INSTALL_LIBDIR=lib" ], "cleanup": [ "/include", "/lib/pkgconfig", "*.a", "*.la" ], "sources": [ { "type": "archive", "url": "https://mosquitto.org/files/source/mosquitto-2.1.2.tar.gz", "sha256": "fd905380691ac65ea5a93779e8214941829e3d6e038d5edff9eac5fd74cbed02" } ] }, { "name": "dino", "buildsystem": "meson", "builddir": true, "config-opts": [ "--libdir=lib", "-Dplugin-notification-sound=enabled" ], "cleanup": [ "/include", "/share/vala" ], "sources": [ { "type": "dir", "path": "." } ] } ] }