summaryrefslogtreecommitdiff
path: root/community/simgear
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/simgear
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/simgear')
-rw-r--r--community/simgear/PKGBUILD37
-rw-r--r--community/simgear/osg-3.2.patch22
2 files changed, 0 insertions, 59 deletions
diff --git a/community/simgear/PKGBUILD b/community/simgear/PKGBUILD
deleted file mode 100644
index af8420930..000000000
--- a/community/simgear/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: PKGBUILD 94470 2013-07-25 12:34:11Z spupykin $
-# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
-# Maintainer: William Rea <sillywilly@gmail.com>
-# Contributor: Hans Janssen <hans@janserv.xs4all.nl>
-
-pkgname=simgear
-pkgver=2.10.0
-pkgrel=2
-pkgdesc="A set of open-source libraries designed to be used as building blocks for quickly assembling 3d simulations, games, and visualization applications."
-arch=(i686 x86_64)
-depends=('glut' 'freealut' 'plib' 'openscenegraph')
-makedepends=('boost' 'cmake' 'mesa')
-license=("GPL")
-#url="http://www.simgear.org"
-url="https://gitorious.org/fg"
-options=('!makeflags')
-#source=("SimGear-$pkgver.tar.gz::https://gitorious.org/fg/simgear/archive-tarball/release/$pkgver")
-source=("http://mirrors.ibiblio.org/pub/mirrors/simgear/ftp/Source/simgear-$pkgver.tar.bz2"
- "osg-3.2.patch")
-md5sums=('0ec974d3778f777d5c99c89db671fcc7'
- 'd7f35f02d88c6ef9c58e07b8431811e6')
-
-prepare() {
- cd $srcdir/simgear-$pkgver
- patch -p1 <$srcdir/osg-3.2.patch
-}
-
-build() {
- cd $srcdir/simgear-$pkgver
- cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib .
- make
-}
-
-package() {
- cd $srcdir/simgear-$pkgver
- make DESTDIR=$pkgdir install
-}
diff --git a/community/simgear/osg-3.2.patch b/community/simgear/osg-3.2.patch
deleted file mode 100644
index 30d732ad6..000000000
--- a/community/simgear/osg-3.2.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff -wbBur simgear-2.10.0/simgear/scene/material/EffectGeode.cxx simgear-2.10.0.q/simgear/scene/material/EffectGeode.cxx
---- simgear-2.10.0/simgear/scene/material/EffectGeode.cxx 2011-06-29 18:58:56.000000000 +0400
-+++ simgear-2.10.0.q/simgear/scene/material/EffectGeode.cxx 2013-07-25 16:14:24.268934729 +0400
-@@ -80,15 +80,15 @@
- int n = _effect->getGenerator(Effect::TANGENT);
- tsg->generate(geometry, 0); // 0 is normal_unit, but I have no idea what that is!
- if (n != -1 && !geometry->getVertexAttribArray(n))
-- geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getTangentArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
-+ geometry->setVertexAttribArray(n, tsg->getTangentArray(), osg::Array::BIND_PER_VERTEX);
-
- n = _effect->getGenerator(Effect::BINORMAL);
- if (n != -1 && !geometry->getVertexAttribArray(n))
-- geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getBinormalArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
-+ geometry->setVertexAttribArray(n, tsg->getBinormalArray(), osg::Array::BIND_PER_VERTEX);
-
- n = _effect->getGenerator(Effect::NORMAL);
- if (n != -1 && !geometry->getVertexAttribArray(n))
-- geometry->setVertexAttribData(n, osg::Geometry::ArrayData(tsg->getNormalArray(), osg::Geometry::BIND_PER_VERTEX,GL_FALSE));
-+ geometry->setVertexAttribArray(n, tsg->getNormalArray(), osg::Array::BIND_PER_VERTEX);
- }
- }
-