diff options
author | Kyle Guinn <elyk03@gmail.com> | 2012-12-23 07:14:30 +0100 |
---|---|---|
committer | Matteo Bernardini <ponce@slackbuilds.org> | 2012-12-23 07:14:55 +0100 |
commit | 21f84fc8e7f70072e7db64cb30470e86f90a4612 (patch) | |
tree | 1790c2361ff223d9e3e9d89ea54b37b1ff8bb301 /multimedia/gnash/gnash.SlackBuild | |
parent | 4287547e5467f13da874f70b623b30a73af33839 (diff) | |
download | slackbuilds-21f84fc8e7f70072e7db64cb30470e86f90a4612.tar.gz |
multimedia/gnash: Added a switch to disable the konqueror plugin.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/gnash/gnash.SlackBuild')
-rw-r--r-- | multimedia/gnash/gnash.SlackBuild | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/multimedia/gnash/gnash.SlackBuild b/multimedia/gnash/gnash.SlackBuild index 9f1fb359c3..679769f480 100644 --- a/multimedia/gnash/gnash.SlackBuild +++ b/multimedia/gnash/gnash.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=gnash VERSION=${VERSION:-0.8.10} -BUILD=${BUILD:-3} +BUILD=${BUILD:-4} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -56,6 +56,19 @@ else LIBDIRSUFFIX="" fi +# Set $KLASH to "no" to disable Klash, the Konqueror plugin. +if [ "${KLASH:-yes}" = "yes" ]; then + KLASH_OPT="\ + --with-kde4-incl=/usr/include \ + --with-kde4-configdir=/usr/share/config \ + --with-kde4-prefix=/usr \ + --with-kde4-lib=/usr/lib${LIBDIRSUFFIX} \ + --with-kde-appsdatadir=/usr/share/apps/klash \ + --with-kde4-servicesdir=/usr/share/kde4/services" +else + KLASH_OPT="--disable-kparts3 --disable-kparts4" +fi + set -e rm -rf $PKG @@ -94,12 +107,7 @@ CXXFLAGS="$SLKCFLAGS" \ --enable-write \ --without-gconf \ --with-plugins-install=system \ - --with-kde4-incl=/usr/include \ - --with-kde4-configdir=/usr/share/config \ - --with-kde4-prefix=/usr \ - --with-kde4-lib=/usr/lib$LIBDIRSUFFIX \ - --with-kde-appsdatadir=/usr/share/apps/klash \ - --with-kde4-servicesdir=/usr/share/kde4/services + $KLASH_OPT make make install-strip install-plugins DESTDIR=$PKG |