[arch-commits] Commit in qsynth/repos (2 files)

David Runge dvzrv at gemini.archlinux.org
Mon Jul 26 17:51:49 UTC 2021


    Date: Monday, July 26, 2021 @ 17:51:49
  Author: dvzrv
Revision: 985601

archrelease: copy trunk to community-staging-x86_64

Added:
  qsynth/repos/community-staging-x86_64/
  qsynth/repos/community-staging-x86_64/PKGBUILD
    (from rev 985600, qsynth/trunk/PKGBUILD)

----------+
 PKGBUILD |   37 +++++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)

Copied: qsynth/repos/community-staging-x86_64/PKGBUILD (from rev 985600, qsynth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2021-07-26 17:51:49 UTC (rev 985601)
@@ -0,0 +1,37 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Ray Rashif <schiv at archlinux.org>
+# Contributor: damir <damir at archlinux.org>
+
+pkgname=qsynth
+pkgver=0.9.4
+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' 'qt6-base')
+makedepends=('cmake' 'fluidsynth' 'qt6-tools')
+optdepends=('qt6-wayland: for native wayland support')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('764a90fd86451cd3a12c71f061f4a603cdce54ae80e6543d05fa66a97ea0b7c50bac0350f01f597ec93ed445a5433a9dea6d9c5a43ce385c231aaea8e13675d4')
+b2sums=('e25195755c52c63912b03a416878d248712b78ba0014414bc8b1d31cbd5bb75562640de4a0255d2727a40274a6ff3a84b201d39c93674140ff31ccc581bfd254')
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX='/usr' \
+        -DCMAKE_BUILD_TYPE='None' \
+        -DCONFIG_QT6=ON \
+        -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