[arch-commits] Commit in opensubdiv/repos (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Mon Nov 14 01:20:51 UTC 2016
Date: Monday, November 14, 2016 @ 01:20:51
Author: svenstaro
Revision: 195552
archrelease: copy trunk to community-staging-i686, community-staging-x86_64
Added:
opensubdiv/repos/community-staging-i686/
opensubdiv/repos/community-staging-i686/PKGBUILD
(from rev 195551, opensubdiv/trunk/PKGBUILD)
opensubdiv/repos/community-staging-x86_64/
opensubdiv/repos/community-staging-x86_64/PKGBUILD
(from rev 195551, opensubdiv/trunk/PKGBUILD)
-----------------------------------+
community-staging-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
community-staging-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: opensubdiv/repos/community-staging-i686/PKGBUILD (from rev 195551, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD (rev 0)
+++ community-staging-i686/PKGBUILD 2016-11-14 01:20:51 UTC (rev 195552)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="An Open-Source subdivision surface library"
+arch=(i686 x86_64)
+url="http://graphics.pixar.com/opensubdiv"
+license=('apache')
+depends=(zlib ptex intel-tbb libxcursor xorg-xrandr libxinerama)
+makedepends=(cmake doxygen glfw glew python2 python-pygments python-docutils opencl-headers)
+#makedepends_x86_64=(cuda) Broken currently :/
+source=("https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${pkgver//./_}.tar.gz")
+md5sums=('5a5357dff420035ff60f0a7b1e6cbe07')
+
+prepare() {
+ cd "OpenSubdiv-${pkgver//./_}"
+
+ find . -name \*.py | xargs sed -i "s/env python/env python2/g"
+}
+
+build() {
+ cd "OpenSubdiv-${pkgver//./_}"
+
+ rm -rf build
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd "OpenSubdiv-${pkgver//./_}"/build
+
+ make DESTDIR="$pkgdir/" install
+
+ rm -rf ${pkgdir}/usr/bin
+}
Copied: opensubdiv/repos/community-staging-x86_64/PKGBUILD (from rev 195551, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-11-14 01:20:51 UTC (rev 195552)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="An Open-Source subdivision surface library"
+arch=(i686 x86_64)
+url="http://graphics.pixar.com/opensubdiv"
+license=('apache')
+depends=(zlib ptex intel-tbb libxcursor xorg-xrandr libxinerama)
+makedepends=(cmake doxygen glfw glew python2 python-pygments python-docutils opencl-headers)
+#makedepends_x86_64=(cuda) Broken currently :/
+source=("https://github.com/PixarAnimationStudios/OpenSubdiv/archive/v${pkgver//./_}.tar.gz")
+md5sums=('5a5357dff420035ff60f0a7b1e6cbe07')
+
+prepare() {
+ cd "OpenSubdiv-${pkgver//./_}"
+
+ find . -name \*.py | xargs sed -i "s/env python/env python2/g"
+}
+
+build() {
+ cd "OpenSubdiv-${pkgver//./_}"
+
+ rm -rf build
+ mkdir build && cd build
+
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+}
+
+package() {
+ cd "OpenSubdiv-${pkgver//./_}"/build
+
+ make DESTDIR="$pkgdir/" install
+
+ rm -rf ${pkgdir}/usr/bin
+}
More information about the arch-commits
mailing list