[arch-commits] Commit in luppp/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Apr 13 11:48:17 UTC 2022
Date: Wednesday, April 13, 2022 @ 11:48:17
Author: dvzrv
Revision: 1186039
upgpkg: luppp 1.2.1-3: Rebuild to add all required dependencies.
Remove unneeded quotes and curly braces.
Properly make use of arch-meson.
Add all required dependencies as well as sodeps in package().
Switch to correct license (GPL3).
Add debug package.
Update maintainer info.
Modified:
luppp/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++++++++++++-----------------------
1 file changed, 16 insertions(+), 23 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-13 09:36:55 UTC (rev 1186038)
+++ PKGBUILD 2022-04-13 11:48:17 UTC (rev 1186039)
@@ -1,37 +1,30 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
pkgname=luppp
pkgver=1.2.1
-pkgrel=2
+pkgrel=3
pkgdesc="A music creation tool, intended for live use"
-arch=('x86_64')
+arch=(x86_64)
url="http://openavproductions.com/luppp/"
-license=('GPL2')
-groups=('pro-audio')
-depends=('jack' 'liblo' 'ntk')
-makedepends=('meson')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/openAVproductions/openAV-${pkgname}/archive/release-${pkgver}.tar.gz")
+license=(GPL3)
+groups=(pro-audio)
+depends=(cairo gcc-libs glibc jack liblo libsamplerate libsndfile ntk)
+makedepends=(meson)
+options=(debug)
+source=($pkgname-$pkgver.tar.gz::https://github.com/openAVproductions/openAV-$pkgname/archive/release-$pkgver.tar.gz)
sha512sums=('8a0dc5688f7bc1868aca02205408cf31d380c0e230d8eae703e23c4f888f4a2738ba48540aec3940112ece576da59882036f3057fb04793af72add2ce04fb01f')
+b2sums=('c9146674b11be5bc6211d2794c1af7c1a11aa966edb9e8a5bcffc390eff31bc7ddef2ef590c0455de9769a228d423bbc00fcf91bbf3dca9d71b6fd9d2feb7039')
-prepare() {
- mv -v "openAV-Luppp-release-${pkgver}" "$pkgname-$pkgver"
-}
-
build() {
- cd "$pkgname-$pkgver"
- arch-meson --prefix=/usr \
- --libdir=lib \
- --buildtype=release \
- build
+ arch-meson build openAV-Luppp-release-$pkgver
ninja -C build
}
package() {
- cd "$pkgname-$pkgver"
- DESTDIR="${pkgdir}" meson install -C build
+ depends+=(libjack.so liblo.so libntk.so libsamplerate.so libsndfile.so)
+ DESTDIR="$pkgdir" meson install -C build
#docs
- install -vDm 644 {CHANGELOG,README.md} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 openAV-Luppp-release-$pkgver/{CHANGELOG,README.md} -t "$pkgdir/usr/share/doc/$pkgname/"
# controllers
- install -vDm 644 "resources/controllers/"*.ctlr \
- -t "${pkgdir}/usr/share/${pkgname}/"
+ install -vDm 644 openAV-Luppp-release-$pkgver/resources/controllers/*.ctlr -t "$pkgdir/usr/share/$pkgname/"
}
More information about the arch-commits
mailing list