removed community/openscenegraph

This commit is contained in:
Kevin Mihelich 2019-08-07 23:28:40 +00:00
parent 3c8f398068
commit 04affed5d5

View file

@ -1,46 +0,0 @@
# 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>
# - move lib64 directory in package for aarch64 only
pkgname=openscenegraph
pkgver=3.6.3
pkgrel=1.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}"
if [[ $CARCH == "aarch64" ]]; then
mv "${pkgdir}/usr/lib64" "${pkgdir}/usr/lib"
fi
}
# vim: ts=2 sw=2 et: