Install this version:
emerge -a =media-sound/drumstick-2.11.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-sound/drumstick-2.11.1
Or alternatively:
emerge --autounmask-write -a =media-sound/drumstick-2.11.1
# Copyright 1999-2026 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 fluidsynth test"
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 )
fluidsynth? ( >=media-sound/fluidsynth-2.5.0:= )
"
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=OFF # not packaged, bug #865259
-DUSE_PULSEAUDIO=OFF # requires Sonivox
-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
}
Manage flags for this package:
euse -i <flag> -p media-sound/drumstick |
euse -E <flag> -p media-sound/drumstick |
euse -D <flag> -p media-sound/drumstick
>=dev-qt/qt5compat-6.7.2:6 >=dev-qt/qtbase-6.7.2:6[dbus,gui,network,widgets] >=dev-qt/qtsvg-6.7.2:6 >=dev-qt/qttools-6.7.2:6[designer] alsa? ( media-libs/alsa-lib ) fluidsynth? ( >=media-sound/fluidsynth-2.5.0:= )
>=dev-qt/qt5compat-6.7.2:6 >=dev-qt/qtbase-6.7.2:6[dbus,gui,network,widgets] >=dev-qt/qtsvg-6.7.2:6 >=dev-qt/qttools-6.7.2:6[designer] alsa? ( media-libs/alsa-lib ) fluidsynth? ( >=media-sound/fluidsynth-2.5.0:= )
dev-libs/libxslt >=dev-qt/qttools-6.7.2:6[linguist] virtual/pkgconfig x11-misc/shared-mime-info doc? ( app-text/doxygen[dot] app-text/docbook-xsl-stylesheets )
| Type | File | Size | Source URLs |
|---|---|---|---|
| DIST | drumstick-2.11.1.tar.gz | 591519 bytes | https://downloads.sourceforge.net/drumstick/drumstick-2.11.1.tar.gz |