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

David Runge dvzrv at archlinux.org
Thu Jun 18 21:00:09 UTC 2020


    Date: Thursday, June 18, 2020 @ 21:00:07
  Author: dvzrv
Revision: 647574

upgpkg: qastools 0.23.0-1: Upgrading to 0.23.0.

Adding all available sodeps in package() and moving respective packages to makedepends.
Applying latest cmake packaging guidelines.

Modified:
  qastools/trunk/PKGBUILD

----------+
 PKGBUILD |   31 ++++++++++++++-----------------
 1 file changed, 14 insertions(+), 17 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-18 20:38:12 UTC (rev 647573)
+++ PKGBUILD	2020-06-18 21:00:07 UTC (rev 647574)
@@ -1,8 +1,8 @@
-# Maintainer: David Runge <dave at sleepmap.de>
+# Maintainer: David Runge <dvzrv at archlinux.org>
 # Contributor: Esclapion <esclapion at gmail.com>
 
 pkgname=qastools
-pkgver=0.22.0
+pkgver=0.23.0
 pkgrel=1
 pkgdesc="A collection of desktop applications for the Linux sound system ALSA."
 arch=('x86_64')
@@ -9,33 +9,30 @@
 url="https://gitlab.com/sebholt/qastools"
 license=('GPL3')
 groups=('pro-audio')
-depends=('alsa-lib' 'gcc-libs' 'glibc' 'hicolor-icon-theme' 'libudev.so'
-'qt5-base' 'qt5-svg')
-makedepends=('cmake' 'qt5-tools')
+depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base'
+'qt5-svg')
+makedepends=('alsa-lib' 'cmake' 'qt5-tools' 'systemd-libs')
 source=("https://gitlab.com/sebholt/${pkgname}/-/archive/v${pkgver}/qastools-v${pkgver}.tar.gz")
-sha512sums=('9656960095520a1bee58efa3985dda30fae1b6be666dfd65b50cb582be21a40d273a1c06b69e870bc2b467f5d644b22ea30c2fd73eee9057b50de5e85864d712')
+sha512sums=('79042a41a0ad37097d297175b899af73052953b7ae14058a1878e3145769db839b8bd4350bd36646d8436a3e8b37b64da7b3004bee3c7c7780d46a942af1d3b9')
 
 prepare() {
   mv -v "${pkgname}-v${pkgver}" "${pkgname}-${pkgver}"
-  cd "${pkgname}-${pkgver}"
-  mkdir -vp build
 }
 
 build() {
   cd "${pkgname}-${pkgver}"
-  (
-    cd build
-    cmake -DCMAKE_INSTALL_PREFIX='/usr' \
-          -DCMAKE_BUILD_TYPE=Release \
-          -DUSE_QT5=ON \
-          ..
-  )
-  make -C build
+  cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+        -DCMAKE_BUILD_TYPE='None'\
+        -Wno-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
 }
 
 package() {
+  depends+=('libasound.so' 'libudev.so')
   cd "${pkgname}-${pkgver}"
-  make -C build DESTDIR="${pkgdir}/" install
+  make -C build VERBOSE=1 DESTDIR="${pkgdir}/" install
   install -vDm 644 {CHANGELOG,README.md,TODO} \
     -t "${pkgdir}/usr/share/doc/${pkgname}"
 }



More information about the arch-commits mailing list