diff options
author | Fazzi | 2024-05-23 17:11:42 +0100 |
---|---|---|
committer | Fazzi | 2024-05-23 17:11:42 +0100 |
commit | fcc0cca32e1577841618a50ca46a1193cbbf59c0 (patch) | |
tree | 7d0aa1c57d0d52f8e1ed3945500872e846d4b67b | |
download | aur-fcc0cca32e1577841618a50ca46a1193cbbf59c0.tar.gz |
initial commit
-rw-r--r-- | .SRCINFO | 31 | ||||
-rw-r--r-- | .gitignore | 7 | ||||
-rw-r--r-- | PKGBUILD | 63 |
3 files changed, 101 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1e5148ae4cf0 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,31 @@ +pkgbase = jamesdsp-headless-git + pkgdesc = An audio effect processor for PipeWire clients - headless version (git) + pkgver = 2.7.0.r0.g30a30aa + pkgrel = 1 + url = https://github.com/Audio4Linux/JDSP4Linux + arch = x86_64 + license = GPL-3.0-or-later + makedepends = git + depends = glibmm + depends = hicolor-icon-theme + depends = libarchive + depends = libpipewire + depends = qt6-svg + provides = jamesdsp + conflicts = jdsp4linux + conflicts = jdsp4linux-gui + conflicts = gst-plugin-jamesdsp + options = !strip + options = debug + source = git+https://github.com/Audio4Linux/JDSP4Linux.git + source = git+https://github.com/ThePBone/GraphicEQWidget.git + source = git+https://github.com/ThePBone/FlatTabWidget.git + source = git+https://github.com/ThePBone/LiquidEqualizerWidget.git + source = git+https://github.com/ThePBone/LiveprogIDE.git + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + sha256sums = SKIP + +pkgname = jamesdsp-headless-git diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..4dab8d6386e3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,7 @@ +# Ignore everything +* + +# But not these files... +!.gitignore +!PKGBUILD +!.SRCINFO diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..c125218e4de0 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,63 @@ +# Headless Maintainer: Fazzi <faaris.ansari@proton.me> +# Maintainer: Mark Wagie <mark dot wagie at proton dot me> +pkgname=jamesdsp-headless-git +_app_id=me.timschneeberger.jdsp4linux +pkgver=2.7.0.r16.g6b35b75 +pkgrel=1 +pkgdesc="An audio effect processor for PipeWire clients - headless version (git)" +arch=('x86_64') +url="https://github.com/Audio4Linux/JDSP4Linux" +license=('GPL-3.0-or-later') +depends=('glibmm' 'hicolor-icon-theme' 'libarchive' 'libpipewire' 'qt6-svg') +makedepends=('git') +provides=('jamesdsp') +conflicts=('jdsp4linux' 'jdsp4linux-gui' 'gst-plugin-jamesdsp') +options=('!strip' 'debug') +source=('git+https://github.com/Audio4Linux/JDSP4Linux.git' + 'git+https://github.com/ThePBone/GraphicEQWidget.git' + 'git+https://github.com/ThePBone/FlatTabWidget.git' + 'git+https://github.com/ThePBone/LiquidEqualizerWidget.git' + 'git+https://github.com/ThePBone/LiveprogIDE.git') +sha256sums=('SKIP' + 'SKIP' + 'SKIP' + 'SKIP' + 'SKIP') + +pkgver() { + cd JDSP4Linux + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd JDSP4Linux + git submodule init + for submodule in GraphicEQWidget FlatTabWidget LiquidEqualizerWidget LiveprogIDE; do + git config submodule.src/subprojects/"${submodule}".url "$srcdir/${submodule}" + done + git -c protocol.file.allow=always submodule update + + mkdir -p build + +} + +build() { + cd JDSP4Linux + + pushd build + qmake6 .. CONFIG+=HEADLESS + make + strip --strip-unneeded src/jamesdsp + popd +} + +package() { + cd JDSP4Linux + install -Dm755 build/src/jamesdsp -t "$pkgdir/usr/bin/" + install -Dm644 resources/icons/icon.png \ + "$pkgdir/usr/share/pixmaps/${_app_id}.png" + install -Dm644 resources/icons/icon.svg \ + "$pkgdir/usr/share/icons/hicolor/scalable/apps/${_app_id}.svg" + install -Dm644 "meta/flatpak/${_app_id}.metainfo.xml" -t \ + "$pkgdir/usr/share/metainfo/" +} |