[arch-commits] Commit in opensubdiv/repos (4 files)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Sep 26 01:54:06 UTC 2015
Date: Saturday, September 26, 2015 @ 03:54:06
Author: svenstaro
Revision: 141621
archrelease: copy trunk to community-i686, community-x86_64
Added:
opensubdiv/repos/community-i686/
opensubdiv/repos/community-i686/PKGBUILD
(from rev 141620, opensubdiv/trunk/PKGBUILD)
opensubdiv/repos/community-x86_64/
opensubdiv/repos/community-x86_64/PKGBUILD
(from rev 141620, opensubdiv/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
2 files changed, 76 insertions(+)
Copied: opensubdiv/repos/community-i686/PKGBUILD (from rev 141620, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-09-26 01:54:06 UTC (rev 141621)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.0.2
+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)
+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=('acee9de1cd966ad3b4e7297858cff6d6')
+
+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-x86_64/PKGBUILD (from rev 141620, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-09-26 01:54:06 UTC (rev 141621)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.0.2
+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)
+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=('acee9de1cd966ad3b4e7297858cff6d6')
+
+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