blob: c125218e4de0998e1e4e8ce0add94c240556b30a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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/"
}
|