Date: Monday, September 2, 2019 @ 15:54:21
  Author: dvzrv
Revision: 507045

archrelease: copy trunk to community-x86_64

Added:
  drumstick/repos/community-x86_64/PKGBUILD
    (from rev 507044, drumstick/trunk/PKGBUILD)
Deleted:
  drumstick/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   75 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 41 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2019-09-02 15:54:17 UTC (rev 507044)
+++ PKGBUILD    2019-09-02 15:54:21 UTC (rev 507045)
@@ -1,34 +0,0 @@
-# Maintainer: David Runge <d...@sleepmap.de>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: Dany Martineau <dany.luc.martin...@gmail.com>
-
-pkgname=drumstick
-pkgver=1.1.3
-pkgrel=1
-pkgdesc="MIDI libraries for Qt5/C++"
-arch=('x86_64')
-url="http://drumstick.sourceforge.net/";
-license=('GPL2')
-depends=('desktop-file-utils' 'hicolor-icon-theme' 'libpulse' 'qt5-svg')
-makedepends=('cmake' 'doxygen' 'docbook-xsl')
-provides=('libdrumstick-rt-alsa-in.so' 'libdrumstick-rt-alsa-out.so'
-'libdrumstick-rt-easysynth.so' 'libdrumstick-rt-net-in.so'
-'libdrumstick-rt-net-out.so' 'libdrumstick-rt-oss-in.so'
-'libdrumstick-rt-oss-out.so')
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2";)
-sha512sums=('8831578a6422cbf6570fd0ff36836f808d452cd7cc338de82cc852d804c5ef404d97dfd73760b13f16fe33007b35a5fc4591f2c4d719a4cf2b6a34fa6ca81a8b')
-
-build() {
-  cd "${pkgname}-${pkgver}"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr \
-        -DCMAKE_BUILD_TYPE=Release \
-        -DLIB_SUFFIX=
-  make
-}
-
-package() {
-  cd "${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}/" install
-  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
-    -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO}
-}

Copied: drumstick/repos/community-x86_64/PKGBUILD (from rev 507044, 
drumstick/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2019-09-02 15:54:21 UTC (rev 507045)
@@ -0,0 +1,41 @@
+# Maintainer: David Runge <d...@sleepmap.de>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Dany Martineau <dany.luc.martin...@gmail.com>
+
+pkgname=drumstick
+pkgver=1.1.3
+pkgrel=2
+pkgdesc="MIDI libraries for Qt5/C++"
+arch=('x86_64')
+url="http://drumstick.sourceforge.net/";
+license=('GPL2')
+depends=('desktop-file-utils' 'hicolor-icon-theme' 'alsa-lib' 'qt5-base'
+'qt5-svg')
+makedepends=('cmake' 'doxygen' 'docbook-xsl' 'libpulse' 'fluidsynth')
+optdepends=('fluidsynth: for fluidsynth integration'
+            'libpulse: for PulseAudio integration')
+provides=('libdrumstick-alsa.so' 'libdrumstick-file.so' 'libdrumstick-rt.so')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2";)
+sha512sums=('8831578a6422cbf6570fd0ff36836f808d452cd7cc338de82cc852d804c5ef404d97dfd73760b13f16fe33007b35a5fc4591f2c4d719a4cf2b6a34fa6ca81a8b')
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  # removing specific check for fluidsynth == 1.1.11, as fluidsynth > 2.0.0
+  # compiles just fine
+  sed -E 's|(pkg_check_modules\(FLUIDSYNTH ).+|\1fluidsynth\)|g' \
+      -i library/rt-backends/CMakeLists.txt
+}
+
+build() {
+  cd "${pkgname}-${pkgver}"
+  cmake -DCMAKE_INSTALL_PREFIX=/usr \
+        -DCMAKE_BUILD_TYPE=Release
+  make
+}
+
+package() {
+  cd "${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}/" install
+  install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+    -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO}
+}

Reply via email to