From 90f7c8864431160b36aff4556e152a38c52c8f3a Mon Sep 17 00:00:00 2001 From: Mohammad Amin Sameti Date: Sun, 1 Sep 2019 00:04:42 +0430 Subject: [PATCH] New package: drumstick --- common/shlibs | 3 +++ srcpkgs/drumstick-devel | 1 + srcpkgs/drumstick/template | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 39 insertions(+) create mode 120000 srcpkgs/drumstick-devel create mode 100644 srcpkgs/drumstick/template diff --git a/common/shlibs b/common/shlibs index e29b965c040..730f0c47800 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3502,3 +3502,6 @@ liblog4c.so.3 log4c-1.2.4_1 libqb.so.0 libqb-1.0.5_1 libusbguard.so.0 usbguard-0.7.5_1 libknet.so.1 libknet1-1.11_1 +libdrumstick-file.so.1 drumstick-1.1.2_1 +libdrumstick-alsa.so.1 drumstick-1.1.2_1 +libdrumstick-rt.so.1 drumstick-1.1.2_1 diff --git a/srcpkgs/drumstick-devel b/srcpkgs/drumstick-devel new file mode 120000 index 00000000000..e953fd56e31 --- /dev/null +++ b/srcpkgs/drumstick-devel @@ -0,0 +1 @@ +drumstick \ No newline at end of file diff --git a/srcpkgs/drumstick/template b/srcpkgs/drumstick/template new file mode 100644 index 00000000000..c8aa2f7f009 --- /dev/null +++ b/srcpkgs/drumstick/template @@ -0,0 +1,35 @@ +# Template file for 'drumstick' +pkgname=drumstick +version=1.1.2 +revision=1 +build_style=cmake +configure_args="-DLIB_SUFFIX=" +hostmakedepends="pkg-config doxygen libxslt docbook-xsl" +makedepends="qt5-svg-devel alsa-lib-devel pulseaudio-devel" +short_desc="Set of MIDI libraries using C++/Qt5 idioms and style" +maintainer="Mohammad Amin Sameti " +license="GPL-2.0-or-later" +homepage="http://drumstick.sourceforge.net" +distfiles="${SOURCEFORGE_SITE}/drumstick/drumstick-${version}.tar.bz2" +checksum=7791b439aab9a5c24a53cbf5ce9ab1dcaf40a33a9d8828ca1731e823b1c7924e + +case "$XBPS_TARGET_MACHINE" in + arm*|aarch*) hostmakedepends+=" qt5-qmake qt5-host-tools" +esac + +post_install() { + for doc in TODO NEWS ChangeLog README AUTHORS; do + vdoc $doc + done + + vlicense COPYING +} + +drumstick-devel_package() { + short_desc+=" - development libraries" + depends="${makedepends} ${sourcepkg}>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + } +}