1 # Contributor: Mariano Copetti <marianocopetti@gmail.com>
6 pkgdesc="A Qt frontend for HandBrake, an open-source, GPL-licensed, multiplatform, multithreaded DVD to MPEG-4 converter."
8 url="http://forum.handbrake.fr/viewtopic.php?f=4&t=6388"
11 makedepends=('ftjam' 'git' 'yasm' 'python' 'phonon')
12 source=('qhandbrake.desktop' 'A99-dvdread-aclocal-install.patch' 'A99-dvdnav-aclocal-install.patch')
13 md5sums=('5cfbaa7109266b7071aa63c5c6884686' '25fc6f654c4b792dc75d37b32ceee481' 'b4fbe1c505ce65cdb68d727ea31fd81d')
15 _gitroot="git://repo.or.cz/HandBrake.git"
22 if [[ -d $_gitname ]]; then
23 (cd $_gitname && git pull origin)
27 git checkout -b bonne/qhandbrake origin/bonne/qhandbrake
30 msg "GIT checkout done or server timeout"
31 msg "Starting make..."
34 rm -rf $_gitname-build
35 cp -r $_gitname $_gitname-build
39 cp ${srcdir}/A99-dvdread-aclocal-install.patch ${srcdir}/$_gitname-build/contrib/libdvdread || return 1
40 cp ${srcdir}/A99-dvdnav-aclocal-install.patch ${srcdir}/$_gitname-build/contrib/libdvdnav || return 1
42 ./configure --disable-gtk || return 1
46 install -D -m755 qtHB $startdir/pkg/usr/bin/qhandbrake
47 install -D -m644 $srcdir/$_gitname-build/qt/gtkicons/hb-icon.128.png /$startdir/pkg/usr/share/pixmaps/qhandbrake.png
48 install -D -m644 $startdir/qhandbrake.desktop $startdir/pkg/usr/share/applications/qhandbrake.desktop