[arch-commits] Commit in jacktrip/trunk (PKGBUILD)

David Runge dvzrv at archlinux.org
Thu May 21 15:14:27 UTC 2020


    Date: Thursday, May 21, 2020 @ 15:14:27
  Author: dvzrv
Revision: 631245

upgpkg: jacktrip 1.1-6: Rebuilding for reproducibility.

Updating url to current upstream location (moved to organization on github).
Adding all available sodeps in package() and adding the respective packages to makedepends.
Adding ticket about splitting out of custom license and providing a LICENSE file instead.
Removing doxygen generated documentation. Updating maintainer info.

Modified:
  jacktrip/trunk/PKGBUILD

----------+
 PKGBUILD |   36 ++++++++++++++++--------------------
 1 file changed, 16 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-21 14:47:25 UTC (rev 631244)
+++ PKGBUILD	2020-05-21 15:14:27 UTC (rev 631245)
@@ -1,15 +1,16 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
 pkgname=jacktrip
 pkgver=1.1
-pkgrel=5
-pkgdesc="Tool to manage and tune JACK settings for optimum performance between networked machines."
+pkgrel=6
+pkgdesc="Multi-machine audio network performance over the Internet"
 arch=('x86_64')
-url="https://github.com/jcacerec/jacktrip"
+url="https://github.com/jacktrip/jacktrip"
 license=('MIT')
 groups=('pro-audio')
-depends=('jack' 'qt5-base')
-makedepends=('doxygen' 'qt5-base')
-source=("https://github.com/jcacerec/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
+depends=('glibc' 'qt5-base')
+makedepends=('alsa-lib' 'jack')
+source=("https://github.com/${pkgname}/${pkgname}/archive/${pkgname}-${pkgver}.tar.gz")
 sha512sums=('4c6b99deb424910348a3a0b8621dba4abfcbdf1a93b3d2a63fe8098113dffc03c472ab536de6c58e9202cd25823af7ebde4ab818e5a74bedcf8b353417dfda91')
 
 prepare() {
@@ -16,29 +17,24 @@
   mv -v "${pkgname}-${pkgname}-${pkgver}/${pkgname}" "${pkgname}-${pkgver}"
   mv -v "${pkgname}-${pkgname}-${pkgver}/README.md" "${pkgname}-${pkgver}/README.md"
   cd "${pkgname}-${pkgver}"
-  # split out custom license
-  sed -n '1,30p' documentation/documentation.cpp > LICENSE 
+  # split out custom license:
+  # https://github.com/jacktrip/jacktrip/issues/57
+  sed -n '1,30p' documentation/documentation.cpp > LICENSE
 }
 
 build() {
   cd "${pkgname}-${pkgver}/src"
   qmake-qt5 -spec linux-g++ jacktrip.pro
-  make clean
-  qmake-qt5 -spec linux-g++ jacktrip.pro
   make release
-  cd ..
-  doxygen "${pkgname}_doxygen"
 }
 
 package() {
+  depends+=('libasound.so' 'libjack.so')
   cd "${pkgname}-${pkgver}"
-  install -vDm755 src/${pkgname} "${pkgdir}/usr/bin/${pkgname}"
+  install -vDm 755 "src/${pkgname}" -t "${pkgdir}/usr/bin/"
   # license
-  install -vDm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
   # docs
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm644 {CHANGESLOG.txt,README.md,TODO.txt}
-  # html
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/html" \
-    -vDm644 WWW/html/*
+  install -vDm 644 {CHANGESLOG.txt,README.md,TODO.txt} \
+    -t "${pkgdir}/usr/share/doc/${pkgname}"
 }


More information about the arch-commits mailing list