Files
splash/tests/packaging/xyz.splashmapper.Splash.json
2025-12-29 19:19:58 -05:00

247 lines
7.7 KiB
JSON

{
"app-id": "xyz.splashmapper.Splash",
"runtime": "org.freedesktop.Platform",
"runtime-version": "25.08",
"sdk": "org.freedesktop.Sdk",
"command": "splash.sh",
"rename-desktop-file": "splash.desktop",
"rename-icon": "splash",
"finish-args": [
"--socket=fallback-x11",
"--socket=wayland",
"--socket=pulseaudio",
"--share=ipc",
"--share=network",
"--device=all",
"--filesystem=host",
"--filesystem=xdg-run/pipewire-0",
"--system-talk-name=org.freedesktop.Avahi"
],
"cleanup": [
"/bin/gsl*",
"/bin/opencv*",
"/bin/sd*",
"/include",
"/share/OpenCV",
"/share/info",
"/share/man",
"/lib/pkgconfig",
"/lib/*.a",
"/lib/*.la",
"/lib/cmake"
],
"modules": [
{
"name": "gphoto2",
"config-opts": [
"--disable-static",
"--disable-docs",
"--disable-internal-docs",
"--enable-largefile",
"--with-drivers=all"
],
"sources": [
{
"type": "archive",
"url": "https://github.com/gphoto/libgphoto2/releases/download/v2.5.32/libgphoto2-2.5.32.tar.bz2",
"sha256": "02b29ab0bcfceda1c7f81c75ec7cb5e64d329cf4b8fd0fcd5bc5a89ff09561bc"
}
],
"post-install": [
"install -p -D -m 0644 'COPYING' -t '${FLATPAK_DEST}/share/licenses/gphoto2/'"
]
},
{
"name": "opencv",
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-DBUILD_PERF_TEST=OFF",
"-DBUILD_TESTS=OFF",
"-DBUILD_EXAMPLES=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/opencv/opencv.git",
"tag": "4.10.0",
"commit": "71d3237a093b60a27601c20e9ee6c3e52154e8b1"
}
]
},
{
"name": "portaudio",
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
],
"sources": [
{
"type": "archive",
"url": "https://files.portaudio.com/archives/pa_stable_v190700_20210406.tgz",
"sha256": "47efbf42c77c19a05d22e627d42873e991ec0c1357219c0d74ce6a2948cb2def"
}
]
},
{
"name": "gsl",
"config-opts": [
"--enable-shared",
"--disable-static"
],
"sources": [
{
"type": "archive",
"url": "https://mirror.ibcp.fr/pub/gnu/gsl/gsl-2.7.1.tar.gz",
"sha256": "dcb0fbd43048832b757ff9942691a8dd70026d5da0ff85601e52687f6deeb34b"
}
]
},
{
"name": "jsoncpp",
"buildsystem": "cmake-ninja",
"builddir": true,
"sources": [
{
"type": "git",
"url": "https://github.com/open-source-parsers/jsoncpp",
"tag": "1.9.5",
"commit": "5defb4ed1a4293b8e2bf641e16b156fb9de498cc"
}
]
},
{
"name": "shmdata",
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-DWITH_PYTHON=OFF"
],
"sources": [
{
"type": "git",
"disable-submodules": true,
"url": "https://gitlab.com/sat-mtl/tools/shmdata.git",
"tag": "1.3.72",
"commit": "96e044d1c6330e5fc9993cda2abc695a1dbc656e"
}
]
},
{
"name": "sh4lt",
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-DSH4LT_WITH_PYTHON=OFF",
"-DCMAKE_BUILD_TYPE=Release"
],
"sources": [
{
"type": "git",
"disable-submodules": true,
"url": "https://gitlab.com/sh4lt/sh4lt.git",
"tag": "0.2.0",
"commit": "7ee08acb46487885c82262d6699ba04d41f002c8"
}
]
},
{
"name": "zmq",
"buildsystem": "cmake-ninja",
"builddir": true,
"config-opts": [
"-DCMAKE_POLICY_VERSION_MINIMUM=3.10",
"-DWITH_LIBSODIUM=OFF",
"-DENABLE_WS=OFF"
],
"sources": [
{
"type": "git",
"url": "https://github.com/zeromq/libzmq.git",
"tag": "v4.3.5",
"commit": "622fc6dde99ee172ebaa9c8628d85a7a1995a21d"
}
]
},
{
"name": "avahi",
"cleanup": [
"/bin",
"/include",
"/lib/avahi",
"/lib/pkgconfig",
"/lib/*.a",
"/lib/*.la",
"/share/applications/*.desktop",
"/share/avahi",
"/share/man"
],
"config-opts": [
"--with-distro=none",
"--disable-introspection",
"--disable-qt3",
"--disable-qt4",
"--disable-qt5",
"--disable-gtk",
"--disable-gtk3",
"--disable-core-docs",
"--disable-manpages",
"--disable-libdaemon",
"--disable-libevent",
"--disable-python",
"--disable-pygobject",
"--disable-mono",
"--disable-monodoc",
"--disable-autoipd",
"--disable-doxygen-doc",
"--disable-doxygen-dot",
"--disable-doxygen-xml",
"--disable-doxygen-html",
"--disable-manpages",
"--disable-xmltoman"
],
"sources": [
{
"type": "archive",
"url": "https://www.avahi.org/download/avahi-0.8.tar.gz",
"sha256": "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda",
"x-checker-data": {
"type": "anitya",
"project-id": 147,
"url-template": "https://www.avahi.org/download/avahi-$version.tar.gz"
}
}
]
},
{
"name": "splash",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DBUILD_GENERIC_ARCH=ON",
"-DWITH_LTO=ON"
],
"sources": [
{
"type": "archive",
"path": "../../splash.tar.gz",
"archive-type": "tar-gzip"
}
]
},
{
"name": "splash-script",
"buildsystem": "simple",
"build-commands": [
"install -D splash.sh ${FLATPAK_DEST}/bin/splash.sh"
],
"sources": [
{
"type": "file",
"path": "splash.sh"
}
]
}
]
}