From 4e1ea675b2a75d06c0fdf8f24bc8c6847eb60f83 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Fri, 15 Feb 2019 22:16:57 +0100 Subject: app-editors/leafpad: Switch from gnome2-utils to xdg, EAPI-7 bump Package-Manager: Portage-2.3.60, Repoman-2.3.12 Signed-off-by: Andreas Sturmlechner --- app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild | 30 ++++++++++---------------- 1 file changed, 11 insertions(+), 19 deletions(-) (limited to 'app-editors') diff --git a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild index e1af082f7930..aacccf082f76 100644 --- a/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild +++ b/app-editors/leafpad/leafpad-0.8.18.1-r1.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit gnome2-utils xdg-utils +EAPI=7 -DESCRIPTION="A simple GTK2 text editor" +inherit xdg + +DESCRIPTION="Simple GTK2 text editor" HOMEPAGE="http://tarot.freeshell.org/leafpad/" SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" @@ -13,15 +14,16 @@ SLOT="0" KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="emacs" -RDEPEND=" - virtual/libintl - x11-libs/gtk+:2 -" -DEPEND="${RDEPEND} +BDEPEND=" dev-util/intltool sys-devel/gettext virtual/pkgconfig " +DEPEND=" + virtual/libintl + x11-libs/gtk+:2 +" +RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-fdo.patch @@ -37,13 +39,3 @@ src_configure() { --enable-print \ $(use_enable emacs) } - -pkg_postinst() { - xdg_desktop_database_update - gnome2_icon_cache_update -} - -pkg_postrm() { - xdg_desktop_database_update - gnome2_icon_cache_update -} -- cgit v1.2.3-65-gdbad