diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-editors/leafpad/leafpad-0.8.18.1.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-editors/leafpad/leafpad-0.8.18.1.ebuild')
-rw-r--r-- | app-editors/leafpad/leafpad-0.8.18.1.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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..da4ae0fc45eb --- /dev/null +++ b/app-editors/leafpad/leafpad-0.8.18.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit eutils fdo-mime gnome2-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" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}-fdo.patch \ + "${FILESDIR}"/${P}-format-security.patch +} + +src_configure() { + econf \ + --enable-chooser \ + --enable-print \ + $(use_enable emacs) +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} + +pkg_postrm() { + fdo-mime_desktop_database_update + gnome2_icon_cache_update +} |