From 1c8d50cb3a4184c785732e9613a345fa6e720ca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Wed, 17 Feb 2021 18:38:35 +0700 Subject: [PATCH] drumstick: fix cross, move *.so files --- srcpkgs/drumstick/template | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/srcpkgs/drumstick/template b/srcpkgs/drumstick/template index bbc8f56389..3a6b026492 100644 --- a/srcpkgs/drumstick/template +++ b/srcpkgs/drumstick/template @@ -1,10 +1,10 @@ # Template file for 'drumstick' pkgname=drumstick version=1.1.3 -revision=1 +revision=2 build_style=cmake -configure_args="-DLIB_SUFFIX=" -hostmakedepends="pkg-config doxygen libxslt docbook-xsl" +configure_args="-DLIB_SUFFIX= -DUPDATE_MIME_DATABASE_EXECUTABLE=true" +hostmakedepends="pkg-config doxygen libxslt docbook-xsl qt5-qmake qt5-host-tools" 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 " @@ -13,10 +13,6 @@ homepage="http://drumstick.sourceforge.net" distfiles="${SOURCEFORGE_SITE}/drumstick/drumstick-${version}.tar.bz2" checksum=75aca4281da25fe0186b44c07772c5f0b4d1f2bba875c4667e7e6e9fcedb3cd9 -if [ "$CROSS_BUILD" ]; then - hostmakedepends+=" qt5-qmake qt5-host-tools" -fi - post_install() { for doc in TODO NEWS ChangeLog AUTHORS; do vdoc $doc @@ -29,5 +25,6 @@ drumstick-devel_package() { pkg_install() { vmove usr/include vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" } }