aboutsummaryrefslogtreecommitdiff
path: root/audio/rhythmbox/rhythmbox.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/rhythmbox/rhythmbox.SlackBuild')
-rw-r--r--audio/rhythmbox/rhythmbox.SlackBuild17
1 files changed, 11 insertions, 6 deletions
diff --git a/audio/rhythmbox/rhythmbox.SlackBuild b/audio/rhythmbox/rhythmbox.SlackBuild
index 411dfb8cceccd..40dffb99c93fd 100644
--- a/audio/rhythmbox/rhythmbox.SlackBuild
+++ b/audio/rhythmbox/rhythmbox.SlackBuild
@@ -5,7 +5,7 @@
# Written by crocket (crockabiscuit@yahoo.com)
PRGNAM=rhythmbox
-VERSION=${VERSION:-0.13.1}
+VERSION=${VERSION:-2.97}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -36,13 +36,15 @@ else
LIBDIRSUFFIX=""
fi
+if pkg-config --exists libbrasero-media; then BRAS=""; else BRAS="out"; fi
+
set -e
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 . \
@@ -51,6 +53,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# configure looks for a pkg-config entry for tdb...
+patch -p1 < $CWD/we_have_tdb_in_samba.patch
+
+LDFLAGS="-ltdb" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -66,12 +72,11 @@ CXXFLAGS="$SLKCFLAGS" \
--with-mtp \
--with-gudev \
--without-hal \
- --with-libbrasero-media \
- --enable-python \
+ --with${BRAS}-brasero \
--enable-browser-plugin \
--enable-vala=auto \
+ --with-mdns=auto \
--disable-scrollkeeper \
- --disable-schemas-install \
--with-x \
--build=$ARCH-slackware-linux
@@ -92,7 +97,7 @@ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
-cat $CWD/doinst.sh > $PKG/install/doinst.sh
+sed "s|@LIBDIR@|/usr/lib${LIBDIRSUFFIX}|" $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}