aboutsummaryrefslogtreecommitdiff
path: root/audio/rhythmbox/rhythmbox.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-24 19:34:22 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-24 22:53:33 -0500
commit96d5e684078f89d510705df576462770c28551fa (patch)
tree697b0e5944f310d75b855923a659600f8cd8ab20 /audio/rhythmbox/rhythmbox.SlackBuild
parenta4cca0cb8d7dd132c72d54ae619757cbcec92948 (diff)
audio/rhytmbox: Updated for version 2.97, several changes.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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 411dfb8ccecc..40dffb99c93f 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}