diff options
Diffstat (limited to 'abs/extra/handbrake/PKGBUILD')
-rw-r--r-- | abs/extra/handbrake/PKGBUILD | 50 |
1 files changed, 26 insertions, 24 deletions
diff --git a/abs/extra/handbrake/PKGBUILD b/abs/extra/handbrake/PKGBUILD index 7946bd5..386eb08 100644 --- a/abs/extra/handbrake/PKGBUILD +++ b/abs/extra/handbrake/PKGBUILD @@ -1,46 +1,48 @@ -# $Id: PKGBUILD 84760 2010-07-04 06:05:09Z eric $ +# $Id$ +# Maintainer: Evangelos Foutras <evangelos@foutrelis.com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> # Contributor: Sebastien Piccand <sebcactus gmail com> -pkgbase=handbrake pkgname=('handbrake' 'handbrake-cli') -pkgver=0.9.4 -pkgrel=3 +pkgver=0.9.6 +pkgrel=1 arch=('i686' 'x86_64') url="http://handbrake.fr/" license=('GPL') -depends=('bzip2' 'hal' 'libnotify' 'libwebkit') -makedepends=('intltool' 'python' 'yasm') -source=(http://saintdevelopment.com/mirror/${pkgname}/HandBrake-${pkgver}.tar.bz2 - gtk2.20_fixes.patch) -md5sums=('69f88b2e602550615da75947f914d7e6' 'e0296baaed129dceaf0d29c8284dc9fe') -sha1sums=('91329a83315b7eae0b2b3731a8bf0f2de2a6eb4d' '17b39144d9883b1f63d9b9ff2f6770b35bbdb16a') +makedepends=('intltool' 'python2' 'yasm' 'wget' 'bzip2' 'gcc-libs' 'libnotify' + 'gstreamer0.10-base' 'gtk2' 'dbus-glib' 'fribidi') +source=(http://downloads.sourceforge.net/project/handbrake/$pkgver/HandBrake-$pkgver.tar.bz2) +sha256sums=('8e7d3dd6d9eb10ba633bf0b6cabcc50a995699ec448f86cb9579c0d2fc7005f5') build() { - cd "${srcdir}/HandBrake-${pkgver}" + cd "$srcdir/HandBrake-$pkgver" - #this patch is cherry picked from svn. remove it when updating to a new version - patch -Np0 -i ${srcdir}/gtk2.20_fixes.patch + # Use Python 2 + sed -i 's/python /python2 /' gtk/src/Makefile.am - ./configure --prefix=/usr --force + ./configure --prefix=/usr --force --disable-gtk-update-checks cd build make } package_handbrake() { - pkgdesc="Multiplatform, multithreaded DVD to MPEG-4/H264/Theora converter" - install=${pkgname}.install + pkgdesc="Multithreaded video transcoder" + depends=('bzip2' 'gcc-libs' 'gstreamer0.10-base' 'libnotify' 'dbus-glib' + 'fribidi' 'gtk2' 'desktop-file-utils' 'hicolor-icon-theme') + install=$pkgname.install - cd "${srcdir}/HandBrake-${pkgver}/build" - make DESTDIR="${pkgdir}" install - rm "${pkgdir}/usr/bin/HandBrakeCLI" + cd "$srcdir/HandBrake-$pkgver/build" + + make DESTDIR="$pkgdir" install + rm "$pkgdir/usr/bin/HandBrakeCLI" } package_handbrake-cli() { - pkgdesc="Multiplatform, multithreaded DVD to MPEG-4/H264/Theora converter (CLI version)" - depends=('bzip2' 'gcc-libs' 'zlib') - conflict=('handbrake<=0.9.4-2') + pkgdesc="Multithreaded video transcoder (CLI)" + depends=('bzip2' 'gcc-libs' 'zlib' 'fribidi') - cd "${srcdir}/HandBrake-${pkgver}/build" - install -D -m 755 HandBrakeCLI "${pkgdir}/usr/bin/HandBrakeCLI" + cd "$srcdir/HandBrake-$pkgver/build" + install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI" } + +# vim:set ts=2 sw=2 et: |