diff options
author | Marty E. Plummer <hanetzer@startmail.com> | 2018-04-03 21:02:25 -0500 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-04-05 01:02:58 +0200 |
commit | 30dfb5a7e6af038f1a153672439e72d68247a5bf (patch) | |
tree | a9529b9b6a7952ef344e3f1bd7fac57b5182ce65 /app-editors/leafpad/leafpad-0.8.18.1.ebuild | |
parent | media-gfx/ufraw: stable 0.22-r2 for ppc, bug #646982 (diff) | |
download | gentoo-30dfb5a7e6af038f1a153672439e72d68247a5bf.tar.gz gentoo-30dfb5a7e6af038f1a153672439e72d68247a5bf.tar.bz2 gentoo-30dfb5a7e6af038f1a153672439e72d68247a5bf.zip |
app-editors/leafpad: fdo-mime -> xdg-utils
Also bumped EAPI to 6 and replaced eutils/epatch with a PATCHES=()
array, reformatted patches to apply.
Package-Manager: Portage-2.3.27, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/7798
Diffstat (limited to 'app-editors/leafpad/leafpad-0.8.18.1.ebuild')
-rw-r--r-- | app-editors/leafpad/leafpad-0.8.18.1.ebuild | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app-editors/leafpad/leafpad-0.8.18.1.ebuild b/app-editors/leafpad/leafpad-0.8.18.1.ebuild index da4ae0fc45eb..e2044fce5405 100644 --- a/app-editors/leafpad/leafpad-0.8.18.1.ebuild +++ b/app-editors/leafpad/leafpad-0.8.18.1.ebuild @@ -1,8 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=5 -inherit eutils fdo-mime gnome2-utils +EAPI=6 + +inherit gnome2-utils xdg-utils DESCRIPTION="A simple GTK2 text editor" HOMEPAGE="http://tarot.freeshell.org/leafpad/" @@ -22,11 +23,10 @@ DEPEND="${RDEPEND} DOCS="AUTHORS ChangeLog NEWS README" -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-fdo.patch \ - "${FILESDIR}"/${P}-format-security.patch -} +PATCHES=( + "${FILESDIR}"/${PN}-0.8.18.1-fdo.patch + "${FILESDIR}"/${PN}-0.8.18.1-format-security.patch +) src_configure() { econf \ @@ -40,11 +40,11 @@ pkg_preinst() { } pkg_postinst() { - fdo-mime_desktop_database_update + xdg_desktop_database_update gnome2_icon_cache_update } pkg_postrm() { - fdo-mime_desktop_database_update + xdg_desktop_database_update gnome2_icon_cache_update } |