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

Felix Yan felixonmars at archlinux.org
Thu Aug 3 20:33:21 UTC 2017


    Date: Thursday, August 3, 2017 @ 20:33:21
  Author: felixonmars
Revision: 247945

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 247944, opensubdiv/trunk/PKGBUILD)
  opensubdiv/repos/community-staging-x86_64/
  opensubdiv/repos/community-staging-x86_64/PKGBUILD
    (from rev 247944, 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 247944, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-08-03 20:33:21 UTC (rev 247945)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.1.1
+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 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")
+sha512sums=('700db7e1dde3e916011721a5b42d5e32ea4ae355ab5e3e415541d62efa2059d56d5f30cef853285e95a93f3a3b5fe24a906547a52cce94d47b101ae20021d5b5')
+
+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 247944, opensubdiv/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-08-03 20:33:21 UTC (rev 247945)
@@ -0,0 +1,38 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+pkgname=opensubdiv
+pkgver=3.1.1
+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 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")
+sha512sums=('700db7e1dde3e916011721a5b42d5e32ea4ae355ab5e3e415541d62efa2059d56d5f30cef853285e95a93f3a3b5fe24a906547a52cce94d47b101ae20021d5b5')
+
+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