summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2021-06-30 09:36:15 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2021-06-30 09:39:12 +0200
commitf3bf983cb53780b2168b4055375fdddf3e564d27 (patch)
treec6e589e1668d961c3de269ecbf13b29119de6bef /media-sound/drumstick
parentdev-ruby/hpricot: fix extension install; ruby30 (diff)
downloadgentoo-f3bf983cb53780b2168b4055375fdddf3e564d27.tar.gz
gentoo-f3bf983cb53780b2168b4055375fdddf3e564d27.tar.bz2
gentoo-f3bf983cb53780b2168b4055375fdddf3e564d27.zip
media-sound/drumstick: bump to 2.3.0
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound/drumstick')
-rw-r--r--media-sound/drumstick/Manifest1
-rw-r--r--media-sound/drumstick/drumstick-2.3.0.ebuild69
-rw-r--r--media-sound/drumstick/metadata.xml1
3 files changed, 71 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest
index e317eebc0d9e..073b1ee4cd29 100644
--- a/media-sound/drumstick/Manifest
+++ b/media-sound/drumstick/Manifest
@@ -1,2 +1,3 @@
DIST drumstick-2.2.0.tar.gz 1965327 BLAKE2B 1fbb97c031af319999c7fb707523c3522afff61dfba3c1c0123619ed738a4996b4b835df9f60b3bb3b27b6d13616f11619160f43cf36c8429947f43dee62a840 SHA512 eff261ae0fbb620673eaa4d12e168b8ed0cfffb3e605ad8ebbc10a444d18eb0d6aecad7bad3b0c3a639df1cfee96bece3a870139bb818a278d6f51e13418a0a9
DIST drumstick-2.2.1.tar.gz 1976813 BLAKE2B ac27fbcfb92fff2b7d69c70f9ec677343e8d66164997a29f319fbe94e6d12582cb4af67f0ff36126a6102e48bcbe4d4620e9442fdecf07aaaeecf37e9458c590 SHA512 d99c774f33db9d8555efd83adc8968d6d244e56e7976d68f0f90ff89cfda1143b2e07eece6b465fffba354073d4616c5a767f09f2ba282e252ca0955723cadc7
+DIST drumstick-2.3.0.tar.gz 1978608 BLAKE2B ab05030d402c03053bfcf315e8c4e54b73975f0059719cf5e58db64ddac394555b898e3e0008b892901d7395c89a160631ae8eeb9d1cd52c3abd0533c5fdafdb SHA512 b12a39153600b37ef61a31255721466bdae5896b562276860688f9e22259ba4747086abeb828dcfef24c8e1fb7bd371dea1c6d51098cf5e1797e212cde70f46a
diff --git a/media-sound/drumstick/drumstick-2.3.0.ebuild b/media-sound/drumstick/drumstick-2.3.0.ebuild
new file mode 100644
index 000000000000..8b2d865ce0f9
--- /dev/null
+++ b/media-sound/drumstick/drumstick-2.3.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake xdg
+
+DESCRIPTION="Qt/C++ wrapper for ALSA sequencer"
+HOMEPAGE="https://drumstick.sourceforge.io/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc fluidsynth network pulseaudio"
+
+BDEPEND="
+ dev-libs/libxslt
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+ x11-misc/shared-mime-info
+ doc? (
+ app-doc/doxygen[dot]
+ app-text/docbook-xsl-stylesheets
+ )
+"
+DEPEND="
+ dev-qt/designer:5
+ dev-qt/qtcore:5
+ dev-qt/qtdbus:5
+ dev-qt/qtgui:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ media-libs/alsa-lib
+ fluidsynth? ( media-sound/fluidsynth )
+ network? ( dev-qt/qtnetwork:5 )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS readme.md TODO )
+
+RESTRICT="test"
+
+src_prepare() {
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=OFF
+ -DUSE_DBUS=ON
+ -DUSE_FLUIDSYNTH=$(usex fluidsynth)
+ -DUSE_NETWORK=$(usex network)
+ -DUSE_PULSEAUDIO=$(usex pulseaudio)
+ -DBUILD_DOCS=$(usex doc)
+ )
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+ use doc && cmake_src_compile doxygen
+}
+
+src_install() {
+ use doc && local HTML_DOCS=( "${BUILD_DIR}"/doc/html/. )
+ cmake_src_install
+}
diff --git a/media-sound/drumstick/metadata.xml b/media-sound/drumstick/metadata.xml
index ffb8a67c8158..29bffa307045 100644
--- a/media-sound/drumstick/metadata.xml
+++ b/media-sound/drumstick/metadata.xml
@@ -11,6 +11,7 @@
</maintainer>
<use>
<flag name="fluidsynth">Enable support for <pkg>media-sound/fluidsynth</pkg></flag>
+ <flag name="network">Build Network RT backend</flag>
</use>
<upstream>
<remote-id type="sourceforge">drumstick</remote-id>