[arch-commits] Commit in drumstick/repos/community-x86_64 (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Mon Mar 22 18:54:32 UTC 2021
Date: Monday, March 22, 2021 @ 18:54:32
Author: dvzrv
Revision: 899042
archrelease: copy trunk to community-x86_64
Added:
drumstick/repos/community-x86_64/PKGBUILD
(from rev 899041, drumstick/trunk/PKGBUILD)
Deleted:
drumstick/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 90 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 46 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-22 18:54:24 UTC (rev 899041)
+++ PKGBUILD 2021-03-22 18:54:32 UTC (rev 899042)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: speps <speps at aur dot archlinux dot org>
-# Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
-
-pkgname=drumstick
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="MIDI libraries for Qt5/C++"
-arch=('x86_64')
-url="https://drumstick.sourceforge.io/"
-license=('GPL2')
-depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
-makedepends=('alsa-lib' 'cmake' 'doxygen' 'docbook-xsl' 'fluidsynth' 'graphviz'
-'libpulse' 'qt5-tools')
-provides=('libdrumstick-alsa.so' 'libdrumstick-file.so' 'libdrumstick-rt.so'
-'libdrumstick-widgets.so')
-source=("https://downloads.sourceforge.net/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
-sha512sums=('09adaf7901ba57419222d3560e9212633ba5bfad37ebd113c8c56ddc83d5e55a0beccaa7c45b7eef3858f624cced15c516245ee970786813a1defcb20b247636')
-b2sums=('c1a3f1290b8afd973f8ef2ab35515c41cb2cf5b618d67da652ab33c9015778870d8b1f1ca724b2c0d2f1dc5d743ba7b64b388b58e6f8d434a20da7ef00b33845')
-
-build() {
- cd "${pkgname}-${pkgver}"
- cmake -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_BUILD_TYPE='None' \
- -Wno-dev \
- -B build \
- -S .
- make VERBOSE=1 -C build
-}
-
-# # tests fail and seem to provide no further logs:
-# # https://sourceforge.net/p/drumstick/bugs/24/
-# check() {
-# cd "${pkgname}-${pkgver}"
-# make test -C build
-# }
-
-package() {
- depends+=('libasound.so' 'libfluidsynth.so' 'libpulse.so' 'libpulse-simple.so')
- cd "${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}/" install -C build
- install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
- -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO}
-}
Copied: drumstick/repos/community-x86_64/PKGBUILD (from rev 899041, drumstick/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-22 18:54:32 UTC (rev 899042)
@@ -0,0 +1,46 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: speps <speps at aur dot archlinux dot org>
+# Contributor: Dany Martineau <dany.luc.martineau at gmail.com>
+
+pkgname=drumstick
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="MIDI libraries for Qt5/C++"
+arch=('x86_64')
+url="https://drumstick.sourceforge.io/"
+license=('GPL2')
+depends=('gcc-libs' 'glibc' 'hicolor-icon-theme' 'qt5-base')
+makedepends=('alsa-lib' 'cmake' 'doxygen' 'docbook-xsl' 'fluidsynth' 'graphviz'
+'libpulse' 'qt5-tools')
+provides=('libdrumstick-alsa.so' 'libdrumstick-file.so' 'libdrumstick-rt.so'
+'libdrumstick-widgets.so')
+source=("https://downloads.sourceforge.net/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha512sums=('112bcdf5eeb4d0139e2f57b53775dbeb1e4940a0269d9edbf51166a0c9fd99662fa652cdcb6e5019769637ea21593d485db65ef72f28a035d45e8e0b4229680b')
+b2sums=('06c2971a87313f051dd0577541a0a8660786f9312ce93a1482be19ed276ed4ddd2b299d5d8cad9ec6bbef19afada727c0aae61cea1c53873396cbf9be960b51a')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE='None' \
+ -Wno-dev \
+ -B build \
+ -S .
+ make VERBOSE=1 -C build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ # some tests fail due to insufficient system privileges, hence only run those
+ # that make sense in the build environment
+ # https://sourceforge.net/p/drumstick/bugs/24/
+ make test -C build/tests/fileTest1
+ make test -C build/tests/fileTest2
+}
+
+package() {
+ depends+=('libasound.so' 'libfluidsynth.so' 'libpulse.so' 'libpulse-simple.so')
+ cd "${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}/" install -C build
+ install -t "${pkgdir}/usr/share/doc/${pkgname}/" \
+ -vDm 644 {AUTHORS,ChangeLog,NEWS,README,TODO}
+}
More information about the arch-commits
mailing list