diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:56:30 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-09-13 17:56:30 +0100 |
commit | 948d557b4a61dc14722668b6b11a4cf3cee07b01 (patch) | |
tree | b28b6cb077ae6b2457e30d49028fc978d8e2b59b /media-sound/drumstick | |
parent | e3cf2c86fca1750343c1885311f857f185ee4f2d (diff) |
gentoo resync : 13.09.2019
Diffstat (limited to 'media-sound/drumstick')
-rw-r--r-- | media-sound/drumstick/Manifest | 2 | ||||
-rw-r--r-- | media-sound/drumstick/drumstick-1.1.3.ebuild | 78 |
2 files changed, 80 insertions, 0 deletions
diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest index 243cf8f49fff..078ab0262c0f 100644 --- a/media-sound/drumstick/Manifest +++ b/media-sound/drumstick/Manifest @@ -1,3 +1,5 @@ DIST drumstick-1.1.2.tar.bz2 1012371 BLAKE2B e60a5678d33db1831130037bb4a6df6da8de815a6a0ca33a167f85596f45a1d420ca4c689c756c1fd3f794fb2a097bc19878d78bfe0789a40f9eae1b306b769f SHA512 6e84fbf2ce717cdb3c669a477de65d2f32c277073d812546267c0a9556f7ead612e3140cbc412fcd560786ca024f201a1eb3ba9de4b037e3ba8d4db89e0e2e29 +DIST drumstick-1.1.3.tar.gz 1358468 BLAKE2B af4cc923d380a1da66c835a6302e47e31c17ff90ba9277fe6063e6029c3d4d087e85905487a4dae657cdbfb743d2ac6e6c5a30c0905c9bc736d8666105e52099 SHA512 41990c269c41dc011e14c9bf008b983cd3722ea52429ec7eabaa5689a6f69b1760fc766604378c30bb1dfab537b77f7522a13377b873308835a0e7701d24448e EBUILD drumstick-1.1.2.ebuild 1466 BLAKE2B 1875c3fc6df6afcda35ff243fecdde7e30558a11096976d18a9f22ef595bd32401d72a63182c3ae28a0da9905c99862338225f0d545b10bc3b1153d36db9f710 SHA512 6fadb06cd83001be43e08c5e468935333d6ad045618b407ce84133ac949b083089789f5ff366a26aeda5774ec63d74eb30bcf0553f60db9e9a75b488cc4b91d7 +EBUILD drumstick-1.1.3.ebuild 1467 BLAKE2B d0758a5ebbfd5c7fad1b65a44d66dd947aec0094da52f195b823ee2795ff4618a2afcf6699d3e5dd1aa4997ec3b5cb72b9b3beebb7a4486a665906ea2a8e024b SHA512 0a56021cd83fa80b7716d5beb9441d1ce6fc8d3b04e31a08e6cfe667b75f3f5292439302aad6fcea48d2166200d2b3487837c75cafaad17b01987e26cd0a6322 MISC metadata.xml 543 BLAKE2B ab65d693031858992d6015da0dd074b2fe2975d50136fb105674c9f51b694d6b41e3d0b6f93e2b0928dac68aabd32cf1b4b3081d460639cbe6bd3e8b3a045c46 SHA512 b91230be7ae7d1cce86bba1b2706d88fb4beab8a37f1faef5d4ce79627bea14798d508269c6fe0b132450be6698a9466987b6d71d12006e09f58dc25404e784f diff --git a/media-sound/drumstick/drumstick-1.1.3.ebuild b/media-sound/drumstick/drumstick-1.1.3.ebuild new file mode 100644 index 000000000000..fcea0b268687 --- /dev/null +++ b/media-sound/drumstick/drumstick-1.1.3.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils xdg + +DESCRIPTION="Qt/C++ wrapper for ALSA sequencer" +HOMEPAGE="http://drumstick.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc fluidsynth pulseaudio" + +BDEPEND=" + virtual/pkgconfig + x11-misc/shared-mime-info + doc? ( + app-doc/doxygen + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + ) +" +DEPEND=" + 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-utils_src_prepare + + if ! use fluidsynth ; then + sed -i -e "/pkg_check_modules(FLUIDSYNTH/d" \ + library/rt/CMakeLists.txt \ + library/rt-backends/CMakeLists.txt \ + utils/vpiano/CMakeLists.txt || die + fi + + if ! use pulseaudio ; then + sed -i -e "/pkg_check_modules(PULSE/d" CMakeLists.txt || die + fi +} + +src_configure() { + local mycmakeargs=( + -DBUILD_TESTING=OFF + $(cmake-utils_use_find_package doc Doxygen) + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + use doc && cmake-utils_src_compile doxygen +} + +src_install() { + cmake-utils_src_install + + if use doc ; then + dodoc -r "${BUILD_DIR}"/doc/html + fi +} |