From 556f5526397a7f96f8351032424344c9b80cec35 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Sat, 12 May 2018 16:52:00 +0000 Subject: [PATCH] community/openscenegraph to 3.4.1-3 --- community/openscenegraph/PKGBUILD | 44 +++++++++++++++---------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/community/openscenegraph/PKGBUILD b/community/openscenegraph/PKGBUILD index cfe5f7e98..a47bef46a 100644 --- a/community/openscenegraph/PKGBUILD +++ b/community/openscenegraph/PKGBUILD @@ -1,6 +1,6 @@ -# $Id$ -# Maintainer: Sergej Pupykin -# Maintainer: Hans Janssen +# Maintainer: Levente Polyak +# Contributor: Sergej Pupykin +# Contributor: Hans Janssen # Contributor: my64 # Contributor: Colin Pitrat @@ -9,43 +9,43 @@ pkgname=openscenegraph pkgver=3.4.1 -pkgrel=1 -pkgdesc="An Open Source, high performance real-time graphics toolkit" -arch=('i686' 'x86_64') +pkgrel=3 +pkgdesc='Open Source, high performance real-time graphics toolkit' +url='http://www.openscenegraph.org' +arch=('x86_64') license=('custom:OSGPL') -url="http://www.openscenegraph.org" 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 - openscenegraph-ffmpeg3.patch +source=(https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-${pkgver}.tar.gz https://github.com/openscenegraph/OpenSceneGraph/commit/01c712e85195803993acb1d7712796cf494943c6.patch) sha256sums=('930eb46f05781a76883ec16c5f49cfb29a059421db131005d75bec4d78401fd5' - 'a65fc1ac0538fddb8d11ef1ab2322a782715f8d2b42e0bb01a191212a0612477' - 'b58fd51b1934a4bc00ece9de6737bff70b10fb0155879ac75fc0e8116b47077b') + '7019627aab6f5e8bfdf08d6aad824d7d3408ef08daa4122e69b142c9d34fc241') +sha512sums=('4a65625e208d24256b5564bbe9d6f557758b51fae0acf85d1f71968a237fec299088536830fc862d25e02039de9ea13176b298a68aaa644eac958acbe1f4e143' + 'a21c930f7166e0aec2607569e8b3fc167a13a697ed8d5bfee4ee027d054e64de3aa83020ef1e6d2bd52c180f3bd1d8deab22242856dfc3ea8b4fc8d539f6f3d2') prepare() { + mkdir -p OpenSceneGraph-OpenSceneGraph-${pkgver}/build cd OpenSceneGraph-OpenSceneGraph-$pkgver - # Fix build with ffmpeg 3.0 (Debian) -# patch -p2 -i ../openscenegraph-ffmpeg3.patch patch -p1 -i ../01c712e85195803993acb1d7712796cf494943c6.patch } build() { - cd OpenSceneGraph-OpenSceneGraph-$pkgver -# CFLAGS="$CFLAGS -D__STDC_CONSTANT_MACROS" -# CXXFLAGS="$CXXFLAGS -D__STDC_CONSTANT_MACROS" - [ $NOEXTRACT -eq 1 ] || cmake . \ + cd OpenSceneGraph-OpenSceneGraph-${pkgver}/build + cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=Release \ + .. make } package() { - cd OpenSceneGraph-OpenSceneGraph-$pkgver - make DESTDIR="$pkgdir" install - install -D -m644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - [ -d "$pkgdir/usr/lib64" ] && mv "$pkgdir/usr/lib64" "$pkgdir/usr/lib" || true + cd OpenSceneGraph-OpenSceneGraph-${pkgver}/build + make 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: