summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2022-04-05 07:22:07 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2022-04-05 07:22:07 +0200
commit27bac31846320e95f8000c7572bb9ebf3885d6e6 (patch)
treede7083421b201702430d0a41dbcba6a5169de085 /media-sound/drumstick
parentmedia-plugins/x42-plugins: bump to 20220327 (diff)
downloadgentoo-27bac31846320e95f8000c7572bb9ebf3885d6e6.tar.gz
gentoo-27bac31846320e95f8000c7572bb9ebf3885d6e6.tar.bz2
gentoo-27bac31846320e95f8000c7572bb9ebf3885d6e6.zip
media-sound/drumstick: bump to 2.6.0
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.0.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest
index 3408da4b59e7..b8a983d9c67c 100644
--- a/media-sound/drumstick/Manifest
+++ b/media-sound/drumstick/Manifest
@@ -1 +1,2 @@
DIST drumstick-2.5.1.tar.gz 1917814 BLAKE2B b4e9957288a05cf74347e39d05a638a26abb72b1dbbda856ad81e7dab87069e9bd4d57ff9eadece1673c0cd5fc9e9149bc4c9a06ff1fadef77c1ad38fc58d24f SHA512 9dba509bb5ef519f78251787a7a2607cf1cee0255d74ab1f6707a0611abbf8963e51b2114d41d347e55d293336e2ca34d9e2b5ac7989fcfe24e355392bae024a
+DIST drumstick-2.6.0.tar.gz 1920439 BLAKE2B 755f252030626ec47359e48a4f8fdd007448dbd61ee41b9d09d3f5b83816bcb15f7555fe0855828c21623094a6845c974d62483bbaf2071dd8f21ed15a506d0b SHA512 68bf1875ce6622a6655c6bc3f768d3ea5b6754eff64b668235a24ab71a502204f34b0b5cf201d911929189a4dbcf1253c21e4388b5a71fdfd4fa5d83ad505326
diff --git a/media-sound/drumstick/drumstick-2.6.0.ebuild b/media-sound/drumstick/drumstick-2.6.0.ebuild
new file mode 100644
index 000000000000..ec49cc915a19
--- /dev/null
+++ b/media-sound/drumstick/drumstick-2.6.0.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 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="mirror://sourceforge/${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-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 )
+
+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
+}