summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2024-11-04 10:26:37 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-11-04 10:27:23 +0100
commitefdb73a36bb1ee6aaf1b024bc27709ee82ce1c50 (patch)
tree4486329e4f0f239f928daf1f2993c379d1d7ca79 /media-sound/drumstick
parentmedia-libs/libsidplayfp: bump to 2.11.0 (diff)
downloadgentoo-efdb73a36bb1ee6aaf1b024bc27709ee82ce1c50.tar.gz
gentoo-efdb73a36bb1ee6aaf1b024bc27709ee82ce1c50.tar.bz2
gentoo-efdb73a36bb1ee6aaf1b024bc27709ee82ce1c50.zip
Revert "media-sound/drumstick: dropped obsolete 2.6.1-r1"
This reverts commit a4154bbf1b030b9f01e458619d36530a03a93dbf. 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.6.1-r1.ebuild66
-rw-r--r--media-sound/drumstick/metadata.xml1
3 files changed, 68 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest
index 8d157b5e26cd..0884bd7c104b 100644
--- a/media-sound/drumstick/Manifest
+++ b/media-sound/drumstick/Manifest
@@ -1 +1,2 @@
+DIST drumstick-2.6.1.tar.gz 1922869 BLAKE2B 5f1b9413c60d80ecb87f28f9a9eccd5cc418444664bdbd0fe9d47f698effc12956a3ddd2f45ae9e734486e94006883ed7264f8421a5989ce0b025ad85239e10b SHA512 ab858ee17aa957fe1c68935e2419798c50d4253b14dd0f31cafb46e087869986702c8a0d3ac1333d67b17618e7d5d75894aeb0e0f5bffb77762d0a56c242a811
DIST drumstick-2.9.1.tar.gz 571028 BLAKE2B 6ec7459f77763fae354e4c64f4b2b208d28fb8e24bfe939b46456e20bf01ad1b6a7e57e7d8e847b6f594b7431792128cffde517b5d8714e951ec232bc07ef50f SHA512 72ab6062e94aa4e995e9f9c563dfb2cb7dd5fe47bb129ca9f58b8877e980e81611cb59c9964fe72847fccec4f7de3f4b884eaa8dc7b5384ce0cada2e721bebc3
diff --git a/media-sound/drumstick/drumstick-2.6.1-r1.ebuild b/media-sound/drumstick/drumstick-2.6.1-r1.ebuild
new file mode 100644
index 000000000000..4e0747a1ddeb
--- /dev/null
+++ b/media-sound/drumstick/drumstick-2.6.1-r1.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake xdg
+
+DESCRIPTION="Qt/C++ wrapper for ALSA sequencer"
+HOMEPAGE="https://drumstick.sourceforge.io/"
+SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE="doc fluidsynth network pulseaudio"
+
+RESTRICT="test"
+
+BDEPEND="
+ dev-libs/libxslt
+ dev-qt/linguist-tools:5
+ virtual/pkgconfig
+ x11-misc/shared-mime-info
+ doc? (
+ app-text/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-libs/libpulse )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS readme.md TODO )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=OFF
+ -DUSE_DBUS=ON
+ -DUSE_FLUIDSYNTH=$(usex fluidsynth)
+ -DUSE_NETWORK=$(usex network)
+ -DUSE_PULSEAUDIO=$(usex pulseaudio)
+ -DUSE_QT=5 # bug 919682
+ -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 6c3f1494566c..b1a40764f549 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>