From bcefaef0574966a919b382eacb56b5ca61c5d4f0 Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 2 Dec 2014 17:39:47 +0000 Subject: handbrake: update to 0.10.0 --- abs/extra/handbrake/PKGBUILD | 37 +++++++++++++------------------------ 1 file changed, 13 insertions(+), 24 deletions(-) diff --git a/abs/extra/handbrake/PKGBUILD b/abs/extra/handbrake/PKGBUILD index f7cef21..058f218 100644 --- a/abs/extra/handbrake/PKGBUILD +++ b/abs/extra/handbrake/PKGBUILD @@ -4,41 +4,30 @@ # Contributor: Sebastien Piccand pkgname=('handbrake' 'handbrake-cli') -pkgver=0.9.9 -pkgrel=6 +pkgver=0.10.0 +pkgrel=1 arch=('i686' 'x86_64') url="http://handbrake.fr/" license=('GPL') makedepends=('intltool' 'python2' 'yasm' 'wget' 'bzip2' 'gcc-libs' 'libnotify' - 'gst-plugins-base' 'gtk3' 'dbus-glib' 'fribidi' 'libass' - 'fontconfig' 'freetype2' 'libxml2' 'libogg' 'libvorbis' - 'libtheora' 'libsamplerate' 'libbluray' 'x264') + 'gst-plugins-base' 'gtk3' 'dbus-glib' 'fribidi' 'libass' 'lame' + 'fontconfig' 'freetype2' 'libxml2' 'libogg' 'libvorbis' 'cmake' + 'libtheora' 'libsamplerate' 'libbluray' 'x264' 'libx264' + 'libdvdnav') source=(http://downloads.sourceforge.net/project/handbrake/$pkgver/HandBrake-$pkgver.tar.bz2) -sha256sums=('a71dd774104cda00cfb51a813550351d638253791f2f419d04a66f3158a835b3') +sha256sums=('a91042da3cc08454844f7c171ee2fde4f0ed08176407fc0328d5118227ed4114') prepare() { cd "$srcdir/HandBrake-$pkgver" - # Use Python 2 - sed -i 's/python /python2 /' gtk/src/Makefile.am - # Use more system libs # We had ffmpeg here as well but it broke PGS subtitle processing # https://forum.handbrake.fr/viewtopic.php?f=13&t=27581 sed -i \ -e '/MODULES += contrib\/libbluray/d' \ - -e '/MODULES += contrib\/x264/d' \ + -e '/MODULES += contrib\/libdvdnav/d' \ + -e '/MODULES += contrib\/libdvdread/d' \ make/include/main.defs - - # Fix configure.ac to work with automake 1.13 - cd gtk - sed -i \ - -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \ - -e '/AM_PROG_CC_STDC/d' \ - -e 's/$pkg_gudev"/gmodule-2.0 $pkg_gudev"/' \ - configure.ac - - autoreconf -vi } build() { @@ -55,9 +44,9 @@ build() { package_handbrake() { pkgdesc="Multithreaded video transcoder" depends=('bzip2' 'gcc-libs' 'gst-plugins-base' 'libnotify' 'dbus-glib' - 'fribidi' 'libass' 'gtk3' 'fontconfig' 'freetype2' 'libxml2' + 'fribidi' 'libass' 'lame' 'gtk3' 'fontconfig' 'freetype2' 'libxml2' 'libogg' 'libvorbis' 'libtheora' 'libsamplerate' 'libbluray' - 'x264' 'desktop-file-utils' 'hicolor-icon-theme') + 'libx264' 'libdvdnav' 'desktop-file-utils' 'hicolor-icon-theme') optdepends=('gst-plugins-good: for video previews' 'gst-libav: for video previews') install=$pkgname.install @@ -70,8 +59,8 @@ package_handbrake() { package_handbrake-cli() { pkgdesc="Multithreaded video transcoder (CLI)" - depends=('bzip2' 'gcc-libs' 'zlib' 'fribidi' 'libass' 'libxml2' 'libtheora' - 'libsamplerate' 'libbluray' 'x264') + depends=('bzip2' 'gcc-libs' 'zlib' 'fribidi' 'libass' 'lame' 'libxml2' + 'libtheora' 'libsamplerate' 'libbluray' 'libx264' 'libdvdnav') cd "$srcdir/HandBrake-$pkgver/build" install -D HandBrakeCLI "$pkgdir/usr/bin/HandBrakeCLI" -- cgit v0.12