sys-fs/android-file-transfer-linux: Bumped live ebuild to EAPI-7
authorLars Wendler <polynomial-c@gentoo.org>
Mon, 20 May 2019 08:30:11 +0000 (10:30 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Mon, 20 May 2019 09:24:19 +0000 (11:24 +0200)
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild

index de7813d306531b83ba79e443fe1e888b18c772d0..dbd8f4ce067cee09825118e9921aa523a53afb55 100644 (file)
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Authors
+# 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="Android File Transfer for Linux"
 HOMEPAGE="https://github.com/whoozle/android-file-transfer-linux"
@@ -34,6 +34,11 @@ RDEPEND="
 
 DEPEND="${RDEPEND}"
 
+# required to override src_prepare from xdg eclass
+src_prepare() {
+       cmake-utils_src_prepare
+}
+
 src_configure() {
        local mycmakeargs=(
                -DBUILD_FUSE="$(usex fuse)"
@@ -46,14 +51,14 @@ src_configure() {
        cmake-utils_src_configure
 }
 
-pkg_preinst() { gnome2_icon_savelist ; }
+pkg_preinst() {
+       xdg_pkg_preinst
+}
 
 pkg_postinst() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
+       xdg_pkg_postinst
 }
 
 pkg_postrm() {
-       gnome2_icon_cache_update
-       xdg_desktop_database_update
+       xdg_pkg_postrm
 }