media-sound/drumstick: bump to 1.0.1
authorAlexis Ballier <aballier@gentoo.org>
Mon, 24 Aug 2015 16:42:29 +0000 (18:42 +0200)
committerAlexis Ballier <aballier@gentoo.org>
Mon, 24 Aug 2015 16:42:36 +0000 (18:42 +0200)
Package-Manager: portage-2.2.20.1

media-sound/drumstick/Manifest
media-sound/drumstick/drumstick-1.0.1.ebuild [new file with mode: 0644]

index 0e64de03a449307228433eb785dcb868795f948a..446d7922e6492fbff32c40941345b9a6e588b0a6 100644 (file)
@@ -1,2 +1,3 @@
 DIST drumstick-0.5.0.tar.bz2 200914 SHA256 5a12bcf2a26dac7f2a5c9507c662c4c85556881c64bb55365dceb437cf3652cd SHA512 12078dbeae7166da210ccbbaee9d55b4c9e233fd317de72c20482466cd29987c976290efecd29cc28a5be6ed7e3b9fe95ddf1081d75222d9cf9d6aef13080a21 WHIRLPOOL 6d7b35259280aacf0ec414868068f136c39bb8e488848d110739481cbf6bb874cb46c95b98bc8f541185816ff81819494716e2706d9e6a59519bdc2e9520a425
 DIST drumstick-1.0.0.tar.bz2 231036 SHA256 c10520e34524c904a24b7f93cddcdcb95eec3cd2f358d96be8dfc809df062b99 SHA512 631ea32ab1a611266c650d6e9c4be564556f9c965c85a600097bbe909d594f601c917ff9fb46af444a0907472dd522e61bca6d4111ad6b1beec06ae267c5e33a WHIRLPOOL 9fbdc310326b8ae6ab468182d9c6dad07b2961fbfa4a53ad611f0a4a2f51ccf03ddd28f19a9731181e3b94387245706ea1d40950c6c99e311a9dcdd4e845cebb
+DIST drumstick-1.0.1.tar.bz2 233551 SHA256 bbe190dc9e2af52b8c5cd4453c7d0346835e66ec2ca49f0ad2188b55508faf57 SHA512 d1d3fd3d4d460d8c53dbd73dd449bd049f6baac653b6eaac8800d7a615881e5ef29877c82fb5e162f2612c004e2c70236206476ff4fe505fd20497f737ac1ab0 WHIRLPOOL 894b1f2379cee7b13ed3f6f8e9e5742ba9d682bdb1b6e4ef6b8e001c89b0bdaf5dc78079e6ec8018c6f39126ffe861ada35d8868fb2be89b86ee1cd9f12b6a77
diff --git a/media-sound/drumstick/drumstick-1.0.1.ebuild b/media-sound/drumstick/drumstick-1.0.1.ebuild
new file mode 100644 (file)
index 0000000..0895566
--- /dev/null
@@ -0,0 +1,75 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit cmake-utils fdo-mime gnome2-utils
+
+DESCRIPTION="Qt4/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"
+
+RDEPEND="
+       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
+       x11-misc/shared-mime-info
+"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       doc? (
+               app-doc/doxygen
+               app-text/docbook-xsl-stylesheets
+               dev-libs/libxslt
+       )
+"
+
+DOCS=( AUTHORS ChangeLog NEWS README TODO )
+
+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
+}