From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3BDBD1382C5 for ; Tue, 6 Apr 2021 12:07:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A0A84E08BB; Tue, 6 Apr 2021 12:07:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 24884E0849 for ; Tue, 6 Apr 2021 12:07:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1297335D31 for ; Tue, 6 Apr 2021 12:07:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D57A633 for ; Tue, 6 Apr 2021 12:07:41 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1617710551.ecbe3f3cc107c5cee4901ca900482a02a10bc24a.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/drumstick/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-sound/drumstick/Manifest media-sound/drumstick/drumstick-2.1.1.ebuild X-VCS-Directories: media-sound/drumstick/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: ecbe3f3cc107c5cee4901ca900482a02a10bc24a X-VCS-Branch: master Date: Tue, 6 Apr 2021 12:07:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ede51a12-5a27-43a3-8dae-1ac91ad1c62c X-Archives-Hash: 1094208cfdafc6825d2c4c5545602f93 commit: ecbe3f3cc107c5cee4901ca900482a02a10bc24a Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Apr 6 11:56:33 2021 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Apr 6 12:02:31 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecbe3f3c media-sound/drumstick: 2.1.1 version bump Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/drumstick/Manifest | 1 + media-sound/drumstick/drumstick-2.1.1.ebuild | 76 ++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest index 5553388faec..12db9338620 100644 --- a/media-sound/drumstick/Manifest +++ b/media-sound/drumstick/Manifest @@ -1,2 +1,3 @@ DIST drumstick-2.0.0.tar.gz 1865424 BLAKE2B ee87dd222add121c8a6faaac5b8a755e2d6f7b257db890f6bbdbf5380d9771dc5b65a73d716f0cfd343a46c4227adcd2d85e4a359fcaa445b2291dc1ac188cfe SHA512 aacb4ca5a3354da6380ba146ee7ba57e646d19fe6a5d083e00b795221453a87d1baf25965784e7c8a97b9b00a3dda643bce144f62b6a27118f081c681089381a DIST drumstick-2.1.0.tar.gz 1875596 BLAKE2B f312c468701a980e5f929aaa02cb20f056f4fad6c2a44100521cf11d4740ffd40656cb424b4b666723b084eb40c5c1963c74554d998515483dda9cfdd62a919c SHA512 b0db307f791fd0014ba7384da293561661b5c242d4fe293e2c604c35ebc03ef6f868448750f7c04b9d6dce6fa2c6d8b548fca4eb70cb63107ae8de8b65c50fd0 +DIST drumstick-2.1.1.tar.gz 1959938 BLAKE2B 010072faac3819d326659421d7c2c32345f8f5cf3fdcf390b80f57f942e786d569feb19319eca21ca5346ea1f990f54353afc52ecad4fbc6b631065e7b3ed751 SHA512 764b2db79f49f1ab428f472a2f4715c1ab5a9d948af43c77befc2e758b43c604673c7c0c39779a63240a31d6169f648a8c67680c1a42891c6a6cdbd2a481f557 diff --git a/media-sound/drumstick/drumstick-2.1.1.ebuild b/media-sound/drumstick/drumstick-2.1.1.ebuild new file mode 100644 index 00000000000..1459d1b265a --- /dev/null +++ b/media-sound/drumstick/drumstick-2.1.1.ebuild @@ -0,0 +1,76 @@ +# 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.md TODO ) + +RESTRICT="test" + +src_prepare() { + cmake_src_prepare + + 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 + -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 +}