desktop/google-gadgets-for-linux: Updated for version 0.11.2.

This now requires xulrunner.
  Thanks to new maintainer Heinz Wiesinger.
This commit is contained in:
Heinz Wiesinger 2010-03-08 10:31:35 -06:00 committed by Erik Hanson
parent eb51748e61
commit 2663f9f7dc
3 changed files with 16 additions and 22 deletions

View file

@ -3,3 +3,5 @@ Linux, catering to the unique needs of Linux users. It's compatible with the
gadgets written for Google Desktop for Windows as well as the Universal
Gadgets on iGoogle. Following Linux norms, this project is open-sourced under
the Apache License.
This requires xulrunner, also available from SlackBuilds.org

View file

@ -1,6 +1,7 @@
#!/bin/sh
# Slackbuild for google-gadgets-for-linux
# Written by JK Wood <joshuakwood@gmail.com>
# Modified by Heinz Wiesinger, Amsterdam, The Netherlands
# Slackbuild is released under the Dog-on-Fire License:
# If use of this script causes your dog to catch on fire,
@ -19,7 +20,7 @@
# Modified by SlackBuilds.org
PRGNAM=google-gadgets-for-linux
VERSION=0.11.0
VERSION=0.11.2
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -40,7 +41,7 @@ elif [ "$ARCH" = "x86_64" ]; then
LIBDIRSUFFIX="64"
fi
set -eu
set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@ -55,19 +56,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# These are needed to properly link the seamonkey stuff
EXTRA_INCLUDES="\
-I/usr/include/seamonkey/dom \
-I/usr/include/seamonkey/content \
-I/usr/include/seamonkey/widget \
-I/usr/include/seamonkey/xpconnect"
GTKMOZEMBED_CFLAGS="$(pkg-config --cflags seamonkey-gtkmozembed)" \
GTKMOZEMBED_LIBS="$(pkg-config --libs seamonkey-gtkmozembed)" \
LIBMOZJS_CFLAGS="$(pkg-config --cflags seamonkey-js)" \
LIBMOZJS_LIBS="$(pkg-config --libs seamonkey-js)" \
CFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
CXXFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LIBS="-lssp" \
./configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
@ -75,10 +66,11 @@ CXXFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \
--disable-static \
--with-gtkmozembed=libxul \
--with-browser-plugins-dir=/usr/lib$LIBDIRSUFFIX/mozilla/plugins \
--build=$ARCH-slackware-linux
make
make -j1
make install-strip DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \

View file

@ -1,10 +1,10 @@
PRGNAM="google-gadgets-for-linux"
VERSION="0.11.0"
VERSION="0.11.2"
HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/"
DOWNLOAD="http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-0.11.0.tar.bz2"
DOWNLOAD="http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-0.11.2.tar.bz2"
MD5SUM="279305553bcbf74f3e3615f6abc36a5e"
DOWNLOAD_x86_64=""
MD5SUM="714b65738f4edeae361e2b164088c50d"
MD5SUM_x86_64=""
MAINTAINER="JK Wood"
EMAIL="joshuakwood@gmail.com"
APPROVED="rworkman,michiel,erik,pprkut"
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
APPROVED="Erik Hanson"