commit:     5ce705740e34c738ca0e957244a2f13dd689fd74
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 26 07:20:37 2021 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Tue Oct 26 07:20:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ce70574

media-sound/drumstick: bump to 2.4.1

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 media-sound/drumstick/Manifest               |  1 +
 media-sound/drumstick/drumstick-2.4.1.ebuild | 65 ++++++++++++++++++++++++++++
 2 files changed, 66 insertions(+)

diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest
index 15223d7abdb..ef50f8c660d 100644
--- a/media-sound/drumstick/Manifest
+++ b/media-sound/drumstick/Manifest
@@ -1 +1,2 @@
 DIST drumstick-2.4.0.tar.gz 2094661 BLAKE2B 
98f79081e9aa942b24355f86a14bb273145b7d764f19ad671050e74546ff513ee76fe2dac290f75ea1b1c54a709232da0f26e63d1829a5317174793692f2664f
 SHA512 
633ae93c11f22999b6cadac7481e162d6e24499b614ba58e785e73b6af39a1cfbca235fcbb4b21107840f1e4dff059caaf32f9945ea80434a5017b816f62774f
+DIST drumstick-2.4.1.tar.gz 2014026 BLAKE2B 
4e2765430438505c910919d5a5069b13a63e72083c4a40bd8b406e3463842ccd5ab024f4a0fccbceafe808e3926b3be03e98338afcac4520de978b0f5c950ee8
 SHA512 
5063201b643cd3e58db4c77521444e7816febb39ceb739309ac63b164b2fc67b6bdec16a98945141d7b41add41d82b2bd2ddf99890f12edb2f86b73e643ac6d6

diff --git a/media-sound/drumstick/drumstick-2.4.1.ebuild 
b/media-sound/drumstick/drumstick-2.4.1.ebuild
new file mode 100644
index 00000000000..70bc8c73439
--- /dev/null
+++ b/media-sound/drumstick/drumstick-2.4.1.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2021 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
+}

Reply via email to