gtkcdlabel-1.15.ebuild 767 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # Copyright 1999-2016 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=6
  4. PYTHON_COMPAT=( python2_7 )
  5. inherit python-single-r1
  6. DESCRIPTION="A GUI for cdlabelgen that generates CD labels"
  7. HOMEPAGE="http://gtkcdlabel.sourceforge.net/"
  8. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
  9. LICENSE="GPL-2"
  10. SLOT="0"
  11. KEYWORDS="~amd64 ~ppc ~sparc ~x86"
  12. IUSE=""
  13. DEPEND="${PYTHON_DEPS}
  14. >=app-cdr/cdlabelgen-4
  15. dev-python/pygtk[${PYTHON_USEDEP}]"
  16. RDEPEND="${DEPEND}"
  17. REQUIRED_USE="${PYTHON_REQUIRED_USE}"
  18. S="${WORKDIR}"
  19. src_prepare() {
  20. default
  21. python_fix_shebang .
  22. }
  23. src_install() {
  24. dobin "usr/bin/${PN}.py"
  25. insinto /usr/share
  26. doins -r usr/share/{applications,"${PN}",pixmaps}
  27. dodoc usr/share/doc/"${PN}"/{AUTHORS,README}
  28. }