From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- app-editors/leafpad/leafpad-0.8.18.1.ebuild | 44 +++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 app-editors/leafpad/leafpad-0.8.18.1.ebuild (limited to 'app-editors/leafpad/leafpad-0.8.18.1.ebuild') diff --git a/app-editors/leafpad/leafpad-0.8.18.1.ebuild b/app-editors/leafpad/leafpad-0.8.18.1.ebuild new file mode 100644 index 000000000000..9497f53825fb --- /dev/null +++ b/app-editors/leafpad/leafpad-0.8.18.1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit gnome2-utils xdg-utils + +DESCRIPTION="A simple GTK2 text editor" +HOMEPAGE="http://tarot.freeshell.org/leafpad/" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux" +IUSE="emacs" + +RDEPEND="virtual/libintl + x11-libs/gtk+:2" +DEPEND="${RDEPEND} + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-fdo.patch + "${FILESDIR}"/${P}-format-security.patch +) + +src_configure() { + econf \ + --enable-chooser \ + --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