summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2018-10-06 20:43:45 +0000
committer Eric Hameleers <alien@slackware.com>2018-10-06 20:43:45 +0000
commit86cc0efbf934aaec1ea93f114f9b3a1df07b6bb4 (patch)
tree20d7b030d19df051296ff288084f3a26c2943b32
parent4064d83d531ce4c5f76f64b1777698b4f9ffcd26 (diff)
downloadasb-86cc0efbf934aaec1ea93f114f9b3a1df07b6bb4.tar.gz
asb-86cc0efbf934aaec1ea93f114f9b3a1df07b6bb4.tar.xz
handbrake: update to 1.1.2
-rwxr-xr-xhandbrake/build/handbrake.SlackBuild25
1 files changed, 16 insertions, 9 deletions
diff --git a/handbrake/build/handbrake.SlackBuild b/handbrake/build/handbrake.SlackBuild
index bd6c8cad..94e937e2 100755
--- a/handbrake/build/handbrake.SlackBuild
+++ b/handbrake/build/handbrake.SlackBuild
@@ -64,6 +64,10 @@
# * Update.
# 1.1.0-1: 16/may/2018 by Eric Hameleers <alien@slackware.com>
# * Update.
+# 1.1.0-2: 26/may/2018 by Eric Hameleers <alien@slackware.com>
+# * Try to fix segfaults by borrowing some from the SBo script.
+# 1.1.2-1: 06/oct/2018 by Eric Hameleers <alien@slackware.com>
+# * Update.
#
# Run 'sh handbrake.SlackBuild' to build a Slackware package.
# The package (.txz) and .txt file as well as build logs are created in /tmp .
@@ -73,7 +77,7 @@
PRGNAM=handbrake
-VERSION=${VERSION:-1.1.0}
+VERSION=${VERSION:-1.1.2}
# Find the revision for a release tag (does not currently work!):
RELREV=${RELREV:-""}
BUILD=${BUILD:-1}
@@ -115,14 +119,14 @@ FRIBIDI=0.19.7
HARFBUZZ=1.7.2
JANSSON=2.10
LAME=3.100
-DVDNAV=5.0.3
-DVDREAD=5.0.3
+DVDNAV=6.0.0
+DVDREAD=6.0.0
OGG=1.3.2
OPUS=1.2.1
THEORA=1.1.1
VORBIS=1.3.5
-VPX=1.6.1
-X264=snapshot-20171225-2245
+VPX=1.7.0
+X264=snapshot-20180525-2245
X265=2.6
XML2=2.9.4
@@ -193,8 +197,8 @@ SOURCE[$DLI]="$SRCDIR/libdvdread-$DVDREAD.tar.bz2"
SRCURL[$DLI]="$CONTRIBURL/libdvdread-$DVDREAD.tar.bz2"
DLI=$(($DLI+1))
-SOURCE[$DLI]="$SRCDIR/libvpx-$VPX.tar.bz2"
-SRCURL[$DLI]="$CONTRIBURL/libvpx-$VPX.tar.bz2"
+SOURCE[$DLI]="$SRCDIR/libvpx-$VPX.tar.gz"
+SRCURL[$DLI]="$CONTRIBURL/libvpx-$VPX.tar.gz"
DLI=$(($DLI+1))
SOURCE[$DLI]="$SRCDIR/opus-$OPUS.tar.gz"
@@ -392,7 +396,7 @@ else
fi
if [ "${USE_PATENTS}" == "YES" ]; then
- USE_NONFREE="--enable-fdk-aac --enable-libav-aac"
+ USE_NONFREE="--enable-fdk-aac --disable-libav-aac"
else
USE_NONFREE=" "
fi
@@ -409,7 +413,7 @@ echo Building ...
# This will build the commandline and GTK (if requested) programs,
# adding ' -lglib-2.0' to the LDFLAGS was needed for the program to link
# against libfribidi.a on 32bit:
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fno-aggressive-loop-optimizations" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKLDFLAGS -lglib-2.0" \
./configure \
@@ -422,6 +426,9 @@ LDFLAGS="$SLKLDFLAGS -lglib-2.0" \
# Compile and install the GTK gui (if requested) and commandline client:
cd build
+ if [ "$WITH_GUI" = "YES" -o "$WITH_GUI" = "yes" ]; then
+ make gtk.configure 2>&1 | tee $OUTPUT/make-${PRGNAM}_gtk.log
+ fi
make 2>&1 | tee $OUTPUT/make-${PRGNAM}.log
make install DESTDIR=$PKG
cd -