FlightGear 2.12.0

parent 5d436ff6
......@@ -5,7 +5,7 @@
pkgname=flightgear
_pkgname=FlightGear
pkgver=2.10.0
pkgver=2.12.0
pkgrel=1
pkgdesc="An open-source, multi-platform flight simulator."
arch=(i686 x86_64)
......@@ -17,7 +17,7 @@ url="http://www.flightgear.org"
screenshot="http://www.flightgear.org/wp-content/gallery/gallery-v2-6/737-300_egkk_hom.jpg"
categories=('games')
source=(http://ftp.icm.edu.pl/packages/$pkgname/Source/$pkgname-$pkgver.tar.bz2)
sha256sums=('9c1374a5dacbbc3ae46b930286c04c8516167e6a67f1ac9210ff2fd085744098')
sha256sums=('84499d1b2a6c3c801a3c163f4f40d1f55b5fbcd4b65259fc5e5d5aa12e513341')
build() {
cd $srcdir/$pkgname-$pkgver
......
......@@ -5,36 +5,30 @@
pkgname=openscenegraph
_pkgname=OpenSceneGraph
pkgver=3.0.1
pkgrel=2
pkgver=3.2.0
pkgrel=1
pkgdesc="FOSS high performance real-time graphics toolkit."
arch=('i686' 'x86_64')
arch=('x86_64')
license=('custom:OSGPL')
url="http://www.openscenegraph.org"
depends=('curl' 'giflib' 'jasper' 'librsvg' 'libxrandr' 'pth' 'xine-lib')
makedepends=('cmake' 'libvncserver')
optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib')
depends=('curl' 'giflib' 'jasper' 'librsvg' 'pth' 'xine-lib')
makedepends=('cmake' 'libvncserver' 'qt' 'ffmpeg' 'mesa')
optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib' 'qt')
categories=('games')
source=("$url/downloads/stable_releases/$_pkgname-$pkgver/source/$_pkgname-$pkgver.zip"
"xine-1.2.patch::https://projects.archlinux.org/svntogit/community.git/plain/trunk/osg-xine-1.2.patch?h=packages/openscenegraph")
md5sums=('c43a25d023e635c3566b2083d8e6d956'
'a4d286df308de1765413073170fe5639')
source=(http://www.openscenegraph.org/downloads/developer_releases/${_pkgname}-$pkgver.zip)
md5sums=('4980f8692712a24d4c99f363f80c6814')
build() {
cd $srcdir/$_pkgname-$pkgver
mkdir -p build && cd build
cmake \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DFFMPEG_LIBAVCODEC_INCLUDE_DIRS=Off \
..
# Patches.
sed -i 's|#include <curl/types.h>|//#include <curl/types.h>|' ../src/osgPlugins/curl/ReaderWriterCURL.cpp
patch -p1 < $srcdir/xine-1.2.patch -d ..
# Build.
make
}
......@@ -43,7 +37,7 @@ package() {
make DESTDIR=$pkgdir install
# Fix installation directory.
[ -d $pkgdir/usr/lib64 ] && mv $pkgdir/usr/lib64 $pkgdir/usr/lib || true
mv $pkgdir/usr/lib64 $pkgdir/usr/lib
# License.
install -D -m644 ../LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/license.txt
......
......@@ -6,10 +6,10 @@
pkgname=simgear
_pkgname=SimGear
pkgver=2.12.0
pkgrel=1
pkgrel=2
pkgdesc="FOSS libraries for quickly assembling 3D simulations."
arch=('i686' 'x86_64')
depends=('glut' 'freealut' 'plib' 'openscenegraph' 'zlib')
depends=('glut' 'freealut' 'libxrandr' 'plib' 'openscenegraph' 'zlib')
makedepends=('boost')
license=("GPL2")
url=http://www.flightgear.org/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment