[arch-commits] Commit in qsampler/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Dec 17 20:12:47 UTC 2020
Date: Thursday, December 17, 2020 @ 20:12:46
Author: dvzrv
Revision: 777977
upgpkg: qsampler 0.9.0-1: Upgrade to 0.9.0.
Switch to cmake as build system.
Modified:
qsampler/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-12-17 20:12:39 UTC (rev 777976)
+++ PKGBUILD 2020-12-17 20:12:46 UTC (rev 777977)
@@ -4,7 +4,7 @@
# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
pkgname=qsampler
-pkgver=0.6.3
+pkgver=0.9.0
pkgrel=1
pkgdesc="A LinuxSampler Qt GUI Interface"
arch=('x86_64')
@@ -12,26 +12,25 @@
license=('GPL2')
groups=('pro-audio')
depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'linuxsampler' 'qt5-base')
-makedepends=('libgig' 'liblscp' 'qt5-tools')
+makedepends=('cmake' 'libgig' 'liblscp' 'qt5-tools')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('55fe16d5cfe0245cfedb228d448235997160471343191cf204347bb13c260be747a06fce2344b36a60c5877f89b32b0f4ac4861ed8a3d555d4cc798f21f5e1ae')
-b2sums=('a4ef67014578b4eb7b6f6e7b5da94b04253a40bed0cc413acfde62f4660d2e1d3485d301637d1871e7f20dcdac34ea81511738a4455f8690f40460d7ea4db72b')
+sha512sums=('bc813fac9ff64604dd038764a69d9257e1b1873729f7e3a8a8130ed656325bddf173f2d851dbb218fc165176df5c3732c716985c852af95f25bbb594112a47d4')
+b2sums=('c607f8556aa6c7f2e92e0252f27c74df607b816727ae52095ef671e8cd21dbb1ae740ead8ba232838bc354426db9778e30f639f68230c3be2ee8618f6b8951b0')
-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() {
depends+=('libgig.so' 'liblscp.so')
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