[arch-commits] Commit in jacktrip/trunk (PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Wed Nov 3 21:42:36 UTC 2021
Date: Wednesday, November 3, 2021 @ 21:42:35
Author: dvzrv
Revision: 1035699
upgpkg: jacktrip 1.4.0-1: Upgrade to 1.4.0.
Remove useless build file.
Switch to meson as build system (yay).
Modified:
jacktrip/trunk/PKGBUILD
----------+
PKGBUILD | 38 ++++++++++++++++++++++++--------------
1 file changed, 24 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 21:40:59 UTC (rev 1035698)
+++ PKGBUILD 2021-11-03 21:42:35 UTC (rev 1035699)
@@ -1,32 +1,42 @@
# Maintainer: David Runge <dvzrv at archlinux.org>
pkgname=jacktrip
-pkgver=1.3.0
+pkgver=1.4.0
pkgrel=1
pkgdesc="Multi-machine audio network performance over the Internet"
arch=('x86_64')
url="https://github.com/jacktrip/jacktrip"
-license=('MIT')
+license=('LGPL3' 'GPL3' 'MIT')
groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'qt5-base')
-makedepends=('jack')
+depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
+makedepends=('help2man' 'meson' 'jack')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/${pkgname}/${pkgname}/archive/v${pkgver}.tar.gz")
-sha512sums=('050203521a53a8f944a5365c4f6106ae6db37dd2a8dc0fd74edd98cc6d5306efde2c29bce2bb22a6abcca14e44545abe32c2d4066774ca8bc71e5848c1409d9a')
-b2sums=('2ca3f7bdf3fc808dd7919e77e2c25bfc287e576dc05d20e5a070057cd6498f33351fe83c32200d5ef9eec202954bde4b53c02265f4cc9405a27540c336e88fcd')
+sha512sums=('6885b35eb3707779f494cf515ee2bac1ba4d6bbfa7358022d75f9d0147c9fda0d349691b839d9084a2a3106dceeeb492549ea92274a8c67b9f34524048215cc6')
+b2sums=('13451d0624362c12fb9c72954546d8857bd4b9fafc6efb1ebf48e2688fd19ae8bd6062e32b7a062a2effd716133019aff0c9fb1ac063d67c886e6f00ce106b69')
+prepare() {
+ cd "${pkgname}-${pkgver}"
+ rm -fv build
+}
+
build() {
- cd "${pkgname}-${pkgver}/src"
- qmake-qt5 -spec linux-g++ "${pkgname}.pro"
- make release
+ cd "${pkgname}-${pkgver}"
+ arch-meson -Drtaudio=disabled build
+ ninja -C build
}
+check() {
+ cd "${pkgname}-${pkgver}"
+ ninja -C build test
+}
package() {
depends+=('libjack.so')
+
cd "${pkgname}-${pkgver}"
- install -vDm 755 "src/${pkgname}" -t "${pkgdir}/usr/bin/"
- # license
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ DESTDIR="${pkgdir}" meson install -C build
+
+ # licenses
+ install -vDm 644 LICENSE.md LICENSES/MIT.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
# docs
- install -vDm 644 {CHANGESLOG.txt,README.md,TODO.txt} \
- -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 README.md -t "${pkgdir}/usr/share/doc/${pkgname}"
}
More information about the arch-commits
mailing list