summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-03-10 22:46:55 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-03-10 23:45:51 +0100
commit744ca537be2b3f016ef6771139958215be10ad43 (patch)
tree56795534c20c24d5d710207a28d8752820561308
parentmedia-plugins/audacious-plugins: Add media-sound/fluidsynth slot op (diff)
downloadgentoo-744ca537.tar.gz
gentoo-744ca537.tar.bz2
gentoo-744ca537.zip
media-sound/drumstick: EAPI-7 bump, add media-sound/fluidsynth slot op
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--media-sound/drumstick/drumstick-1.1.1.ebuild48
1 files changed, 16 insertions, 32 deletions
diff --git a/media-sound/drumstick/drumstick-1.1.1.ebuild b/media-sound/drumstick/drumstick-1.1.1.ebuild
index dec23c6a8c83..637a6a2cf57f 100644
--- a/media-sound/drumstick/drumstick-1.1.1.ebuild
+++ b/media-sound/drumstick/drumstick-1.1.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils xdg-utils gnome2-utils
+inherit cmake-utils xdg
DESCRIPTION="Qt/C++ wrapper for ALSA sequencer"
HOMEPAGE="http://drumstick.sourceforge.net/"
@@ -14,9 +14,16 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc fluidsynth pulseaudio"
-RESTRICT="test"
-
-RDEPEND="
+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
@@ -27,18 +34,12 @@ RDEPEND="
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
- )
-"
+RDEPEND="${DEPEND}"
DOCS=( AUTHORS ChangeLog NEWS README TODO )
+RESTRICT="test"
+
src_prepare() {
cmake-utils_src_prepare
@@ -65,7 +66,6 @@ src_configure() {
src_compile() {
cmake-utils_src_compile
-
use doc && cmake-utils_src_compile doxygen
}
@@ -76,19 +76,3 @@ src_install() {
dodoc -r "${BUILD_DIR}"/doc/html
fi
}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}
-
-pkg_postrm() {
- xdg_desktop_database_update
- xdg_mimeinfo_database_update
- gnome2_icon_cache_update
-}