diff options
Diffstat (limited to 'libraries/gtkglarea')
-rw-r--r-- | libraries/gtkglarea/README | 11 | ||||
-rw-r--r-- | libraries/gtkglarea/gtkglarea.SlackBuild | 25 | ||||
-rw-r--r-- | libraries/gtkglarea/gtkglarea.info | 4 |
3 files changed, 24 insertions, 16 deletions
diff --git a/libraries/gtkglarea/README b/libraries/gtkglarea/README index b2504507c4..9f4cc767fa 100644 --- a/libraries/gtkglarea/README +++ b/libraries/gtkglarea/README @@ -1,10 +1,11 @@ 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. +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 index 47ce2ce379..45a1d9949f 100644 --- a/libraries/gtkglarea/gtkglarea.SlackBuild +++ b/libraries/gtkglarea/gtkglarea.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for gtkglarea @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gtkglarea VERSION=${VERSION:-2.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$(uname -m)" in @@ -35,17 +38,21 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM-$VERSION +PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} DOCS="AUTHORS COPYING ChangeLog INSTALL NEWS README TODO" -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i586" ]; then +if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then @@ -97,4 +104,4 @@ 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.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/libraries/gtkglarea/gtkglarea.info b/libraries/gtkglarea/gtkglarea.info index 2b83fc0caa..f605e173d6 100644 --- a/libraries/gtkglarea/gtkglarea.info +++ b/libraries/gtkglarea/gtkglarea.info @@ -1,7 +1,7 @@ PRGNAM="gtkglarea" VERSION="2.1.0" -HOMEPAGE="https://github.com/GNOME/gtkglarea" -DOWNLOAD="https://ftp.gnome.org/pub/GNOME/sources/gtkglarea/2.1/gtkglarea-2.1.0.tar.xz" +HOMEPAGE="https://www.mono-project.com/archived/gtkglarea/" +DOWNLOAD="https://download.gnome.org/sources/gtkglarea/2.1/gtkglarea-2.1.0.tar.xz" MD5SUM="60d4470107d4faa9fc916c9a0d05bb9f" DOWNLOAD_x86_64="" MD5SUM_x86_64="" |