diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /media-sound/drumstick | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'media-sound/drumstick')
-rw-r--r-- | media-sound/drumstick/Manifest | 2 | ||||
-rw-r--r-- | media-sound/drumstick/drumstick-2.0.0.ebuild | 80 |
2 files changed, 82 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest index 5a7536636481..9c7561721895 100644 --- a/media-sound/drumstick/Manifest +++ b/media-sound/drumstick/Manifest @@ -1,3 +1,5 @@ DIST drumstick-1.1.3.tar.gz 1358468 BLAKE2B af4cc923d380a1da66c835a6302e47e31c17ff90ba9277fe6063e6029c3d4d087e85905487a4dae657cdbfb743d2ac6e6c5a30c0905c9bc736d8666105e52099 SHA512 41990c269c41dc011e14c9bf008b983cd3722ea52429ec7eabaa5689a6f69b1760fc766604378c30bb1dfab537b77f7522a13377b873308835a0e7701d24448e +DIST drumstick-2.0.0.tar.gz 1865424 BLAKE2B ee87dd222add121c8a6faaac5b8a755e2d6f7b257db890f6bbdbf5380d9771dc5b65a73d716f0cfd343a46c4227adcd2d85e4a359fcaa445b2291dc1ac188cfe SHA512 aacb4ca5a3354da6380ba146ee7ba57e646d19fe6a5d083e00b795221453a87d1baf25965784e7c8a97b9b00a3dda643bce144f62b6a27118f081c681089381a EBUILD drumstick-1.1.3.ebuild 1423 BLAKE2B 275235e1c697144a056c1fde8845b5e1dfe11fc91ab5d6e0bc601ba9fdda5a0cd6f34e0215a1c96736f89191a64b70e69790e8ccc5cf1154decb4daa60caf861 SHA512 f9111df83ca27d48c15c35b8adff813a05591c4cdadde60a7e382b7f0da1a24e3ab0802c0df21129b6135b035357c0a6709a83045039f04532a1eeda00272978 +EBUILD drumstick-2.0.0.ebuild 1559 BLAKE2B e5f96dd407fb9a222ec142bfd2628a4b3fa121e786e0a4e8a0ef632c7b98e6fefa0797b6bc2fd41c2255cce492e3d494f4fd5713498ceda184f6f99edd1213d6 SHA512 876fef2bfd96296b1c1c1f23b17a8c125dfbccf2bebcaa55416544a32740b54e4308ceea76bdd8640f0f3644edd6af6eee1ec2e8050477ceb8ed15f2ba3fda9a MISC metadata.xml 543 BLAKE2B ab65d693031858992d6015da0dd074b2fe2975d50136fb105674c9f51b694d6b41e3d0b6f93e2b0928dac68aabd32cf1b4b3081d460639cbe6bd3e8b3a045c46 SHA512 b91230be7ae7d1cce86bba1b2706d88fb4beab8a37f1faef5d4ce79627bea14798d508269c6fe0b132450be6698a9466987b6d71d12006e09f58dc25404e784f diff --git a/media-sound/drumstick/drumstick-2.0.0.ebuild b/media-sound/drumstick/drumstick-2.0.0.ebuild new file mode 100644 index 000000000000..041eadd01f12 --- /dev/null +++ b/media-sound/drumstick/drumstick-2.0.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 pulseaudio" + +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/qtnetwork:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + media-libs/alsa-lib + fluidsynth? ( media-sound/fluidsynth ) + pulseaudio? ( media-sound/pulseaudio ) +" +RDEPEND="${DEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +RESTRICT="test" + +src_prepare() { + cmake_src_prepare + + if ! use doc ; then + sed -e "/find_package(Doxygen/s/^/# disabled by -doc/" \ + -i CMakeLists.txt || die + fi + + if ! use fluidsynth ; then + sed -e "/pkg_check_modules(FLUIDSYNTH/s/^/# disabled by -fluidsynth/" \ + -i library/rt-backends/CMakeLists.txt || die + fi + + if ! use pulseaudio ; then + sed -e "/pkg_check_modules(PULSE/s/^/# disabled by -pulseaudio/" \ + -i CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=OFF + -DUSE_DBUS=ON + ) + 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 +} |