diff options
Diffstat (limited to 'media-sound/drumstick/drumstick-1.0.0.ebuild')
-rw-r--r-- | media-sound/drumstick/drumstick-1.0.0.ebuild | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/media-sound/drumstick/drumstick-1.0.0.ebuild b/media-sound/drumstick/drumstick-1.0.0.ebuild new file mode 100644 index 000000000000..8979c796d558 --- /dev/null +++ b/media-sound/drumstick/drumstick-1.0.0.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/drumstick/drumstick-1.0.0.ebuild,v 1.1 2014/12/03 07:54:40 kensington Exp $ + +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 +} |