From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 656F9138335 for ; Mon, 20 May 2019 09:24:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 35B99E0825; Mon, 20 May 2019 09:24:35 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A874E0825 for ; Mon, 20 May 2019 09:24:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B3B28344B72 for ; Mon, 20 May 2019 09:24:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4815A5DC for ; Mon, 20 May 2019 09:24:31 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1558344259.d17550a676ce0cbf9c71805441e6a80daae1b7fe.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/android-file-transfer-linux/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/android-file-transfer-linux/android-file-transfer-linux-9999.ebuild X-VCS-Directories: sys-fs/android-file-transfer-linux/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: d17550a676ce0cbf9c71805441e6a80daae1b7fe X-VCS-Branch: master Date: Mon, 20 May 2019 09:24:31 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c8ad00b5-93f7-4834-8f89-b3d95361ea9b X-Archives-Hash: 5bdc20e9674a4df4325a987b1b422d43 commit: d17550a676ce0cbf9c71805441e6a80daae1b7fe Author: Lars Wendler gentoo org> AuthorDate: Mon May 20 08:30:11 2019 +0000 Commit: Lars Wendler gentoo org> CommitDate: Mon May 20 09:24:19 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17550a6 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 gentoo.org> .../android-file-transfer-linux-9999.ebuild | 21 +++++++++++++-------- 1 file 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 de7813d3065..dbd8f4ce067 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 }