desktop/google-gadgets-for-linux: Updated for version 0.11.0

This commit is contained in:
JK Wood 2010-05-13 00:22:40 +02:00 committed by Robby Workman
parent 7ec288060e
commit a0e28afe0a
3 changed files with 14 additions and 14 deletions

View file

@ -2,10 +2,4 @@ Google Gadgets for Linux provides a platform for running desktop gadgets under
Linux, catering to the unique needs of Linux users. It's compatible with the 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 written for Google Desktop for Windows as well as the Universal
Gadgets on iGoogle. Following Linux norms, this project is open-sourced under Gadgets on iGoogle. Following Linux norms, this project is open-sourced under
the Apache License. the Apache License.
By default Google Gadgets will build a GTK+ interface. If you also want a GUI
based on the QT library, you will need to have QT4 installed at compile time.
A SlackBuild for QT4 is available at SlackBuilds.org.
Note: this will not build if webkit is installed.

View file

@ -19,7 +19,7 @@
# Modified by SlackBuilds.org # Modified by SlackBuilds.org
PRGNAM=google-gadgets-for-linux PRGNAM=google-gadgets-for-linux
VERSION=0.10.5 VERSION=0.11.0
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -31,10 +31,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686" SLKCFLAGS="-O2 -march=i486 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686" SLKCFLAGS="-O2 -march=i686 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC" SLKCFLAGS="-O2 -fPIC"
LIBDIRSUFFIX="64"
fi fi
set -eu set -eu
@ -67,11 +70,12 @@ CFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
CXXFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \ CXXFLAGS="$SLKCFLAGS $EXTRA_INCLUDES" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \ --sysconfdir=/etc \
--docdir=/usr/doc/$PRGNAM-$VERSION \ --docdir=/usr/doc/$PRGNAM-$VERSION \
--mandir=/usr/man \ --mandir=/usr/man \
--disable-static \ --disable-static \
--with-browser-plugins-dir=/usr/lib/mozilla/plugins \ --with-browser-plugins-dir=/usr/lib$LIBDIRSUFFIX/mozilla/plugins \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
make make
@ -90,4 +94,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz /sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}

View file

@ -1,8 +1,10 @@
PRGNAM="google-gadgets-for-linux" PRGNAM="google-gadgets-for-linux"
VERSION="0.10.5" VERSION="0.11.0"
HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/" HOMEPAGE="http://code.google.com/p/google-gadgets-for-linux/"
DOWNLOAD="http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-0.10.5.tar.bz2" DOWNLOAD="http://google-gadgets-for-linux.googlecode.com/files/google-gadgets-for-linux-0.11.0.tar.bz2"
MD5SUM="fdad6bd761b6c603e457b5d0d92ec2f9" DOWNLOAD_x86_64=""
MD5SUM="714b65738f4edeae361e2b164088c50d"
MD5SUM_x86_64=""
MAINTAINER="JK Wood" MAINTAINER="JK Wood"
EMAIL="joshuakwood@gmail.com" EMAIL="joshuakwood@gmail.com"
APPROVED="rworkman,michiel,erik" APPROVED="rworkman,michiel,erik,pprkut"