mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/blender to 3.3.0-2
This commit is contained in:
parent
e491e3ae4e
commit
4b1cd4dd18
1 changed files with 4 additions and 4 deletions
|
@ -15,7 +15,7 @@ buildarch=8
|
||||||
|
|
||||||
pkgname=blender
|
pkgname=blender
|
||||||
pkgver=3.3.0
|
pkgver=3.3.0
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
epoch=17
|
epoch=17
|
||||||
pkgdesc="A fully integrated 3D graphics creation suite"
|
pkgdesc="A fully integrated 3D graphics creation suite"
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
@ -70,7 +70,7 @@ build() {
|
||||||
-Bbuild \
|
-Bbuild \
|
||||||
-GNinja \
|
-GNinja \
|
||||||
-Cbuild_files/cmake/config/blender_release.cmake \
|
-Cbuild_files/cmake/config/blender_release.cmake \
|
||||||
-DOPTIX_ROOT_DIR="$srcdir"/include \
|
-DOPTIX_ROOT_DIR="$srcdir" \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DWITH_INSTALL_PORTABLE=OFF \
|
-DWITH_INSTALL_PORTABLE=OFF \
|
||||||
|
@ -81,13 +81,13 @@ build() {
|
||||||
-DPYTHON_LIBRARY=python$PYTHON_VER \
|
-DPYTHON_LIBRARY=python$PYTHON_VER \
|
||||||
-DPYTHON_INCLUDE_DIRS=/usr/include/python$PYTHON_VER \
|
-DPYTHON_INCLUDE_DIRS=/usr/include/python$PYTHON_VER \
|
||||||
-DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER"
|
-DCMAKE_CXX_FLAGS="-I /usr/include/python$PYTHON_VER"
|
||||||
ninja -C build
|
cmake --build build
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
cd "$pkgname"
|
cd "$pkgname"
|
||||||
|
|
||||||
DESTDIR="${pkgdir}" ninja -C build install
|
DESTDIR="${pkgdir}" cmake --install build
|
||||||
install -Dm755 release/bin/blender-softwaregl "${pkgdir}/usr/bin/blender-softwaregl"
|
install -Dm755 release/bin/blender-softwaregl "${pkgdir}/usr/bin/blender-softwaregl"
|
||||||
python -m compileall "${pkgdir}/usr/share/blender"
|
python -m compileall "${pkgdir}/usr/share/blender"
|
||||||
python -O -m compileall "${pkgdir}/usr/share/blender"
|
python -O -m compileall "${pkgdir}/usr/share/blender"
|
||||||
|
|
Loading…
Reference in a new issue