diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2019-05-20 10:30:11 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2019-05-20 11:24:19 +0200 |
commit | d17550a676ce0cbf9c71805441e6a80daae1b7fe (patch) | |
tree | 432589a2e4ff145c04376efb17a41c797b11f2cb /sys-fs | |
parent | app-admin/exo: version bump to 1.3.0 (diff) | |
download | gentoo-d17550a676ce0cbf9c71805441e6a80daae1b7fe.tar.gz gentoo-d17550a676ce0cbf9c71805441e6a80daae1b7fe.tar.bz2 gentoo-d17550a676ce0cbf9c71805441e6a80daae1b7fe.zip |
sys-fs/android-file-transfer-linux: Bumped live ebuild to EAPI-7
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild index de7813d30653..dbd8f4ce067c 100644 --- a/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild +++ b/sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild @@ -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 } |