media-sound/cantata: Switch from gnome2-utils to xdg, EAPI-7 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 Feb 2019 18:04:14 +0000 (19:04 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 14 Feb 2019 18:36:12 +0000 (19:36 +0100)
Package-Manager: Portage-2.3.60, Repoman-2.3.12
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
media-sound/cantata/cantata-2.3.3.ebuild

index 0db70f0c745a2362892d93329f7e2db84f565823..063ffce416a9fbc2286b60590c622c6cb7291dec 100644 (file)
@@ -1,10 +1,10 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 PLOCALES="cs da de en_GB es fr hu it ja ko pl pt_BR ru zh_CN"
-inherit cmake-utils gnome2-utils l10n qmake-utils xdg-utils
+inherit cmake-utils l10n qmake-utils xdg
 
 DESCRIPTION="Featureful and configurable Qt client for the music player daemon (MPD)"
 HOMEPAGE="https://github.com/CDrummond/cantata"
@@ -24,6 +24,9 @@ REQUIRED_USE="
        replaygain? ( taglib )
 "
 
+BDEPEND="
+       dev-qt/linguist-tools:5
+"
 COMMON_DEPEND="
        dev-qt/qtcore:5
        dev-qt/qtdbus:5
@@ -59,7 +62,6 @@ RDEPEND="${COMMON_DEPEND}
 "
 DEPEND="${COMMON_DEPEND}
        dev-qt/qtconcurrent:5
-       dev-qt/linguist-tools:5
 "
 
 # cantata has no tests
@@ -105,8 +107,7 @@ src_configure() {
 }
 
 pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
+       xdg_pkg_postinst
 
        has_version media-sound/mpd || \
                elog "An instance of media-sound/mpd, local or remote, is required to set up Cantata."
@@ -116,8 +117,3 @@ pkg_postinst() {
                elog "and querying of portable media players"
        fi
 }
-
-pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
-}