mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
44 lines
1.6 KiB
Bash
44 lines
1.6 KiB
Bash
# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
|
|
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
|
|
# Contributor: Hans Janssen <janserv@gmail.com>
|
|
# Contributor: my64 <packages@obordes.com>
|
|
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - comment moving non-existent lib64 directory in package
|
|
|
|
pkgname=openscenegraph
|
|
pkgver=3.6.3
|
|
pkgrel=1
|
|
pkgdesc='Open Source, high performance real-time graphics toolkit'
|
|
url='http://www.openscenegraph.org'
|
|
arch=('x86_64')
|
|
license=('custom:OSGPL')
|
|
depends=('giflib' 'jasper' 'librsvg' 'xine-lib' 'curl' 'pth')
|
|
makedepends=('cmake' 'libvncserver' 'qt5-base' 'ffmpeg' 'mesa')
|
|
optdepends=('libvncserver' 'gdal' 'openexr' 'poppler-glib' 'qt5-base' 'ffmpeg')
|
|
conflicts=('openthreads')
|
|
provides=('openthreads')
|
|
source=(https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${pkgver}.tar.gz)
|
|
sha256sums=('51bbc79aa73ca602cd1518e4e25bd71d41a10abd296e18093a8acfebd3c62696')
|
|
sha512sums=('5d66002cffa935ce670a119ffaebd8e4709acdf79ae2b34b37ad9df284ec8a1a74fee5a7a4109fbf3da6b8bd857960f2b7ae68c4c2e26036edbf484fccf08322')
|
|
|
|
build() {
|
|
mkdir -p OpenSceneGraph-OpenSceneGraph-${pkgver}/build
|
|
cd OpenSceneGraph-OpenSceneGraph-${pkgver}/build
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
..
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd OpenSceneGraph-OpenSceneGraph-${pkgver}
|
|
make -C build DESTDIR="${pkgdir}" install
|
|
install -Dm 644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
|
#mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
|
|
}
|
|
|
|
# vim: ts=2 sw=2 et:
|