summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2025-12-03 18:07:13 +0100
committerAnna (navi) Figueiredo Gomes <navi@vlhl.dev>2025-12-03 18:07:55 +0100
commitcd9ee18b9c57b819e57ca128b2499bfcd96fd404 (patch)
treee40a7de8f3b3bcede4dd1c13ce751eb696b1597e
parentd3d3903d2df5fd3f33c44613f4378e5192aa0021 (diff)
downloadenomicon-cd9ee18b9c57b819e57ca128b2499bfcd96fd404.tar.xz
media-sound/drumstick: new package, add 2.10.0-r1
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
-rw-r--r--media-sound/drumstick/Manifest1
-rw-r--r--media-sound/drumstick/drumstick-2.10.0-r1.ebuild70
2 files changed, 71 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest
new file mode 100644
index 0000000..7a1fdc4
--- /dev/null
+++ b/media-sound/drumstick/Manifest
@@ -0,0 +1 @@
+DIST drumstick-2.10.0.tar.gz 571622 BLAKE2B b6b7380dbd731fcfa1e894cdb188c0f300181af138ca2161df66599db716e632b34c3a464bbdb0cead080cdd8959a410da063a90b0587efb51909f32ea328703 SHA512 af265f2646739552c3d94538e0716453de3210308c0af4658e734a4815fe61f9667d09d069aea3e26b24d600be49088afc0cf3cd961463edca684466c7761805
diff --git a/media-sound/drumstick/drumstick-2.10.0-r1.ebuild b/media-sound/drumstick/drumstick-2.10.0-r1.ebuild
new file mode 100644
index 0000000..f6e910d
--- /dev/null
+++ b/media-sound/drumstick/drumstick-2.10.0-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+QTMIN=6.7.2
+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="alsa doc +sonivox pulseaudio fluidsynth test"
+REQUIRED_USE="pulseaudio? ( sonivox )"
+
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ dev-libs/libxslt
+ >=dev-qt/qttools-${QTMIN}:6[linguist]
+ virtual/pkgconfig
+ x11-misc/shared-mime-info
+ doc? (
+ app-text/doxygen[dot]
+ app-text/docbook-xsl-stylesheets
+ )
+"
+DEPEND="
+ >=dev-qt/qt5compat-${QTMIN}:6
+ >=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets]
+ >=dev-qt/qtsvg-${QTMIN}:6
+ >=dev-qt/qttools-${QTMIN}:6[designer]
+ alsa? ( media-libs/alsa-lib )
+ sonivox? ( media-sound/sonivox )
+ pulseaudio? ( media-libs/libpulse )
+ fluidsynth? ( media-sound/fluidsynth:= )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( AUTHORS ChangeLog NEWS readme.md TODO )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_RT=ON
+ -DUSE_NETWORK=ON # just to satisfy BUILD_RT w/o REQUIRED_USE
+ -DUSE_PIPEWIRE=OFF # only affects fluidsynth RT backend
+ -DUSE_DBUS=ON
+ -DUSE_QT5=OFF # bug 919682
+ -DUSE_SONIVOX=$(usex sonivox)
+ -DUSE_PULSEAUDIO=$(usex pulseaudio)
+ -DBUILD_ALSA=$(usex alsa)
+ -DBUILD_DOCS=$(usex doc)
+ -DUSE_FLUIDSYNTH=$(usex fluidsynth)
+ -DBUILD_TESTING=$(usex test)
+ )
+ 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
+}