aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorNiels Horn <niels.horn@gmail.com>2010-04-21 18:22:32 -0500
committerErik Hanson <erik@slackbuilds.org>2010-05-15 10:38:37 +0200
commit88b96868135d9d7be112d359892ea2d0c0887e07 (patch)
treed0cde710bc7474ee62b27c5441e0ac0e65615332 /development
parent1e631247fbb05e5190653410136dcbd61ac45afc (diff)
development/SoQt: Added.
SoQt is Qt GUI bindings for Coin library. Thanks to new maintainer Niels Horn.
Diffstat (limited to 'development')
-rw-r--r--development/SoQt/README17
-rwxr-xr-xdevelopment/SoQt/SoQt.SlackBuild78
-rw-r--r--development/SoQt/SoQt.info10
-rw-r--r--development/SoQt/slack-desc19
4 files changed, 124 insertions, 0 deletions
diff --git a/development/SoQt/README b/development/SoQt/README
new file mode 100644
index 0000000000000..0269cee6ce781
--- /dev/null
+++ b/development/SoQt/README
@@ -0,0 +1,17 @@
+SoQt is set of Qt GUI bindings for Coin library.
+
+By using the combination of Coin, Qt and SoQt for your 3D applications,
+you have a framework for writing completely portable software across the
+whole range of UNIX, Linux, Microsoft Windows and Mac OS X operating
+systems. Coin, Qt and SoQt makes this possible from a 100% common
+codebase, which means there is a minimum of hassle for developers when
+working on multiplatform software, with the resulting large gains in
+productivity.
+
+SoQt, like Coin and Qt, provides the programmer with a high-level
+application programmer's interface (API) in C++. The library primarily
+includes a class-hierarchy of viewer components of varying functionality
+and complexity, with various modes for the end-user to control the
+3D-scene camera interaction.
+
+SoQt requires the Coin library, which is also available at SlackBuilds.org.
diff --git a/development/SoQt/SoQt.SlackBuild b/development/SoQt/SoQt.SlackBuild
new file mode 100755
index 0000000000000..ec42f4c03d407
--- /dev/null
+++ b/development/SoQt/SoQt.SlackBuild
@@ -0,0 +1,78 @@
+#!/bin/sh
+
+# Slackware build script for SoQt
+
+# Originally written by Aleksandar B. Samardzic (<asamardzic@matf.bg.ac.yu>)
+# Maintained as of version 1.5.0 by Niels Horn <niels.horn@gmail.com>
+# Revision data 2010/04/13
+
+set -e
+
+PRGNAM=SoQt
+VERSION=1.5.0
+ARCH=${ARCH:-i486}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+if [ "$ARCH" = "i486" ]; then
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
+ ARCHQUADLET=""
+elif [ "$ARCH" = "i686" ]; then
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
+ ARCHQUADLET=""
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
+ ARCHQUADLET=""
+elif [ "$ARCH" = "arm" ]; then
+ SLKCFLAGS="-O2 -march=armv4t"
+ LIBDIRSUFFIX=""
+ ARCHQUADLET="-gnueabi"
+fi
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
+chown -R root:root . || true
+chmod -R u+w,go+r-w,a-s .
+
+CFLAGS="$SLKCFLAGS" \
+CXXFLAGS="$SLKCFLAGS" \
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux$GUEABI
+
+make
+make install DESTDIR=$PKG
+
+( cd $PKG
+ find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+ find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+)
+
+( cd $PKG/usr/man
+ find . -type f -exec gzip -9 {} \;
+ for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done
+)
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS BUGS.txt COPYING ChangeLog FAQ INSTALL* LICENSE.GPL \
+ NEWS README* $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.${PKGTYPE:-tgz}
diff --git a/development/SoQt/SoQt.info b/development/SoQt/SoQt.info
new file mode 100644
index 0000000000000..d627ad16f5b78
--- /dev/null
+++ b/development/SoQt/SoQt.info
@@ -0,0 +1,10 @@
+PRGNAM="SoQt"
+VERSION="1.5.0"
+HOMEPAGE="http://www.coin3d.org/lib/soqt/"
+DOWNLOAD="http://ftp.coin3d.org/coin/src/all/SoQt-1.5.0.tar.gz"
+MD5SUM="9f1e582373d66f556b1db113a93ac68e"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Niels Horn"
+EMAIL="niels.horn@gmail.com"
+APPROVED="Erik Hanson"
diff --git a/development/SoQt/slack-desc b/development/SoQt/slack-desc
new file mode 100644
index 0000000000000..ff922e24322d9
--- /dev/null
+++ b/development/SoQt/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+SoQt: SoQt (Qt GUI bindings for Coin library)
+SoQt:
+SoQt: SoQt is a library which provides the glue between Coin
+SoQt: high-level 3D visualization library and Troll Tech's Qt
+SoQt: 2D user interface library.
+SoQt:
+SoQt: Homepage: http://www.coin3d.org/lib/soqt/
+SoQt:
+SoQt:
+SoQt:
+SoQt: