diff options
author | root <root@rshg047.dnsready.net> | 2011-07-04 23:11:10 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-07-04 23:11:10 +0000 |
commit | 9d2caacbc33de06407311a5da87e5d22e0266435 (patch) | |
tree | c0eb320a79d1e1943d2531e3fe3c1422367cb48d /community-staging/openscenegraph | |
parent | 067b127a853780b2b4ae7236dcdaaf72396dfa86 (diff) |
Mon Jul 4 23:11:10 UTC 2011
Diffstat (limited to 'community-staging/openscenegraph')
-rw-r--r-- | community-staging/openscenegraph/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community-staging/openscenegraph/PKGBUILD b/community-staging/openscenegraph/PKGBUILD new file mode 100644 index 000000000..d405bd160 --- /dev/null +++ b/community-staging/openscenegraph/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 50969 2011-07-03 18:11:27Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Hans Janssen <janserv@gmail.com> +# Contributor: my64 <packages@obordes.com> +# Contributor: Colin Pitrat <colin.pitrat@gmail.com> + +pkgname=openscenegraph +pkgver=3.0.0 +pkgrel=1 +pkgdesc="An Open Source, high performance real-time graphics toolkit" +arch=('i686' 'x86_64') +license=('custom:OSGPL') +url="http://www.openscenegraph.org" +depends=('giflib' 'jasper' 'librsvg' 'xine-lib' 'curl' 'pth') +makedepends=('cmake' 'libvncserver') +optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib') +conflicts=('openthreads') +provides=('openthreads') +#source=(http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-$pkgver/source/OpenSceneGraph-$pkgver.zip) +source=("http://www.openscenegraph.org/downloads/stable_releases/OpenSceneGraph-3.0/source/OpenSceneGraph-$pkgver.zip") +md5sums=('121829b854349a9e9d1aebc25cf3e52d') + +build() { + cd OpenSceneGraph-$pkgver + [ $NOEXTRACT -eq 1 ] || cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release + sed -i 's|#include <curl/types.h>|//#include <curl/types.h>|' src/osgPlugins/curl/ReaderWriterCURL.cpp + make +} + +package() { + cd OpenSceneGraph-$pkgver + make DESTDIR="$pkgdir" install + install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + [ -d "$pkgdir/usr/lib64" ] && mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib" || true +} |