[arch-commits] Commit in qsynth/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Sun Sep 13 13:12:31 UTC 2020
Date: Sunday, September 13, 2020 @ 13:12:30
Author: dvzrv
Revision: 705122
upgpkg: qsynth 0.6.3-2: Rebuild to switch to cmake.
Update upstream url (FS#67694).
Use cmake instead of autotools (fixes the french man page location).
Modified:
qsynth/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++-----------
1 file changed, 10 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-09-13 13:04:39 UTC (rev 705121)
+++ PKGBUILD 2020-09-13 13:12:30 UTC (rev 705122)
@@ -4,33 +4,32 @@
pkgname=qsynth
pkgver=0.6.3
-pkgrel=1
+pkgrel=2
pkgdesc="Qt GUI for FluidSynth"
arch=('x86_64')
-url="https://qsynth.sourceforge.net/"
+url="https://qsynth.sourceforge.io/"
license=('GPL')
groups=('pro-audio')
depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
-makedepends=('fluidsynth' 'qt5-tools')
+makedepends=('cmake' 'fluidsynth' 'qt5-tools')
source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
sha512sums=('7320a355b5fbb347b04b46fdfe86c13ab18b264cff09f2ed133e2b065febac27e58bd709eea284b4d0f98034059647ad6e9b97638fdd75edb1524fd3cf9f07a2')
b2sums=('37565c86b077602cd681b92aaea20d4aa07db1c4cf51d391562b5226ddde70dad0a3f641f0fcf54f35c6bb1a9e487a779c22237b0c8087666b7a2c1dea8a511e')
-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+=('libfluidsynth.so')
cd "${pkgname}-${pkgver}"
- make DESTDIR="$pkgdir" install
+ make VERBOSE=1 DESTDIR="$pkgdir/" install -C build
install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-vDm 644 {AUTHORS,ChangeLog,README,TODO,TRANSLATORS}
}
More information about the arch-commits
mailing list