Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2015
288
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.93 KB | None | 0 0
  1. # Maintainer: ZKenJ <zkenjm@gmail.com>
  2. # Contributor: Cilyan
  3. # Contributor: Dan Serban
  4. # Contributor: Theo Nicolau
  5.  
  6. pkgname=slowmovideo-git
  7. pkgver=20150402
  8. pkgrel=1
  9. pkgdesc="Video slow motion effect via interpolation"
  10. arch=('i686' 'x86_64')
  11. url="http://slowmovideo.granjow.net/index.html"
  12. license=('GPL')
  13. depends=('ffmpeg' 'freeglut' 'glew' 'libjpeg-turbo' 'libpng' 'opencv' 'qt4' 'sdl')
  14. makedepends=('cmake' 'git')
  15. provides=('slowmovideo')
  16. conflicts=('slowmovideo')
  17. source=('git+https://github.com/slowmoVideo/slowmoVideo.git')
  18. md5sums=('SKIP')
  19.  
  20. pkgver() {
  21. cd "${srcdir}"/slowmoVideo
  22. git log -1 --format='%cd' --date=short | tr -d -- '-'
  23. }
  24.  
  25. build() {
  26. cd "${srcdir}/slowmoVideo"
  27. mkdir build && cd build
  28. export LDFLAGS="-lX11 ${LDFLAGS}"
  29. cmake -DUSE_QTKIT=FALSE -DENABLE_TESTS=FALSE -DCMAKE_INSTALL_PREFIX=/usr ../src
  30. make
  31. }
  32.  
  33. package() {
  34. cd "${srcdir}/slowmoVideo/build"
  35. make DESTDIR="${pkgdir}" install
  36. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement