commit:     744ca537be2b3f016ef6771139958215be10ad43
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 10 21:46:55 2019 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 10 22:45:51 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=744ca537

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 <AT> gentoo.org>

 media-sound/drumstick/drumstick-1.1.1.ebuild | 48 ++++++++++------------------
 1 file 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 dec23c6a8c8..637a6a2cf57 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
-}

Reply via email to