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-misc/kanatest/kanatest-0.4.8.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-misc/kanatest/kanatest-0.4.8.ebuild')
-rw-r--r-- | app-misc/kanatest/kanatest-0.4.8.ebuild | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-misc/kanatest/kanatest-0.4.8.ebuild b/app-misc/kanatest/kanatest-0.4.8.ebuild new file mode 100644 index 000000000000..903fce705d6e --- /dev/null +++ b/app-misc/kanatest/kanatest-0.4.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools eutils gnome2-utils + +DESCRIPTION="Visual flashcard tool for memorizing the Japanese Hiragana and Katakana alphabet" +HOMEPAGE="http://www.clayo.org/kanatest" +SRC_URI="http://www.clayo.org/${PN}/${P}.tar.gz" + +LICENSE="GPL-2 GPL-2+" +SLOT="0" +KEYWORDS="amd64 ppc ppc64 x86" +IUSE="" + +RDEPEND=">=x11-libs/gtk+-2.12:2= + dev-libs/libxml2:=" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS TRANSLATORS ChangeLog README" + +src_prepare() { + epatch \ + "${FILESDIR}"/${P}+gtk-2.22.patch \ + "${FILESDIR}"/${P}-autoconf.patch \ + "${FILESDIR}"/${P}-cflags.patch + + sed -i \ + -e '/Encoding/d' \ + -e '/^Categories/s:Application;::' \ + -e '/^Icon/s:.png::' \ + data/${PN}.desktop || die + + eautoreconf +} + +pkg_preinst() { gnome2_icon_savelist; } +pkg_postinst() { gnome2_icon_cache_update; } +pkg_postrm() { gnome2_icon_cache_update; } |