aboutsummaryrefslogtreecommitdiff
path: root/multimedia/bombono-dvd/bombono-dvd.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-28 21:40:14 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-28 21:26:58 -0500
commit24e97b11f3268fb8d75ebd88f6c174e7249dd538 (patch)
tree4ad9c24fe7e17b6392f88573fb9fcc9d563f6d03 /multimedia/bombono-dvd/bombono-dvd.SlackBuild
parent7c9af8a39a75cc6bf516ef0e08767cd958afacdc (diff)
multimedia/bombono-dvd: Updated for version 20120711_06454fe.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/bombono-dvd/bombono-dvd.SlackBuild')
-rw-r--r--multimedia/bombono-dvd/bombono-dvd.SlackBuild13
1 files changed, 11 insertions, 2 deletions
diff --git a/multimedia/bombono-dvd/bombono-dvd.SlackBuild b/multimedia/bombono-dvd/bombono-dvd.SlackBuild
index 153b3bb638594..f9dbc161bb25c 100644
--- a/multimedia/bombono-dvd/bombono-dvd.SlackBuild
+++ b/multimedia/bombono-dvd/bombono-dvd.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=bombono-dvd
-VERSION=${VERSION:-1.2.1}
+VERSION=${VERSION:-20120711_06454fe}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@@ -69,13 +69,22 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix for glib>=2.31
+#sed -i "s|^\#include <glib/.*\.h>$||" src/mgui/author/gb_devices.c
+# Let us specify our CFLAGS
+sed -i "s|-O2||" SConstruct
+# Allow use of cdrtools as an alternative to cdrkit, thanks gentoo
+patch -p1 < $CWD/bombono-dvd-1.2.0-cdrtools.patch
+
# Build package
scons \
CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
LIBDIR=/usr/lib${LIBDIRSUFFIX} \
DIST_TARGET="$TARGET" \
+ DIST_TARGET="$TARGET" \
DEBUG="False"
scons \