diff options
Diffstat (limited to 'multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild')
-rw-r--r-- | multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild index 80119ca231..9723468f17 100644 --- a/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild +++ b/multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild @@ -4,7 +4,7 @@ # Written by Phillip Warner <pc_warner@yahoo.com> PRGNAM=gecko-mediaplayer -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,16 +53,25 @@ 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 \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --disable-schemas-install + --disable-schemas-install \ + --${do_gconf}-gconf \ + --build=$ARCH-slackware-linux make libdir=/usr/lib${LIBDIRSUFFIX} force_arch="$ARCH" -make libdir=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG install +make libdir=/usr/lib${LIBDIRSUFFIX} DESTDIR=$PKG install find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |