From 3d62b50b1c0559cc3809eb4383539929bc3f49d1 Mon Sep 17 00:00:00 2001 From: Phillip Warner Date: Tue, 12 Jul 2011 05:05:00 -0400 Subject: multimedia/gnome-mplayer: Updated for version 1.0.4. Signed-off-by: dsomero --- multimedia/gnome-mplayer/gnome-mplayer.SlackBuild | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'multimedia/gnome-mplayer/gnome-mplayer.SlackBuild') 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 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 -- cgit v1.2.3