media-sound/drumstick: EAPI-7 bump, add media-sound/fluidsynth slot op
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Mar 2019 21:46:55 +0000 (22:46 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 10 Mar 2019 22:45:51 +0000 (23:45 +0100)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/drumstick/drumstick-1.1.1.ebuild

index dec23c6a8c83b26717c37bf8e4b647e77b95ff17..637a6a2cf57ff3b6140427fdc3ff18027793ec2a 100644 (file)
@@ -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
-}