[arch-commits] Commit in qsynth/repos/community-x86_64 (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sun Sep 13 13:12:38 UTC 2020


    Date: Sunday, September 13, 2020 @ 13:12:38
  Author: dvzrv
Revision: 705123

archrelease: copy trunk to community-x86_64

Added:
  qsynth/repos/community-x86_64/PKGBUILD
    (from rev 705122, qsynth/trunk/PKGBUILD)
Deleted:
  qsynth/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   71 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 35 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-13 13:12:30 UTC (rev 705122)
+++ PKGBUILD	2020-09-13 13:12:38 UTC (rev 705123)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Ray Rashif <schiv at archlinux.org>
-# Contributor: damir <damir at archlinux.org>
-
-pkgname=qsynth
-pkgver=0.6.3
-pkgrel=1
-pkgdesc="Qt GUI for FluidSynth"
-arch=('x86_64')
-url="https://qsynth.sourceforge.net/"
-license=('GPL')
-groups=('pro-audio')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
-makedepends=('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
-}
-
-package() {
-  depends+=('libfluidsynth.so')
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="$pkgdir" install
-  install -t "${pkgdir}/usr/share/doc/${pkgname}" \
-    -vDm 644 {AUTHORS,ChangeLog,README,TODO,TRANSLATORS}
-}

Copied: qsynth/repos/community-x86_64/PKGBUILD (from rev 705122, qsynth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-13 13:12:38 UTC (rev 705123)
@@ -0,0 +1,35 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=qsynth
+pkgver=0.6.3
+pkgrel=2
+pkgdesc="Qt GUI for FluidSynth"
+arch=('x86_64')
+url="https://qsynth.sourceforge.io/"
+license=('GPL')
+groups=('pro-audio')
+depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
+makedepends=('cmake' 'fluidsynth' 'qt5-tools')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('7320a355b5fbb347b04b46fdfe86c13ab18b264cff09f2ed133e2b065febac27e58bd709eea284b4d0f98034059647ad6e9b97638fdd75edb1524fd3cf9f07a2')
+b2sums=('37565c86b077602cd681b92aaea20d4aa07db1c4cf51d391562b5226ddde70dad0a3f641f0fcf54f35c6bb1a9e487a779c22237b0c8087666b7a2c1dea8a511e')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  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 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