summaryrefslogtreecommitdiff
path: root/multimedia/bombono-dvd/bombono-dvd.SlackBuild
diff options
context:
space:
mode:
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" \