summaryrefslogtreecommitdiffstats
path: root/multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
diff options
context:
space:
mode:
author Phillip Warner <pc_warner@yahoo.com>2011-07-12 05:05:00 -0400
committer Niels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:04 -0300
commit3d62b50b1c0559cc3809eb4383539929bc3f49d1 (patch)
tree41b12b09f1035eabd0555612aa92a0c7c571ff2d /multimedia/gnome-mplayer/gnome-mplayer.SlackBuild
parent18974e920c585843c6e34f2b95e2d60e31e1737d (diff)
downloadslackbuilds-3d62b50b1c0559cc3809eb4383539929bc3f49d1.tar.gz
slackbuilds-3d62b50b1c0559cc3809eb4383539929bc3f49d1.tar.xz
multimedia/gnome-mplayer: Updated for version 1.0.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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