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

David Runge dvzrv at archlinux.org
Thu Dec 17 20:01:29 UTC 2020


    Date: Thursday, December 17, 2020 @ 20:01:28
  Author: dvzrv
Revision: 777954

upgpkg: qmidictl 0.9.0-1: Upgrade to 0.9.0.

Switch to cmake as build system.

Modified:
  qmidictl/trunk/PKGBUILD

----------+
 PKGBUILD |   23 +++++++++++------------
 1 file changed, 11 insertions(+), 12 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-17 20:01:23 UTC (rev 777953)
+++ PKGBUILD	2020-12-17 20:01:28 UTC (rev 777954)
@@ -1,7 +1,7 @@
 # Maintainer: David Runge <dvzrv at archlinux.org>
 
 pkgname=qmidictl
-pkgver=0.6.3
+pkgver=0.9.0
 pkgrel=1
 pkgdesc="MIDI remote control application sending MIDI data over network using UDP/IP multicast"
 arch=('x86_64')
@@ -9,25 +9,24 @@
 license=('GPL2')
 groups=('pro-audio')
 depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
-makedepends=('qt5-tools')
+makedepends=('cmake' 'qt5-tools')
 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('8414a5d9498cfd4cf9310a2ddfd5bee04cf8bacea2285247ccaf4a62ae37e7d89cb45d025b1fbf742bdaa15bade06464a20b026d0351a6f94edae70cd74a2e48')
-b2sums=('4f6a9e32dd397af219c6f99bb88e5ccee28e0722a872d330c3173acbe881089b0e67447f437787a1772b93ada1592730abf9b668c4b7eef02d52566b7dc9d860')
+sha512sums=('d593cbec08cbf7c773ee43e2b4493cf6c3b52f59a3e9ae8a09931b8df7433630e76477a3574262a2438212c222ab9f7d02d069126ccfa68bb14537907f6d949b')
+b2sums=('47114419ec3940849fcd03c788b8565964e5d47716dd642036b6146db949f6fde156b110a92434a62a55923b08c6a99739e1cd452d362ed6a2c1b45d0ff62e39')
 
-prepare() {
-  cd "$pkgname-$pkgver"
-  autoreconf -vfi
-}
-
 build() {
   cd "$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE='None' \
+        -Wno-dev \
+        -B build \
+        -S .
+  make VERBOSE=1 -C build
 }
 
 package() {
   cd "$pkgname-$pkgver"
-  make DESTDIR="$pkgdir/" install
+  make VERBOSE=1 DESTDIR="$pkgdir" install -C build
   install -vDm 644 {AUTHORS,ChangeLog,README,TODO} \
     -t "${pkgdir}/usr/share/doc/${pkgname}/"
 }



More information about the arch-commits mailing list