summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--multimedia/bombono-dvd/bombono-dvd.SlackBuild13
-rw-r--r--multimedia/bombono-dvd/bombono-dvd.info6
2 files changed, 14 insertions, 5 deletions
diff --git a/multimedia/bombono-dvd/bombono-dvd.SlackBuild b/multimedia/bombono-dvd/bombono-dvd.SlackBuild
index 153b3bb638..f9dbc161bb 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 \
diff --git a/multimedia/bombono-dvd/bombono-dvd.info b/multimedia/bombono-dvd/bombono-dvd.info
index 2840fd7c86..feb579c109 100644
--- a/multimedia/bombono-dvd/bombono-dvd.info
+++ b/multimedia/bombono-dvd/bombono-dvd.info
@@ -1,8 +1,8 @@
PRGNAM="bombono-dvd"
-VERSION="1.2.1"
+VERSION="20120711_06454fe"
HOMEPAGE="http://www.bombono.org/"
-DOWNLOAD="http://downloads.sourceforge.net/project/bombono/bombono-dvd/1.2/bombono-dvd-1.2.1.tar.bz2"
-MD5SUM="85a47ae74cce8c70a6d0273b87ecfd27"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/bombono-dvd-20120711_06454fe.tar.xz"
+MD5SUM="070a1caeaaf9aa4e31dea2e35cda0622"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="dvdauthor ffmpeg gtkmm libxml++ mjpegtools scons twolame"