summaryrefslogtreecommitdiff
path: root/multimedia/bombono-dvd/bombono-dvd.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-14 17:46:48 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-16 01:33:35 +0700
commit9a97e05d11b5762ba3606dc9f4f1603ea198cc10 (patch)
tree82d26298c537ff14367ea072a6b7d543b4da61a8 /multimedia/bombono-dvd/bombono-dvd.SlackBuild
parent053714cbb4243db2b0586af7a8251301c3fd1320 (diff)
downloadslackbuilds-9a97e05d11b5762ba3606dc9f4f1603ea198cc10.tar.gz
multimedia/bombono-dvd: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/bombono-dvd/bombono-dvd.SlackBuild')
-rw-r--r--multimedia/bombono-dvd/bombono-dvd.SlackBuild16
1 files changed, 14 insertions, 2 deletions
diff --git a/multimedia/bombono-dvd/bombono-dvd.SlackBuild b/multimedia/bombono-dvd/bombono-dvd.SlackBuild
index c6529f4f1e..5b90d4d6d9 100644
--- a/multimedia/bombono-dvd/bombono-dvd.SlackBuild
+++ b/multimedia/bombono-dvd/bombono-dvd.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=bombono-dvd
VERSION=${VERSION:-1.2.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -75,16 +75,28 @@ find -L . \
sed -i "s|-O2||" SConstruct
# Allow use of cdrtools as an alternative to cdrkit, thanks gentoo
patch -p1 < $CWD/patches/bombono-dvd-1.2.0-cdrtools.patch
+
# Fix for the newer ffmpeg - thanks ArchLinux
patch -p1 < $CWD/patches/fix_ffmpeg_codecid.patch
# Fix for ffmpeg-2.6.3 - thanks to Gentoo and John Vogel
patch -p1 < $CWD/patches/bombono-dvd-1.2.2-ffmpeg26.patch
+# Credit to ARCH Linux
+patch -p1 < $CWD/patches/fix_ptr2bool_cast.patch
+patch -p1 < $CWD/patches/fix_c++11_literal_warnings.patch
+patch -p1 < $CWD/patches/fix_crefoftemp_bug.patch
+patch -p1 < $CWD/patches/autoptr2uniqueptr.patch
+patch -p1 < $CWD/patches/stream_bool_cast.patch
+patch -p1 < $CWD/patches/boost.patch
# Build package
-
scons \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -Wno-unused-local-typedefs" \
+ CPPFLAGS="-std=c++11 \
+ -DBOOST_SYSTEM_NO_DEPRECATED \
+ -DBOOST_FILESYSTEM_NO_DEPRECATED \
+ -DBOOST_FILESYSTEM_VERSION=3" \
+ USE_EXT_BOOST=1 \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DIST_TARGET="$TARGET" \