logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git

kanatest-0.4.8.ebuild (1011B)


  1. # Copyright 1999-2017 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. inherit autotools eutils gnome2-utils
  5. DESCRIPTION="Visual flashcard tool for memorizing the Japanese Hiragana and Katakana alphabet"
  6. HOMEPAGE="http://www.clayo.org/kanatest/"
  7. SRC_URI="http://www.clayo.org/${PN}/${P}.tar.gz"
  8. LICENSE="GPL-2 GPL-2+"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
  11. IUSE=""
  12. RDEPEND=">=x11-libs/gtk+-2.12:2=
  13. dev-libs/libxml2:="
  14. DEPEND="${RDEPEND}
  15. virtual/pkgconfig"
  16. DOCS="AUTHORS TRANSLATORS ChangeLog README"
  17. src_prepare() {
  18. default
  19. epatch \
  20. "${FILESDIR}"/${P}+gtk-2.22.patch \
  21. "${FILESDIR}"/${P}-autoconf.patch \
  22. "${FILESDIR}"/${P}-cflags.patch \
  23. "${FILESDIR}"/${P}-no_datetime.patch
  24. sed -i \
  25. -e '/Encoding/d' \
  26. -e '/^Categories/s:Application;::' \
  27. -e '/^Icon/s:.png::' \
  28. data/${PN}.desktop || die
  29. eautoreconf
  30. }
  31. pkg_preinst() { gnome2_icon_savelist; }
  32. pkg_postinst() { gnome2_icon_cache_update; }
  33. pkg_postrm() { gnome2_icon_cache_update; }