diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2011-07-17 19:09:31 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-07-21 22:51:48 -0500 |
commit | c80bb4f0354368d673ae2f572f9918987fe03974 (patch) | |
tree | ac026cf57425162359344f4b196da08ece5bd13b /multimedia/gecko-mediaplayer/gecko-mediaplayer.SlackBuild | |
parent | b1b9901c84cc398e9fdaf9bf6db47628bdbdcd0a (diff) |
multimedia/gecko-mediaplayer: Updated for version 1.0.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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 80119ca231cc..9723468f1793 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 |