Date: Saturday, March 25, 2023 @ 18:21:41
  Author: dvzrv
Revision: 1427952

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   89 ++++++++++++++++++++++++++++++++++++-------------------------
 1 file changed, 53 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-03-25 18:21:24 UTC (rev 1427951)
+++ PKGBUILD    2023-03-25 18:21:41 UTC (rev 1427952)
@@ -1,36 +0,0 @@
-# Maintainer: David Runge <[email protected]>
-# Contributor: Ray Rashif <[email protected]>
-# Contributor: damir <[email protected]>
-
-pkgname=qsynth
-pkgver=0.9.9
-pkgrel=1
-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 qt6-svg)
-makedepends=(cmake fluidsynth qt6-tools)
-optdepends=('qt6-wayland: for native wayland support')
-options=(debug)
-source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
-sha512sums=('79a3085a884b3bd3251ad059b8ab67eb3329f2e6b25df5dfa6d210d7d313000b52ccdfd8b9f18aa49bdc9db2a5cd1738f05c529cb4673bd579b4ba987b1edff6')
-b2sums=('efc22bc509445e1948d7dd28de8e6c6281967964dcf54e688a8830280945b37c51c70e0a64596bff2a7a12ccfcbaa3fd65d9465b11dc7abe2cca060cce6e3997')
-
-build() {
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=None \
-        -DCONFIG_QT6=ON \
-        -Wno-dev \
-        -B build \
-        -S $pkgname-$pkgver
-  make VERBOSE=1 -C build
-}
-
-package() {
-  depends+=(libfluidsynth.so)
-
-  make VERBOSE=1 DESTDIR="$pkgdir" install -C build
-  install -vDm 644 $pkgname-$pkgver/{ChangeLog,README,TRANSLATORS} -t 
"$pkgdir/usr/share/doc/$pkgname"
-}

Copied: qsynth/repos/community-x86_64/PKGBUILD (from rev 1427951, 
qsynth/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-03-25 18:21:41 UTC (rev 1427952)
@@ -0,0 +1,53 @@
+# Maintainer: David Runge <[email protected]>
+# Contributor: Ray Rashif <[email protected]>
+# Contributor: damir <[email protected]>
+
+pkgname=qsynth
+pkgver=0.9.10
+pkgrel=1
+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
+  qt6-svg
+)
+makedepends=(
+  cmake
+  fluidsynth
+  qt6-tools
+)
+optdepends=(
+  'qt6-wayland: for native wayland support'
+)
+source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz)
+sha512sums=('82e04ccfe3193d570e28c4e5da3e9ea8afbc2b1f2e43f54459449b31ee5448a6232a5fe13631eed80a5cf75f4176e5a419ec6467bf3d7d5e30d34083d4d8f7aa')
+b2sums=('87ca02e1f15a7b28f5af462d1ef52e9609fc0abc3d15d545493f448da61d85d8d264f5ab908816607de3291424b979348f330205fc6e727edb7287fd28e9067d')
+
+build() {
+  local cmake_options=(
+    -B build
+    -D CMAKE_BUILD_TYPE=None
+    -D CMAKE_INSTALL_PREFIX=/usr
+    -D CONFIG_QT6=ON
+    -S $pkgname-$pkgver
+    -W no-dev
+  )
+
+  cmake "${cmake_options[@]}"
+  cmake --build build --verbose
+}
+
+package() {
+  depends+=(
+    fluidsynth libfluidsynth.so
+  )
+
+  DESTDIR="$pkgdir" cmake --install build
+  install -vDm 644 $pkgname-$pkgver/{ChangeLog,README,TRANSLATORS} -t 
"$pkgdir/usr/share/doc/$pkgname"
+}

Reply via email to