2019-08-31 19:34:42 +00:00
|
|
|
# Template file for 'drumstick'
|
|
|
|
pkgname=drumstick
|
2019-09-21 13:15:41 +00:00
|
|
|
version=1.1.3
|
2019-08-31 19:34:42 +00:00
|
|
|
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 <mamins1376@gmail.com>"
|
|
|
|
license="GPL-2.0-or-later"
|
|
|
|
homepage="http://drumstick.sourceforge.net"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/drumstick/drumstick-${version}.tar.bz2"
|
2019-09-21 13:15:41 +00:00
|
|
|
checksum=75aca4281da25fe0186b44c07772c5f0b4d1f2bba875c4667e7e6e9fcedb3cd9
|
2019-08-31 19:34:42 +00:00
|
|
|
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
hostmakedepends+=" qt5-qmake qt5-host-tools"
|
|
|
|
fi
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
for doc in TODO NEWS ChangeLog AUTHORS; do
|
|
|
|
vdoc $doc
|
|
|
|
done
|
|
|
|
}
|
|
|
|
|
|
|
|
drumstick-devel_package() {
|
|
|
|
short_desc+=" - development libraries"
|
|
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|