summaryrefslogtreecommitdiffstats
path: root/handbrake
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2014-11-26 09:23:10 +0000
committer Eric Hameleers <alien@slackware.com>2014-11-26 09:23:10 +0000
commitf91c62e95eb328371b98663a59ae21650d848d1a (patch)
tree4d16e3cb3b740fa79a47ca41c21233ae031f37de /handbrake
parent05de372a9b102eb5eddbea9c8e6dd11ae411993e (diff)
downloadasb-f91c62e95eb328371b98663a59ae21650d848d1a.tar.gz
asb-f91c62e95eb328371b98663a59ae21650d848d1a.tar.xz
Update to 0.10.0, however this requires GTK+3 >= 3.10
Diffstat (limited to 'handbrake')
-rwxr-xr-xhandbrake/build/handbrake.SlackBuild84
1 files changed, 34 insertions, 50 deletions
diff --git a/handbrake/build/handbrake.SlackBuild b/handbrake/build/handbrake.SlackBuild
index 9ad5e156..1824d88d 100755
--- a/handbrake/build/handbrake.SlackBuild
+++ b/handbrake/build/handbrake.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
# $Id$
-# Copyright 2009, 2010, 2011, 2012, 2013 Eric Hameleers, Eindhoven, NL
+# Copyright 2009, 2010, 2011, 2012, 2013, 2014 Eric Hameleers, Eindhoven, NL
# All rights reserved.
#
# Permission to use, copy, modify, and distribute this software for
@@ -51,6 +51,8 @@
# * New release.
# 0.9.9-1: 03/jun/2013 by Eric Hameleers <alien@slackware.com>
# * New release.
+# 0.10.0-1: 24/nov/2014 by Eric Hameleers <alien@slackware.com>
+# * New release.
#
# Run 'sh handbrake.SlackBuild' to build a Slackware package.
# The package (.txz) and .txt file as well as build logs are created in /tmp .
@@ -61,37 +63,33 @@
# Set initial variables:
PRGNAM=handbrake
-VERSION=${VERSION:-0.9.9}
+VERSION=${VERSION:-0.10.0}
# Find the revision for a release tag using (example release 0.9.9):
# svn info svn://svn.handbrake.fr/HandBrake/tags/0.9.9
-RELREV=${RELREV:-"5474"}
+RELREV=${RELREV:-"6536"}
BUILD=${BUILD:-1}
TAG=${TAG:-alien}
DOCS="AUTHORS BUILD COPYING* CREDITS NEWS THANKS TRANSLATIONS"
# Versions of the contribs most of which are compiled-in:
-A52DEC=0.7.4
ASS=0.10.0-1
-BLURAY="0.2.3"
-FAAC=1.28
-FAAD2=2.7
+BLURAY="0.5.0"
FDKAAC="v0.1.1-6-gbae4553"
-FFMPEG="v9.6"
+FFMPEG="v10.1"
FONTCONFIG=2.8.0
FREETYPE=2.4.7
FRIBIDI=0.19.2
LAME=3.98
-DVDNAV=svn1168
-DVDREAD=svn1168
-MKV="0.6.5-0-g82075ae"
+DVDNAV=5.0.1-0-gaa3659d
+DVDREAD=5.0.0-6-gcb1ae87
OGG=1.3.0
SAMPLERATE=0.1.4
THEORA=1.1.0
VORBIS="aotuv_b6.03"
-MP4V2="trunk-r355"
-MPEG2DEC=0.5.1
-X264="r2273-b3065e6"
+VPX="v1.3.0"
+X264="r2479-dd79a61"
+X265="8768-5e604833c5aa-1.4"
XML2="2.7.7"
# Where do we look for sources?
@@ -114,50 +112,38 @@ fi
CONTRIBURL="http://download.handbrake.fr/handbrake/contrib"
-SOURCE[1]="$SRCDIR/a52dec-$A52DEC.tar.gz"
-SRCURL[1]="$CONTRIBURL/a52dec-$A52DEC.tar.gz"
+SOURCE[1]="$SRCDIR/libass-$ASS.tar.gz"
+SRCURL[1]="$CONTRIBURL/libass-$ASS.tar.gz"
-SOURCE[2]="$SRCDIR/faac-$FAAC.tar.gz"
-SRCURL[2]="$CONTRIBURL/faac-$FAAC.tar.gz"
+SOURCE[2]="$SRCDIR/libbluray-$BLURAY.tar.bz2"
+SRCURL[2]="$CONTRIBURL/libbluray-$BLURAY.tar.bz2"
-SOURCE[3]="$SRCDIR/faad2-$FAAD2.tar.gz"
-SRCURL[3]="$CONTRIBURL/faad2-$FAAD2.tar.gz"
+SOURCE[3]="$SRCDIR/fdk-aac-$FDKAAC.tar.bz2"
+SRCURL[3]="$CONTRIBURL/fdk-aac-$FDKAAC.tar.bz2"
-SOURCE[4]="$SRCDIR/fdk-aac-$FDKAAC.tar.bz2"
-SRCURL[4]="$CONTRIBURL/fdk-aac-$FDKAAC.tar.bz2"
+SOURCE[4]="$SRCDIR/libav-$FFMPEG.tar.bz2"
+SRCURL[4]="$CONTRIBURL/libav-$FFMPEG.tar.bz2"
-SOURCE[5]="$SRCDIR/libav-$FFMPEG.tar.bz2"
-SRCURL[5]="$CONTRIBURL/libav-$FFMPEG.tar.bz2"
+SOURCE[5]="$SRCDIR/fribidi-$FRIBIDI.tar.gz"
+SRCURL[5]="$CONTRIBURL/fribidi-$FRIBIDI.tar.gz"
SOURCE[6]="$SRCDIR/lame-$LAME.tar.gz"
SRCURL[6]="$CONTRIBURL/lame-$LAME.tar.gz"
-SOURCE[7]="$SRCDIR/libass-$ASS.tar.gz"
-SRCURL[7]="$CONTRIBURL/libass-$ASS.tar.gz"
-
-SOURCE[8]="$SRCDIR/libbluray-$BLURAY.tar.bz2"
-SRCURL[8]="$CONTRIBURL/libbluray-$BLURAY.tar.bz2"
-
-SOURCE[9]="$SRCDIR/libdvdnav-$DVDNAV.tar.gz"
-SRCURL[9]="$CONTRIBURL/libdvdnav-$DVDNAV.tar.gz"
-
-SOURCE[10]="$SRCDIR/libdvdread-$DVDREAD.tar.gz"
-SRCURL[10]="$CONTRIBURL/libdvdread-$DVDREAD.tar.gz"
-
-SOURCE[11]="$SRCDIR/libmkv-$MKV.tar.gz"
-SRCURL[11]="$CONTRIBURL/libmkv-$MKV.tar.gz"
+SOURCE[7]="$SRCDIR/libdvdnav-$DVDNAV.tar.gz"
+SRCURL[7]="$CONTRIBURL/libdvdnav-$DVDNAV.tar.gz"
-SOURCE[12]="$SRCDIR/mp4v2-$MP4V2.tar.bz2"
-SRCURL[12]="$CONTRIBURL/mp4v2-$MP4V2.tar.bz2"
+SOURCE[8]="$SRCDIR/libdvdread-$DVDREAD.tar.gz"
+SRCURL[8]="$CONTRIBURL/libdvdread-$DVDREAD.tar.gz"
-SOURCE[13]="$SRCDIR/mpeg2dec-$MPEG2DEC.tar.gz"
-SRCURL[13]="$CONTRIBURL/mpeg2dec-$MPEG2DEC.tar.gz"
+SOURCE[9]="$SRCDIR/libvpx-$VPX.tar.bz2"
+SRCURL[9]="$CONTRIBURL/libvpx-$VPX.tar.bz2"
-SOURCE[14]="$SRCDIR/x264-$X264.tar.gz"
-SRCURL[14]="$CONTRIBURL/x264-$X264.tar.gz"
+SOURCE[10]="$SRCDIR/x264-$X264.tar.gz"
+SRCURL[10]="$CONTRIBURL/x264-$X264.tar.gz"
-SOURCE[15]="$SRCDIR/fribidi-$FRIBIDI.tar.gz"
-SRCURL[15]="$CONTRIBURL/fribidi-$FRIBIDI.tar.gz"
+SOURCE[11]="$SRCDIR/x265-$X265.tar.bz2"
+SRCURL[11]="$CONTRIBURL/x265-$X265.tar.bz2"
##
## --- with a little luck, you won't have to edit below this point --- ##
@@ -207,7 +193,7 @@ mkdir -p $TMP/tmp-$PRGNAM # location to build the source
mkdir -p $PKG # place for the package to be built
rm -rf $PKG/* # always erase old package's contents
rm -rf $TMP/tmp-$PRGNAM/* # remove the remnants of previous build
-rm -rf $OUTPUT/{configure,make,install,error,makepkg}-$PRGNAM.log
+rm -rf $OUTPUT/{patch,configure,make,install,error,makepkg}-$PRGNAM.log
# remove old log files
# Use the src_checkout() function if no downloadable tarball exists.
@@ -295,9 +281,7 @@ cd HandBrake-${VERSION}
touch $OUTPUT/patch-${PRGNAM}.log
-# Slackware 13.37's fribidi is too old but handbrake does not want to include
-# a static copy.
-# Also, Handbrake thinks all Linux systems come with libass:
+# Handbrake thinks all Linux systems come with libass, lame and x264:
cat $SRCDIR/handbrake.static_fribidi_libass.patch | patch -p1 --verbose \
2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log