1 # Maintainer: Dan Serban
3 pkgname=slowmovideo-git
6 pkgdesc="Slows down video playback"
8 url=http://slowmovideo.granjow.net/index.html
10 depends=(ffmpeg freeglut glew nvidia-cg-toolkit opencv qt sdl)
11 makedepends=(cmake git)
17 git clone git://granjow.net/slowmoVideo.git
18 cd "${srcdir}"/slowmoVideo/slowmoVideo
24 cd "${srcdir}"/slowmoVideo/V3D
30 mkdir -p "${pkgdir}"/usr/share/slowmovideo
31 cd "${srcdir}"/slowmoVideo/install
32 mv bin include lib "${pkgdir}"/usr/share/slowmovideo/
33 mkdir -p "${pkgdir}"/usr/bin
34 USRBINFILE="${pkgdir}"/usr/bin/slowmovideo
35 echo '#!/bin/bash' > "${USRBINFILE}"
36 echo 'cd /usr/share/slowmovideo/bin' >> "${USRBINFILE}"
37 echo './slowmoUI' >> "${USRBINFILE}"
38 chmod +x "${USRBINFILE}"