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 374E8138330 for ; Wed, 28 Sep 2016 14:17:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DFFD4E0839; Wed, 28 Sep 2016 14:17:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B2634E0839 for ; Wed, 28 Sep 2016 14:17:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 27EB3340948 for ; Wed, 28 Sep 2016 14:17:37 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 79E612497 for ; Wed, 28 Sep 2016 14:17:34 +0000 (UTC) From: "Michael Palimaka" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Palimaka" Message-ID: <1475072237.e1768d01aff958a61bcadd2f245e09b450b4df9d.kensington@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.0.ebuild media-sound/drumstick/metadata.xml X-VCS-Directories: media-sound/drumstick/ X-VCS-Committer: kensington X-VCS-Committer-Name: Michael Palimaka X-VCS-Revision: e1768d01aff958a61bcadd2f245e09b450b4df9d X-VCS-Branch: master Date: Wed, 28 Sep 2016 14:17:34 +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-Archives-Salt: d1e14e4e-7e25-459e-b1a2-b1135a706622 X-Archives-Hash: 86f1d3d15041fc7d164915185ee4efe0 commit: e1768d01aff958a61bcadd2f245e09b450b4df9d Author: Michael Palimaka gentoo org> AuthorDate: Wed Sep 28 14:16:51 2016 +0000 Commit: Michael Palimaka gentoo org> CommitDate: Wed Sep 28 14:17:17 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1768d01 media-sound/drumstick: version bump Package-Manager: portage-2.3.1 media-sound/drumstick/Manifest | 1 + media-sound/drumstick/drumstick-1.1.0.ebuild | 93 ++++++++++++++++++++++++++++ media-sound/drumstick/metadata.xml | 3 + 3 files changed, 97 insertions(+) diff --git a/media-sound/drumstick/Manifest b/media-sound/drumstick/Manifest index abc257a..f6a147c 100644 --- a/media-sound/drumstick/Manifest +++ b/media-sound/drumstick/Manifest @@ -1,2 +1,3 @@ DIST drumstick-0.5.0.tar.bz2 200914 SHA256 5a12bcf2a26dac7f2a5c9507c662c4c85556881c64bb55365dceb437cf3652cd SHA512 12078dbeae7166da210ccbbaee9d55b4c9e233fd317de72c20482466cd29987c976290efecd29cc28a5be6ed7e3b9fe95ddf1081d75222d9cf9d6aef13080a21 WHIRLPOOL 6d7b35259280aacf0ec414868068f136c39bb8e488848d110739481cbf6bb874cb46c95b98bc8f541185816ff81819494716e2706d9e6a59519bdc2e9520a425 DIST drumstick-1.0.2.tar.bz2 233666 SHA256 34aab5812c35ba16f8e606632a56c38879f470e3e395d580412c73ef937f8750 SHA512 df8d36b58e83b1e06cd1e4788e63c504bf2282c26f505509b2125e6c7be8ce8bc013774755b68e36f372a8682328459a5efb67ff09be1e0190805528458b3e45 WHIRLPOOL 8dba872973649ece08b37447c76c96a7da4382075f9682be9e0bb9b491aec2eab9ba969abaaf9396abff3c98a9d0a224ae1b48e6bca093c305675133669c11de +DIST drumstick-1.1.0.tar.bz2 1012405 SHA256 ae1d2c0d21b45d144e181b873ffbc2979a294fab31b8d71a5b0b8cad3276f38e SHA512 1099b80e1d2819a8343e877742c5f01c114419b2c63a965717bcff2c220aa218f40ac3860cf9496d3586663e73a6c2c7b62aee74c51229578a5ae3044da208da WHIRLPOOL fb070609049b329c1258dde8a8ff4e2ebcbec577d6fa46e59b51f39c8708a186976f94925a1407fc0ce92e77257f4133f811daf79258455fb9389d54b8044f9f diff --git a/media-sound/drumstick/drumstick-1.1.0.ebuild b/media-sound/drumstick/drumstick-1.1.0.ebuild new file mode 100644 index 00000000..409147c --- /dev/null +++ b/media-sound/drumstick/drumstick-1.1.0.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +CMAKE_MIN_VERSION="3.0" +inherit cmake-utils fdo-mime gnome2-utils + +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" + +RDEPEND=" + >=dev-qt/qtcore-5.7:5 + >=dev-qt/qtdbus-5.7:5 + >=dev-qt/qtgui-5.7:5 + >=dev-qt/qtnetwork-5.7:5 + >=dev-qt/qtsvg-5.7:5 + >=dev-qt/qtwidgets-5.7:5 + media-libs/alsa-lib + fluidsynth? ( media-sound/fluidsynth ) + pulseaudio? ( media-sound/pulseaudio ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-misc/shared-mime-info + doc? ( + app-doc/doxygen + app-text/docbook-xsl-stylesheets + dev-libs/libxslt + ) +" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +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=( + $(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 +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + fdo-mime_mime_database_update + gnome2_icon_cache_update +} diff --git a/media-sound/drumstick/metadata.xml b/media-sound/drumstick/metadata.xml index 1f89475..ffb8a67 100644 --- a/media-sound/drumstick/metadata.xml +++ b/media-sound/drumstick/metadata.xml @@ -9,6 +9,9 @@ kde@gentoo.org Gentoo KDE Project + + Enable support for media-sound/fluidsynth + drumstick