diff options
author | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> | 2023-04-14 12:38:09 +0200 |
---|---|---|
committer | IOhannes m zmölnig (Debian/GNU) <umlaeute@debian.org> | 2023-04-14 12:38:09 +0200 |
commit | c1c7af321c8b50bc42d4f66ed6ab4527337e4771 (patch) | |
tree | 0cff04a4894825856e7d48ceb3e5d39a44a18484 /build-aux | |
parent | 172ad211e847bf8d789709343ddef3e3d9314389 (diff) |
New upstream version 1.8.1+ds
Diffstat (limited to 'build-aux')
-rw-r--r-- | build-aux/flatpak/org.jacktrip.JackTrip.json | 36 | ||||
-rw-r--r-- | build-aux/flatpak/pypi-dependencies.json | 40 | ||||
-rw-r--r-- | build-aux/flatpak/requirements.txt | 2 | ||||
-rwxr-xr-x | build-aux/flatpak/update_pip_deps.sh | 3 |
4 files changed, 81 insertions, 0 deletions
diff --git a/build-aux/flatpak/org.jacktrip.JackTrip.json b/build-aux/flatpak/org.jacktrip.JackTrip.json new file mode 100644 index 0000000..64c2f1c --- /dev/null +++ b/build-aux/flatpak/org.jacktrip.JackTrip.json @@ -0,0 +1,36 @@ +{ + "app-id": "org.jacktrip.JackTrip", + "runtime": "org.kde.Platform", + "runtime-version": "5.15-22.08", + "sdk": "org.kde.Sdk", + "command": "jacktrip", + "finish-args": [ + "--share=ipc", + "--socket=x11", + "--device=dri", + "--share=network", + "--filesystem=xdg-run/pipewire-0", + "--env=PIPEWIRE_LATENCY=256/48000" + ], + "cleanup": [ + "/lib/python3.10", + "/share/man" + ], + "modules": [ + "pypi-dependencies.json", + { + "name": "jacktrip", + "buildsystem": "meson", + "config-opts": [ + "-Dbuildtype=debugoptimized" + ], + "sources": [ + { + "type": "git", + "disable-submodules": true, + "url": "https://github.com/jacktrip/jacktrip/" + } + ] + } + ] +}
\ No newline at end of file diff --git a/build-aux/flatpak/pypi-dependencies.json b/build-aux/flatpak/pypi-dependencies.json new file mode 100644 index 0000000..e148c9d --- /dev/null +++ b/build-aux/flatpak/pypi-dependencies.json @@ -0,0 +1,40 @@ +{ + "name": "pypi-dependencies", + "buildsystem": "simple", + "build-commands": [], + "modules": [ + { + "name": "python3-pyyaml", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"pyyaml\" --no-build-isolation" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/36/2b/61d51a2c4f25ef062ae3f74576b01638bebad5e045f747ff12643df63844/PyYAML-6.0.tar.gz", + "sha256": "68fb519c14306fec9720a2a5b45bc9f0c8d1b9c72adf45c37baedfcd949c35a2" + } + ] + }, + { + "name": "python3-jinja2", + "buildsystem": "simple", + "build-commands": [ + "pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"jinja2\" --no-build-isolation" + ], + "sources": [ + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/bc/c3/f068337a370801f372f2f8f6bad74a5c140f6fda3d9de154052708dd3c65/Jinja2-3.1.2-py3-none-any.whl", + "sha256": "6088930bfe239f0e6710546ab9c19c9ef35e29792895fed6e6e31a023a182a61" + }, + { + "type": "file", + "url": "https://files.pythonhosted.org/packages/95/7e/68018b70268fb4a2a605e2be44ab7b4dd7ce7808adae6c5ef32e34f4b55a/MarkupSafe-2.1.2.tar.gz", + "sha256": "abcabc8c2b26036d62d4c746381a6f7cf60aafcc653198ad678306986b09450d" + } + ] + } + ] +}
\ No newline at end of file diff --git a/build-aux/flatpak/requirements.txt b/build-aux/flatpak/requirements.txt new file mode 100644 index 0000000..33afd92 --- /dev/null +++ b/build-aux/flatpak/requirements.txt @@ -0,0 +1,2 @@ +pyyaml +jinja2 diff --git a/build-aux/flatpak/update_pip_deps.sh b/build-aux/flatpak/update_pip_deps.sh new file mode 100755 index 0000000..b67a299 --- /dev/null +++ b/build-aux/flatpak/update_pip_deps.sh @@ -0,0 +1,3 @@ +#!/bin/bash +# https://github.com/flatpak/flatpak-builder-tools/tree/master/pip +flatpak-pip-generator --runtime='org.freedesktop.Sdk//22.08' --requirements-file='requirements.txt' --output pypi-dependencies
\ No newline at end of file |