Guest User

Untitled

a guest
Sep 30th, 2012
54
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Copyright 1999-2011 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI=2
  6.  
  7. inherit cmake-utils git-2 eutils
  8.  
  9. DESCRIPTION="slowmoVideo create slow-motion videos from your footage"
  10. HOMEPAGE="http://slowmovideo.granjow.net/"
  11. EGIT_REPO_URI="https://github.com/Granjow/slowmoVideo.git"
  12. EGIT_BRANCH="master"
  13.  
  14. LICENSE="BSD"
  15.  
  16. SLOT="0"
  17.  
  18. KEYWORDS="~x86 ~amd64"
  19.  
  20. IUSE=""
  21.  
  22. DEPEND="dev-util/cmake
  23. dev-vcs/git
  24. virtual/ffmpeg
  25. x11-libs/qt-opengl
  26. media-libs/freeglut
  27. media-libs/glew
  28. media-libs/libsdl
  29. media-libs/opencv
  30. media-gfx/nvidia-cg-toolkit
  31. virtual/jpeg"
  32.  
  33. RDEPEND="${DEPEND}"
  34.  
  35. src_compile() {
  36. cd ${S}/slowmoVideo/ || die "Build failed!"
  37. cmake-utils_src_configure || die
  38. cmake-utils_src_compile || die
  39. # CMAKE_INSTALL_PREFIX=/usr
  40. cd ${S}/V3D/ || die "Build failed!"
  41. cmake-utils_src_configure || die
  42. cmake-utils_src_compile || die
  43. }
  44.  
  45.  
  46. src_install() {
  47. cd ${D}/slowmoVideo/
  48. emake install || die
  49. cd ${D}/V3D/
  50. emake install || die
  51. }
RAW Paste Data