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 82A6A138334 for ; Thu, 12 Sep 2019 21:58:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDAB8E0CCE; Thu, 12 Sep 2019 21:58:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 5CA08E0CB5 for ; Thu, 12 Sep 2019 21:58:13 +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 04B5234B0E7 for ; Thu, 12 Sep 2019 21:58:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8AF90615 for ; Thu, 12 Sep 2019 21:58:10 +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: <1568325477.119b8abce8d0c29829b6b4e0aede4af4c014e29d.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-1.1.3.ebuild X-VCS-Directories: media-sound/drumstick/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 119b8abce8d0c29829b6b4e0aede4af4c014e29d X-VCS-Branch: master Date: Thu, 12 Sep 2019 21:58:10 +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: 76dbbbe9-1bb9-47ad-a578-710a1ee04331 X-Archives-Hash: a81d0e4c167af8902129a55ca0f24ae2 commit: 119b8abce8d0c29829b6b4e0aede4af4c014e29d Author: Andreas Sturmlechner gentoo org> AuthorDate: Thu Sep 12 21:55:09 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Thu Sep 12 21:57:57 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=119b8abc media-sound/drumstick: 1.1.3 version bump Package-Manager: Portage-2.3.76, Repoman-2.3.17 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/drumstick/Manifest | 1 + media-sound/drumstick/drumstick-1.1.3.ebuild | 78 ++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest index 48a28d2c519..f33d9fbb0db 100644 --- a/media-sound/drumstick/Manifest +++ b/media-sound/drumstick/Manifest @@ -1 +1,2 @@ DIST drumstick-1.1.2.tar.bz2 1012371 BLAKE2B e60a5678d33db1831130037bb4a6df6da8de815a6a0ca33a167f85596f45a1d420ca4c689c756c1fd3f794fb2a097bc19878d78bfe0789a40f9eae1b306b769f SHA512 6e84fbf2ce717cdb3c669a477de65d2f32c277073d812546267c0a9556f7ead612e3140cbc412fcd560786ca024f201a1eb3ba9de4b037e3ba8d4db89e0e2e29 +DIST drumstick-1.1.3.tar.gz 1358468 BLAKE2B af4cc923d380a1da66c835a6302e47e31c17ff90ba9277fe6063e6029c3d4d087e85905487a4dae657cdbfb743d2ac6e6c5a30c0905c9bc736d8666105e52099 SHA512 41990c269c41dc011e14c9bf008b983cd3722ea52429ec7eabaa5689a6f69b1760fc766604378c30bb1dfab537b77f7522a13377b873308835a0e7701d24448e 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 00000000000..fcea0b26868 --- /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 +}