diff options
author | Kyle Guinn <elyk03@gmail.com> | 2010-05-11 22:54:02 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:54:02 +0200 |
commit | 68c18de9e0be0a449923d927d10d0eed63b4eef1 (patch) | |
tree | 23b162dcefbde5780e6b6b57485077e0726edb34 | |
parent | 554a4b2601a3cbdb5138c9db0bc6a299d42fb238 (diff) |
libraries/gtkglarea: Added to 12.1 repository
-rw-r--r-- | libraries/gtkglarea/README | 10 | ||||
-rw-r--r-- | libraries/gtkglarea/gtkglarea.SlackBuild | 56 | ||||
-rw-r--r-- | libraries/gtkglarea/gtkglarea.info | 8 | ||||
-rw-r--r-- | libraries/gtkglarea/slack-desc | 11 |
4 files changed, 85 insertions, 0 deletions
diff --git a/libraries/gtkglarea/README b/libraries/gtkglarea/README new file mode 100644 index 0000000000000..b2504507c4ea3 --- /dev/null +++ b/libraries/gtkglarea/README @@ -0,0 +1,10 @@ +GtkGLArea is an OpenGL widget for GTK+ GUI toolkit. + +Just as GTK+ is built on top of GDK, GtkGLArea is built on top of gdkgl which +is basically a wrapper around GLX functions. The widget itself is very +similar to the GtkDrawingArea widget and adds only three extra functions. +Lower level gdkgl functions make it easy to render on any OpenGL capable +widget; rendering to off-screen pixmaps is also supported. + +This project appears to be abandoned in favor of GtkGLExt, but is still +required by a few programs. diff --git a/libraries/gtkglarea/gtkglarea.SlackBuild b/libraries/gtkglarea/gtkglarea.SlackBuild new file mode 100644 index 0000000000000..ff80326b225ad --- /dev/null +++ b/libraries/gtkglarea/gtkglarea.SlackBuild @@ -0,0 +1,56 @@ +#!/bin/sh + +# Slackware build script for gtkglarea +# Written by Kyle Guinn <elyk03@gmail.com> + +PRGNAM="gtkglarea" +VERSION="1.99.0" +ARCH=${ARCH:-i486} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM-$VERSION +OUTPUT=${OUTPUT:-/tmp} + +DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README" + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 +cd $PRGNAM-$VERSION +chown -R root:root . +chmod -R u+w,go+r-w,a-st . + +CFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-shared \ + --disable-static \ + --build=$ARCH-slackware-linux + +make +make install-strip DESTDIR=$PKG + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz diff --git a/libraries/gtkglarea/gtkglarea.info b/libraries/gtkglarea/gtkglarea.info new file mode 100644 index 0000000000000..345357914db39 --- /dev/null +++ b/libraries/gtkglarea/gtkglarea.info @@ -0,0 +1,8 @@ +PRGNAM="gtkglarea" +VERSION="1.99.0" +HOMEPAGE="http://www.student.oulu.fi/~jlof/gtkglarea/" +DOWNLOAD="http://www.vg.kernel.org/pub/mirrors/gentoo/source/distfiles/gtkglarea-1.99.0.tar.bz2" +MD5SUM="cd69f77240ae8038f95a2e5e0b7e5f25" +MAINTAINER="Kyle Guinn" +EMAIL="elyk03@gmail.com" +APPROVED="Erik Hanson" diff --git a/libraries/gtkglarea/slack-desc b/libraries/gtkglarea/slack-desc new file mode 100644 index 0000000000000..dc639e0193212 --- /dev/null +++ b/libraries/gtkglarea/slack-desc @@ -0,0 +1,11 @@ +gtkglarea: GtkGLArea (OpenGL widget for GTK+) +gtkglarea: +gtkglarea: GtkGLArea is an OpenGL widget for GTK+ GUI toolkit. +gtkglarea: Just as GTK+ is built on top of GDK, GtkGLArea is built on top of +gtkglarea: gdkgl which is basically a wrapper around GLX functions. The +gtkglarea: widget itself is very similar to the GtkDrawingArea widget and +gtkglarea: adds only three extra functions. Lower level gdkgl functions +gtkglarea: make it easy to render on any OpenGL capable widget; rendering +gtkglarea: to off-screen pixmaps is also supported. +gtkglarea: +gtkglarea: |