summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-09-29 00:16:51 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-09-29 00:17:17 +1000
commite1768d01aff958a61bcadd2f245e09b450b4df9d (patch)
treec8d892f1a43bd063936818b226427683c9907213 /media-sound
parentprofiles: mask >=media-sound/drumstick-1.1.0 due to requiring masked Qt 5.7 (diff)
downloadgentoo-e1768d01aff958a61bcadd2f245e09b450b4df9d.tar.gz
gentoo-e1768d01aff958a61bcadd2f245e09b450b4df9d.tar.bz2
gentoo-e1768d01aff958a61bcadd2f245e09b450b4df9d.zip
media-sound/drumstick: version bump
Package-Manager: portage-2.3.1
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/drumstick/Manifest1
-rw-r--r--media-sound/drumstick/drumstick-1.1.0.ebuild93
-rw-r--r--media-sound/drumstick/metadata.xml3
3 files changed, 97 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest
index abc257a99634..f6a147c9769d 100644
--- a/media-sound/drumstick/Manifest
+++ b/media-sound/drumstick/Manifest
@@ -1,2 +1,3 @@
DIST drumstick-0.5.0.tar.bz2 200914 SHA256 5a12bcf2a26dac7f2a5c9507c662c4c85556881c64bb55365dceb437cf3652cd SHA512 12078dbeae7166da210ccbbaee9d55b4c9e233fd317de72c20482466cd29987c976290efecd29cc28a5be6ed7e3b9fe95ddf1081d75222d9cf9d6aef13080a21 WHIRLPOOL 6d7b35259280aacf0ec414868068f136c39bb8e488848d110739481cbf6bb874cb46c95b98bc8f541185816ff81819494716e2706d9e6a59519bdc2e9520a425
DIST drumstick-1.0.2.tar.bz2 233666 SHA256 34aab5812c35ba16f8e606632a56c38879f470e3e395d580412c73ef937f8750 SHA512 df8d36b58e83b1e06cd1e4788e63c504bf2282c26f505509b2125e6c7be8ce8bc013774755b68e36f372a8682328459a5efb67ff09be1e0190805528458b3e45 WHIRLPOOL 8dba872973649ece08b37447c76c96a7da4382075f9682be9e0bb9b491aec2eab9ba969abaaf9396abff3c98a9d0a224ae1b48e6bca093c305675133669c11de
+DIST drumstick-1.1.0.tar.bz2 1012405 SHA256 ae1d2c0d21b45d144e181b873ffbc2979a294fab31b8d71a5b0b8cad3276f38e SHA512 1099b80e1d2819a8343e877742c5f01c114419b2c63a965717bcff2c220aa218f40ac3860cf9496d3586663e73a6c2c7b62aee74c51229578a5ae3044da208da WHIRLPOOL fb070609049b329c1258dde8a8ff4e2ebcbec577d6fa46e59b51f39c8708a186976f94925a1407fc0ce92e77257f4133f811daf79258455fb9389d54b8044f9f
diff --git a/media-sound/drumstick/drumstick-1.1.0.ebuild b/media-sound/drumstick/drumstick-1.1.0.ebuild
new file mode 100644
index 000000000000..409147c3d3bc
--- /dev/null
+++ b/media-sound/drumstick/drumstick-1.1.0.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+CMAKE_MIN_VERSION="3.0"
+inherit cmake-utils fdo-mime gnome2-utils
+
+DESCRIPTION="Qt/C++ wrapper for ALSA sequencer"
+HOMEPAGE="http://drumstick.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fluidsynth pulseaudio"
+
+RDEPEND="
+ >=dev-qt/qtcore-5.7:5
+ >=dev-qt/qtdbus-5.7:5
+ >=dev-qt/qtgui-5.7:5
+ >=dev-qt/qtnetwork-5.7:5
+ >=dev-qt/qtsvg-5.7:5
+ >=dev-qt/qtwidgets-5.7:5
+ media-libs/alsa-lib
+ fluidsynth? ( media-sound/fluidsynth )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ x11-misc/shared-mime-info
+ doc? (
+ app-doc/doxygen
+ app-text/docbook-xsl-stylesheets
+ dev-libs/libxslt
+ )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+src_prepare() {
+ cmake-utils_src_prepare
+
+ if ! use fluidsynth ; then
+ sed -i -e "/pkg_check_modules(FLUIDSYNTH/d" \
+ library/rt/CMakeLists.txt \
+ library/rt-backends/CMakeLists.txt \
+ utils/vpiano/CMakeLists.txt || die
+ fi
+
+ if ! use pulseaudio ; then
+ sed -i -e "/pkg_check_modules(PULSE/d" CMakeLists.txt || die
+ fi
+}
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package doc Doxygen)
+ )
+
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+
+ use doc && cmake-utils_src_compile doxygen
+}
+
+src_install() {
+ cmake-utils_src_install
+
+ if use doc ; then
+ dodoc -r "${BUILD_DIR}"/doc/html
+ fi
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ fdo-mime_desktop_database_update
+ fdo-mime_mime_database_update
+ gnome2_icon_cache_update
+}
diff --git a/media-sound/drumstick/metadata.xml b/media-sound/drumstick/metadata.xml
index 1f89475e50c9..ffb8a67c8158 100644
--- a/media-sound/drumstick/metadata.xml
+++ b/media-sound/drumstick/metadata.xml
@@ -9,6 +9,9 @@
<email>kde@gentoo.org</email>
<name>Gentoo KDE Project</name>
</maintainer>
+ <use>
+ <flag name="fluidsynth">Enable support for <pkg>media-sound/fluidsynth</pkg></flag>
+ </use>
<upstream>
<remote-id type="sourceforge">drumstick</remote-id>
</upstream>