videocut-0.2.0.ebuild 823 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Copyright 1999-2013 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. EAPI=2
  4. inherit eutils qt4-r2
  5. DESCRIPTION="A program to create compositions from video files"
  6. HOMEPAGE="https://code.google.com/p/videocut/"
  7. SRC_URI="https://${PN}.googlecode.com/files/${PN}_${PV}.tar.gz"
  8. LICENSE="GPL-2"
  9. SLOT="0"
  10. KEYWORDS="~amd64 ~x86"
  11. IUSE=""
  12. DEPEND="dev-qt/qtgui:4
  13. dev-qt/qtsvg:4
  14. media-libs/xine-lib"
  15. RDEPEND="${DEPEND}"
  16. S=${WORKDIR}/${P}.orig
  17. PATCHES=( "${FILESDIR}"/01-fix-hardened-ftbfs.diff )
  18. src_compile() {
  19. emake || die
  20. lrelease i18n/*.ts
  21. }
  22. src_install() {
  23. exeinto /usr/libexec
  24. doexe build/result/${PN} || die
  25. dobin "${FILESDIR}"/${PN} || die
  26. insinto /usr/share/${PN}/i18n
  27. doins -r i18n/*.qm || die
  28. domenu ${PN}.desktop
  29. doicon videocut.svg
  30. dodoc ABOUT AUTHORS THANKSTO
  31. }