summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTérence Clastres2021-02-06 14:15:38 +0100
committerTérence Clastres2021-02-06 14:15:38 +0100
commit538109df3cbcdb8a244035e88be636a04ce06d04 (patch)
tree8502cd74dc32f83c3ad825077bb45ff652f1d128
parent71bb83c491ff11dc1f207f43a4cf21ccc816d3ca (diff)
downloadaur-538109df3cbcdb8a244035e88be636a04ce06d04.tar.gz
Update to 0.4
-rw-r--r--.SRCINFO14
-rw-r--r--PKGBUILD35
2 files changed, 34 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f369dabde33..94202c59332 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = jack-audio-tools
pkgdesc = A collection of utilities and tools for the JACK audio ecosystem.
- pkgver = 0.3.2
+ pkgver = 0.4.0
pkgrel = 1
url = https://github.com/SpotlightKid/jack-audio-tools
arch = any
@@ -8,17 +8,18 @@ pkgbase = jack-audio-tools
makedepends = python-setuptools
makedepends = lv2
makedepends = python-rtmidi
+ makedepends = python-dbus
+ makedepends = python-gobject
depends = jack
depends = lilv
depends = python-rdflib
- source = https://files.pythonhosted.org/packages/source/j/jack-audio-tools/jack-audio-tools-0.3.2.tar.gz
- sha256sums = 288de54dd783d4f37ebe754910166318f7efe9ac90ce2e41564ff366236526ec
+ source = https://files.pythonhosted.org/packages/source/j/jack-audio-tools/jack-audio-tools-0.4.0.tar.gz
+ sha256sums = 95d6c255c797dd256bccde99b25f5fbb5075627059198188d0b4ef78871ed932
pkgname = jack-audio-tools-common
pkgname = jack-audio-tools-transport
depends = jack-audio-tools-common
- depends = jack
depends = python-rtmidi
depends = python-jack-client
@@ -32,3 +33,8 @@ pkgname = jack-audio-tools-carla
depends = carla
depends = python-rdflib
+pkgname = jack-audio-tools-dbus
+ depends = jack-audio-tools-common
+ depends = python-dbus
+ depends = python-gobject
+
diff --git a/PKGBUILD b/PKGBUILD
index 2cf0b767fdc..ec861c82464 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,23 +1,22 @@
# Maintainer: Térence Clastres <t dot clastres at gmail dot com>
pkgbase=jack-audio-tools
-pkgname=("$pkgbase-common" "$pkgbase-transport" "$pkgbase-lv2" "$pkgbase-carla")
-pkgver=0.3.2
+pkgname=("$pkgbase-common" "$pkgbase-transport" "$pkgbase-lv2" "$pkgbase-carla" "$pkgbase-dbus")
+pkgver=0.4.0
pkgrel=1
pkgdesc="A collection of utilities and tools for the JACK audio ecosystem."
arch=('any')
url="https://github.com/SpotlightKid/jack-audio-tools"
license=('MIT')
-makedepends=('python-setuptools' 'lv2' 'python-rtmidi')
+makedepends=('python-setuptools' 'lv2' 'python-rtmidi' 'python-dbus' 'python-gobject')
depends=('jack' 'lilv' 'python-rdflib')
source=("https://files.pythonhosted.org/packages/source/${pkgbase::1}/$pkgbase/$pkgbase-$pkgver.tar.gz")
-sha256sums=('288de54dd783d4f37ebe754910166318f7efe9ac90ce2e41564ff366236526ec')
+sha256sums=('95d6c255c797dd256bccde99b25f5fbb5075627059198188d0b4ef78871ed932')
build() {
cd "$pkgbase-$pkgver"
python setup.py build
-
}
package_jack-audio-tools-common() {
@@ -29,11 +28,11 @@ package_jack-audio-tools-common() {
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
rm $pkgdir/usr/bin/{lv2*,carxp2lv2presets,jack*}
- rm -r $pkgdir$site_packages/${pkgbase//-/}/{carla,lv2,transport}
+ rm -r $pkgdir$site_packages/${pkgbase//-/}/{carla,lv2,transport,jackdbus}
}
package_jack-audio-tools-transport() {
- depends=('jack-audio-tools-common' 'jack' 'python-rtmidi' 'python-jack-client')
+ depends=('jack-audio-tools-common' 'python-rtmidi' 'python-jack-client')
cd "$pkgbase-$pkgver"
@@ -41,8 +40,8 @@ package_jack-audio-tools-transport() {
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
- rm $pkgdir/usr/bin/{lv2*,carxp2lv2presets}
- rm -r $pkgdir$site_packages/${pkgbase//-/}/{carla,lv2}
+ rm $pkgdir/usr/bin/{jack-dbus*,lv2*,carxp2lv2presets}
+ rm -r $pkgdir$site_packages/${pkgbase//-/}/{carla,lv2,jackdbus}
rm -r $pkgdir$site_packages/${pkgbase//-/_}*
}
@@ -56,7 +55,7 @@ package_jack-audio-tools-lv2() {
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
rm $pkgdir/usr/bin/{jack*,carxp2lv2presets}
- rm -r $pkgdir$site_packages/${pkgbase//-/}/{carla,transport}
+ rm -r $pkgdir$site_packages/${pkgbase//-/}/{carla,transport,jackdbus}
rm -r $pkgdir$site_packages/${pkgbase//-/_}*
}
@@ -70,6 +69,20 @@ package_jack-audio-tools-carla() {
local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
rm $pkgdir/usr/bin/{jack*,lv2*}
- rm -r $pkgdir$site_packages/${pkgbase//-/}/{transport,lv2}
+ rm -r $pkgdir$site_packages/${pkgbase//-/}/{transport,lv2,jackdbus}
+ rm -r $pkgdir$site_packages/${pkgbase//-/_}*
+}
+
+package_jack-audio-tools-dbus() {
+ depends=('jack-audio-tools-common' 'python-dbus' 'python-gobject' )
+
+ cd "$pkgbase-$pkgver"
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ local site_packages=$(python -c "import site; print(site.getsitepackages()[0])")
+
+ rm $pkgdir/usr/bin/{*transport*,jack-timebase-master,lv2*,carxp2lv2presets}
+ rm -r $pkgdir$site_packages/${pkgbase//-/}/{transport,lv2,carla}
rm -r $pkgdir$site_packages/${pkgbase//-/_}*
}