PKGBUILDs/community/openscenegraph/PKGBUILD

45 lines
1.6 KiB
Bash
Raw Normal View History

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>
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
2018-10-22 18:25:38 +00:00
pkgver=3.6.3
pkgrel=1
2018-05-12 16:52:00 +00:00
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-10-22 18:25:38 +00:00
source=(https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${pkgver}.tar.gz)
sha256sums=('51bbc79aa73ca602cd1518e4e25bd71d41a10abd296e18093a8acfebd3c62696')
sha512sums=('5d66002cffa935ce670a119ffaebd8e4709acdf79ae2b34b37ad9df284ec8a1a74fee5a7a4109fbf3da6b8bd857960f2b7ae68c4c2e26036edbf484fccf08322')
2015-12-20 01:24:16 +00:00
build() {
2018-10-22 18:25:38 +00:00
mkdir -p OpenSceneGraph-OpenSceneGraph-${pkgver}/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 \
2018-10-22 18:25:38 +00:00
-DCMAKE_INSTALL_LIBDIR=lib \
2018-05-12 16:52:00 +00:00
..
2015-12-20 01:24:16 +00:00
make
}
package() {
2018-10-22 18:25:38 +00:00
cd OpenSceneGraph-OpenSceneGraph-${pkgver}
make -C build 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: