[arch-commits] Commit in usd/trunk (PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Nov 28 00:19:18 UTC 2020
Date: Saturday, November 28, 2020 @ 00:19:18
Author: svenstaro
Revision: 764856
upgpkg: usd 20.11-1
Modified:
usd/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++----------------
1 file changed, 4 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-28 00:18:57 UTC (rev 764855)
+++ PKGBUILD 2020-11-28 00:19:18 UTC (rev 764856)
@@ -7,18 +7,12 @@
arch=('x86_64')
url="https://graphics.pixar.com/usd/docs/index.html"
license=('Apache')
-depends=('boost-libs' 'glew' 'openexr' 'opensubdiv')
+depends=('boost-libs' 'glew' 'openexr' 'opensubdiv' 'python')
makedepends=('boost' 'cmake' 'intel-tbb' 'ninja')
provides=("usd=${pkgver}")
source=("$pkgname-$pkgver.tar.gz::https://github.com/PixarAnimationStudios/USD/archive/v${pkgver}.tar.gz")
- # "boost_python2.patch"
- # "blender.patch")
sha256sums=('adbdf451a10a7af201b0fafa44ebc27cc2c3b412d3dbbd90f1a9319abe2e203d')
-# prepare() {
-# git -C USD apply -v "${srcdir}"/{boost_python2,blender}.patch
-# }
-
build() {
cd USD-${pkgver}
cmake \
@@ -26,18 +20,12 @@
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DPXR_USE_PYTHON_3=ON \
- -DPXR_BUILD_IMAGING=OFF
- # -DPXR_BUILD_TESTS=ON
- # -DBUILD_SHARED_LIBS=ON \
- # -DCMAKE_DEBUG_POSTFIX=_d
+ -DPXR_BUILD_IMAGING=OFF \
+ -DPXR_BUILD_TESTS=OFF \
+ -DPXR_BUILD_MONOLITHIC=ON
ninja -C build
}
-check() {
- cd USD-${pkgver}
- ninja -C build test
-}
-
package() {
cd USD-${pkgver}
DESTDIR="$pkgdir" ninja -C build install
More information about the arch-commits
mailing list