summaryrefslogtreecommitdiff
path: root/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/gnome-mplayer/gnome-mplayer.SlackBuild')
-rw-r--r--multimedia/gnome-mplayer/gnome-mplayer.SlackBuild14
1 files changed, 12 insertions, 2 deletions
diff --git a/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
index 7442f44d13..a56ba6049e 100644
--- a/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
+++ b/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
@@ -4,7 +4,7 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=gnome-mplayer
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.0.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -21,6 +21,9 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
+# Assume we're using dconf unless otherwise specified
+GCONF=${GCONF:-NO}
+
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
@@ -50,6 +53,13 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 \
-o -perm 400 \) -exec chmod 644 {} \;
+# If GCONF=YES above, then enable gconf; otherwise, disable it.
+if [ "$GCONF" = "YES" ]; then
+ do_gconf="with"
+ else
+ do_gconf="without"
+fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -57,7 +67,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--disable-nautilus \
- --without-gconf \
+ --${do_gconf}-gconf \
--disable-schemas-install \
--build=$ARCH-slackware-linux