vdrgraphtft-avp-0.3.1.ebuild 813 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. # Copyright 1999-2014 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=5
  4. inherit eutils
  5. MY_PN="${PN/vdrgraphtft-avp/alien-vs-predator}"
  6. DESCRIPTION="GraphTFT theme: Alien vs Predator"
  7. HOMEPAGE="http://www.vdr-wiki.de/wiki/index.php/Graphtft-plugin"
  8. SRC_URI="http://www.jwendel.de/vdr/${MY_PN}-${PV}.tar.bz2"
  9. KEYWORDS="~amd64 ~x86"
  10. SLOT="0"
  11. LICENSE="GPL-2 LGPL-2.1"
  12. IUSE=""
  13. DEPEND=""
  14. RDEPEND="${DEPEND}
  15. || (
  16. >=media-plugins/vdr-graphtft-0.3.1
  17. media-plugins/vdr-graphtftng
  18. )"
  19. S="${WORKDIR}/avp"
  20. src_prepare() {
  21. # remove dead links
  22. cd "${S}"/columnimages
  23. rm {srew.png,pause.png,frew1.png,frew2.png,frew3.png,play.png,ffwd1.png,ffwd2.png,ffwd3.png,sfwd.png,recOn.png}
  24. }
  25. src_install() {
  26. insinto /usr/share/vdr/graphTFT/themes/avp/
  27. doins -r "${S}"/*
  28. }