2018-05-12 16:52:00 +00:00
|
|
|
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
|
|
# Contributor: Hans Janssen <janserv@gmail.com>
|
2015-12-20 01:24:16 +00:00
|
|
|
# Contributor: my64 <packages@obordes.com>
|
|
|
|
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
2016-12-08 01:11:44 +00:00
|
|
|
# - upstream patch for signed char
|
2018-05-12 19:06:26 +00:00
|
|
|
# - comment moving non-existent lib64 directory in package
|
2015-12-20 01:24:16 +00:00
|
|
|
|
|
|
|
pkgname=openscenegraph
|
2017-09-04 19:30:03 +00:00
|
|
|
pkgver=3.4.1
|
2018-05-12 16:52:00 +00:00
|
|
|
pkgrel=3
|
|
|
|
pkgdesc='Open Source, high performance real-time graphics toolkit'
|
|
|
|
url='http://www.openscenegraph.org'
|
|
|
|
arch=('x86_64')
|
2015-12-20 01:24:16 +00:00
|
|
|
license=('custom:OSGPL')
|
|
|
|
depends=('giflib' 'jasper' 'librsvg' 'xine-lib' 'curl' 'pth')
|
2016-02-06 00:30:59 +00:00
|
|
|
makedepends=('cmake' 'libvncserver' 'qt5-base' 'ffmpeg' 'mesa')
|
|
|
|
optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib' 'qt5-base' 'ffmpeg')
|
2015-12-20 01:24:16 +00:00
|
|
|
conflicts=('openthreads')
|
|
|
|
provides=('openthreads')
|
2018-05-12 16:52:00 +00:00
|
|
|
source=(https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${pkgver}.tar.gz
|
2017-09-04 19:30:03 +00:00
|
|
|
https://github.com/openscenegraph/OpenSceneGraph/commit/01c712e85195803993acb1d7712796cf494943c6.patch)
|
|
|
|
sha256sums=('930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5'
|
2018-05-12 16:52:00 +00:00
|
|
|
'7019627aab6f5e8bfdf08d6aad824d7d3408ef08daa4122e69b142c9d34fc241')
|
|
|
|
sha512sums=('4a65625e208d24256b5564bbe9d6f557758b51fae0acf85d1f71968a237fec299088536830fc862d25e02039de9ea13176b298a68aaa644eac958acbe1f4e143'
|
|
|
|
'a21c930f7166e0aec2607569e8b3fc167a13a697ed8d5bfee4ee027d054e64de3aa83020ef1e6d2bd52c180f3bd1d8deab22242856dfc3ea8b4fc8d539f6f3d2')
|
2016-02-27 15:08:15 +00:00
|
|
|
|
|
|
|
prepare() {
|
2018-05-12 16:52:00 +00:00
|
|
|
mkdir -p OpenSceneGraph-OpenSceneGraph-${pkgver}/build
|
2017-09-04 19:30:03 +00:00
|
|
|
cd OpenSceneGraph-OpenSceneGraph-$pkgver
|
2016-12-08 01:11:44 +00:00
|
|
|
patch -p1 -i ../01c712e85195803993acb1d7712796cf494943c6.patch
|
2016-02-27 15:08:15 +00:00
|
|
|
}
|
2015-12-20 01:24:16 +00:00
|
|
|
|
|
|
|
build() {
|
2018-05-12 16:52:00 +00:00
|
|
|
cd OpenSceneGraph-OpenSceneGraph-${pkgver}/build
|
|
|
|
cmake \
|
2015-12-20 01:24:16 +00:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
2018-05-12 16:52:00 +00:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
..
|
2015-12-20 01:24:16 +00:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2018-05-12 16:52:00 +00:00
|
|
|
cd OpenSceneGraph-OpenSceneGraph-${pkgver}/build
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm 644 ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
2018-05-12 19:06:26 +00:00
|
|
|
#mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
|
2015-12-20 01:24:16 +00:00
|
|
|
}
|
2018-05-12 16:52:00 +00:00
|
|
|
|
|
|
|
# vim: ts=2 sw=2 et:
|