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 A591C138334 for ; Sun, 10 Mar 2019 22:46:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F12D3E0DC6; Sun, 10 Mar 2019 22:46:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 BC3D4E0DC6 for ; Sun, 10 Mar 2019 22:46:33 +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 F2A28335D2B for ; Sun, 10 Mar 2019 22:46:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8008F569 for ; Sun, 10 Mar 2019 22:46:28 +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: <1552257952.a7b20853eb6f834bf24bc2aefb3f72b80042a16f.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.2.ebuild X-VCS-Directories: media-sound/drumstick/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: a7b20853eb6f834bf24bc2aefb3f72b80042a16f X-VCS-Branch: master Date: Sun, 10 Mar 2019 22:46:28 +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: 57fd7988-facc-4c6c-90e0-017254d745a2 X-Archives-Hash: f6c5475fcdf487e601405a4fc606ae20 commit: a7b20853eb6f834bf24bc2aefb3f72b80042a16f Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Mar 10 21:52:31 2019 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Mar 10 22:45:52 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7b20853 media-sound/drumstick: 1.1.2 version bump Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner gentoo.org> media-sound/drumstick/Manifest | 1 + media-sound/drumstick/drumstick-1.1.2.ebuild | 78 ++++++++++++++++++++++++++++ 2 files changed, 79 insertions(+) diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest index 5155e046682..82a056a61ff 100644 --- a/media-sound/drumstick/Manifest +++ b/media-sound/drumstick/Manifest @@ -1,2 +1,3 @@ DIST drumstick-1.1.0.tar.bz2 1012405 BLAKE2B ad1e4990cbf4954eadf8c7ae602234852e77abcf534e14090a6e158e9032288fcce6c39b742c40ac9b8c7967dbfcd04578b871088f61ce411de9c910c79e1fbb SHA512 1099b80e1d2819a8343e877742c5f01c114419b2c63a965717bcff2c220aa218f40ac3860cf9496d3586663e73a6c2c7b62aee74c51229578a5ae3044da208da DIST drumstick-1.1.1.tar.bz2 1011275 BLAKE2B dff36487a1cf79512150638c793c471fb410c3563184e9acdbd9d441c53596a0bc611d4ebef2b4dc0214c0fef5324443fe0dfe4158f45521762abf4e838cf716 SHA512 f3278be71b1850bbe742ff46b65a656443a1d655c5bcc1e289d92492db985ab185ed140b88ca68f37235c07926be5b82cfe97ae2f95ca7e3a7f48a7c95c61654 +DIST drumstick-1.1.2.tar.bz2 1012371 BLAKE2B e60a5678d33db1831130037bb4a6df6da8de815a6a0ca33a167f85596f45a1d420ca4c689c756c1fd3f794fb2a097bc19878d78bfe0789a40f9eae1b306b769f SHA512 6e84fbf2ce717cdb3c669a477de65d2f32c277073d812546267c0a9556f7ead612e3140cbc412fcd560786ca024f201a1eb3ba9de4b037e3ba8d4db89e0e2e29 diff --git a/media-sound/drumstick/drumstick-1.1.2.ebuild b/media-sound/drumstick/drumstick-1.1.2.ebuild new file mode 100644 index 00000000000..637a6a2cf57 --- /dev/null +++ b/media-sound/drumstick/drumstick-1.1.2.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.bz2" + +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 +}