build(flatpak): separate dependencies into sub-modules (#2818)

This commit is contained in:
ReenigneArcher
2024-07-14 19:01:59 -04:00
committed by GitHub
parent 3b95397381
commit e34f446210
8 changed files with 200 additions and 220 deletions

View File

@@ -0,0 +1,53 @@
{
"name": "avahi",
"cleanup": [
"/bin",
"/lib/avahi",
"/share"
],
"config-opts": [
"--with-distro=none",
"--disable-gobject",
"--disable-introspection",
"--disable-qt3",
"--disable-qt4",
"--disable-qt5",
"--disable-gtk",
"--disable-core-docs",
"--disable-manpages",
"--disable-libdaemon",
"--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",
"--disable-libevent"
],
"sources": [
{
"type": "git",
"url": "https://salsa.debian.org/utopia-team/avahi.git",
"commit": "1412c015d348166d58ea9c192239b00769eae24e",
"tag": "debian/0.8-13",
"x-checker-data": {
"type": "git",
"tag-pattern": "^debian\\/(\\d.+)$",
"versions": {
"<": "0.9"
}
}
},
{
"type": "shell",
"commands": [
"autoreconf -ivf"
]
}
]
}

View File

@@ -0,0 +1,36 @@
{
"name": "cuda",
"build-options": {
"no_debuginfo": true
},
"buildsystem": "simple",
"cleanup": [
"*"
],
"build-commands": [
"chmod u+x ./cuda.run",
"./cuda.run --silent --toolkit --toolkitpath=$FLATPAK_DEST/cuda --no-opengl-libs --no-man-page --no-drm --tmpdir=$FLATPAK_BUILDER_BUILDDIR",
"rm -r $FLATPAK_DEST/cuda/nsight-systems-*",
"rm ./cuda.run"
],
"sources": [
{
"type": "file",
"only-arches": [
"x86_64"
],
"url": "https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux.run",
"sha256": "905e9b9516900839fb76064719db752439f38b8cb730b49335d8bd53ddfad392",
"dest-filename": "cuda.run"
},
{
"type": "file",
"only-arches": [
"aarch64"
],
"url": "https://developer.download.nvidia.com/compute/cuda/12.0.0/local_installers/cuda_12.0.0_525.60.13_linux_sbsa.run",
"sha256": "cd13e9c65d4c8f895a968706f46064d536be09f9706bce081cc864b7e4fa4544",
"dest-filename": "cuda.run"
}
]
}

View File

@@ -0,0 +1,26 @@
{
"name": "libevdev",
"buildsystem": "meson",
"config-opts": [
"-Ddocumentation=disabled",
"-Dtests=disabled"
],
"cleanup": [
"/bin"
],
"sources": [
{
"type": "git",
"url": "https://salsa.debian.org/debian/libevdev.git",
"commit": "1aa7baa233d6df4cee6a66fbc61bb5ffc8b6e88d",
"tag": "debian/1.13.0+dfsg-1",
"x-checker-data": {
"type": "git",
"tag-pattern": "^debian\\/(\\d.\\d+\\.\\d+)",
"versions": {
"<": "1.13.1"
}
}
}
]
}

View File

@@ -0,0 +1,26 @@
{
"name": "libnotify",
"buildsystem": "meson",
"config-opts": [
"-Dtests=false",
"-Dintrospection=disabled",
"-Dman=false",
"-Dgtk_doc=false",
"-Ddocbook_docs=disabled"
],
"sources": [
{
"type": "git",
"url": "https://salsa.debian.org/gnome-team/libnotify.git",
"commit": "ccf2f62ef0a4b264dd4eff32cab70a3e213ceb1a",
"tag": "debian/0.8.1-1",
"x-checker-data": {
"type": "git",
"tag-pattern": "^debian\\/(\\d.+)$",
"versions": {
"<": "0.8.2"
}
}
}
]
}

View File

@@ -0,0 +1,25 @@
{
"name": "miniupnpc",
"buildsystem": "cmake-ninja",
"config-opts": [
"-DCMAKE_BUILD_TYPE=Release",
"-DUPNPC_BUILD_SAMPLE=OFF",
"-DUPNPC_BUILD_SHARED=ON",
"-DUPNPC_BUILD_TESTS=OFF"
],
"sources": [
{
"type": "git",
"url": "https://salsa.debian.org/miniupnp-team/miniupnpc.git",
"commit": "c5fe3aa794e92a503cecec6a4071eb6d310b4e42",
"tag": "debian/2.2.4-1",
"x-checker-data": {
"type": "git",
"tag-pattern": "^debian\\/(\\d.+)$",
"versions": {
"<": "2.2.5"
}
}
}
]
}

View File

@@ -0,0 +1,22 @@
{
"name": "numactl",
"buildsystem": "autotools",
"cleanup": [
"/bin"
],
"sources": [
{
"type": "git",
"url": "https://salsa.debian.org/debian/numactl.git",
"commit": "640bb34497702f9aaeb8af1b491f32b91d03ec80",
"tag": "debian/2.0.16-1",
"x-checker-data": {
"type": "git",
"tag-pattern": "^debian\\/(\\d.+)$",
"versions": {
"<": "2.0.17"
}
}
}
]
}