[arch-commits] Commit in opensubdiv/repos (4 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Sep 28 20:56:50 UTC 2015


    Date: Monday, September 28, 2015 @ 22:56:50
  Author: foutrelis
Revision: 142156

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 142155, opensubdiv/trunk/PKGBUILD)
  opensubdiv/repos/community-staging-x86_64/
  opensubdiv/repos/community-staging-x86_64/PKGBUILD
    (from rev 142155, 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 142155, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-09-28 20:56:50 UTC (rev 142156)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.0.2
+pkgrel=2
+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-staging-x86_64/PKGBUILD (from rev 142155, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-09-28 20:56:50 UTC (rev 142156)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.0.2
+pkgrel=2
+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