media-sound/rosegarden: EAPI-7 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Sun, 5 May 2019 19:38:35 +0000 (21:38 +0200)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 8 May 2019 17:03:33 +0000 (19:03 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/rosegarden/rosegarden-17.12.1.ebuild

index 2e2fb9280351ffd1fb977ae098212433794cec95..a62b21c7fa7096f9f35fb658e121d2c324be086e 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 gnome2-utils xdg-utils
+inherit cmake-utils xdg
 
 DESCRIPTION="MIDI and audio sequencer and notation editor"
 HOMEPAGE="https://www.rosegardenmusic.com/"
@@ -14,6 +14,10 @@ SLOT="0"
 KEYWORDS="~amd64 ~ppc ~x86"
 IUSE="lirc"
 
+BDEPEND="
+       dev-qt/linguist-tools:5
+       virtual/pkgconfig
+"
 RDEPEND="
        dev-qt/qtcore:5
        dev-qt/qtgui:5
@@ -35,30 +39,16 @@ RDEPEND="
        lirc? ( app-misc/lirc:= )
 "
 DEPEND="${RDEPEND}
-       dev-qt/linguist-tools:5
        dev-qt/qttest:5
-       virtual/pkgconfig
 "
 
+src_prepare() {
+       cmake-utils_src_prepare
+}
+
 src_configure() {
        local mycmakeargs=(
                "-DDISABLE_LIRC=$(usex lirc OFF ON)"
        )
        cmake-utils_src_configure
 }
-
-pkg_preinst() {
-       gnome2_icon_savelist
-}
-
-pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-       xdg_mimeinfo_database_update
-}