Package Details: blender-git 4.4.r144205.gfba10a82121-1

Git Clone URL: https://aur.archlinux.org/blender-git.git (read-only, click to copy)
Package Base: blender-git
Description: A fully integrated 3D graphics creation suite (development)
Upstream URL: https://blender.org/
Licenses: GPL
Conflicts: blender, blender-4.1-bin
Provides: blender
Submitter: stativ
Maintainer: fbrennan (bartus)
Last Packager: bartus
Votes: 76
Popularity: 0.000096
First Submitted: 2013-12-05 10:11 (UTC)
Last Updated: 2024-12-04 18:59 (UTC)

Dependencies (48)

Required by (62)

Sources (7)

Latest Comments

« First ‹ Previous 1 .. 13 14 15 16 17 18 19 20 21 22 23 .. 40 Next › Last »

kureta commented on 2019-09-29 21:01 (UTC) (edited on 2019-09-29 21:01 (UTC) by kureta)

Hi! I have modified your PKGBUILD file a bit. Specifically:

  • removed cmake flags that are no longer applicable
    -DWITH_GAMEENGINE=ON \
    -DWITH_PLAYER=ON \
  • Added optional dependencies for OptiX and Open Image Denoise Support
    optdepends=('cuda: CUDA support in Cycles'
                'optix: OptiX support in Cycles'
                'oidn: Intel Open Image Denoise support in compositing')
  • Added logic for detection of these optional dependencies
    # check for optix
    _OPTIX_PKG=`pacman -Qq optix 2>/dev/null` || true
    if [ "$_OPTIX_PKG" != "" ]; then
        _EXTRAOPTS="$_EXTRAOPTS \
                    -DWITH_CYCLES_DEVICE_OPTIX=ON \
                    -DOPTIX_ROOT_DIR=/opt/optix"
    fi

    # check for open image denoise
    _OIDN_PKG=`pacman -Qq oidn 2>/dev/null` || true
    if [ "$_OIDN_PKG" != "" ]; then
        _EXTRAOPTS="$_EXTRAOPTS \
                    -DWITH_OPENIMAGEDENOISE=ON"
    fi

Maybe you can incorporate these changes into your PKGBUILD too.

bartus commented on 2019-06-17 14:59 (UTC) (edited on 2019-09-07 13:51 (UTC) by bartus)

@fbrennan: Consider updating pkgver scheme to preserve consistency across different blender packages in AUR.

pkgver() { cd "$srcdir/blender" printf "2.81.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" }

This would make repology versions report more usable

thanks ;)

fbrennan commented on 2019-01-17 08:20 (UTC)

Thanks guys, I'm working on getting it to build myself with the new changes. A state of flux is an understatement, the new development branch differs significantly from the old one so please allow time for things to stabilize :-)

rigred commented on 2018-12-29 18:36 (UTC)

This is now no longer the blender-2.79 branch. Recently blender dves have moved the blender-2.8 code into master (this PKGBUILD compiles from master) and the PKGBUILD and build options haven't been updated yet.

Things are currently in a state of flux so it may take a while to get things worked out.

seo.disparate commented on 2018-12-25 08:24 (UTC)

I got this to build by adding the following changes to the PKGBUILD:

diff --git a/PKGBUILD b/PKGBUILD
index [`e828e21`](https://aur.archlinux.org/cgit/aur.git/commit/?h=blender-git&id=e828e21)..8fd245c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,7 +8,7 @@ arch=('i686' 'x86_64')
 url="<http://blender.org/>"
 depends=('libgl' 'python' 'desktop-file-utils' 'hicolor-icon-theme'
          'ffmpeg' 'fftw' 'openal' 'freetype2' 'libxi' 'openimageio' 'opencolorio'
-         'openshadinglanguage' 'libtiff' 'libpng')
+         'openshadinglanguage' 'libtiff' 'libpng' 'python-numpy')
 optdepends=('cuda: CUDA support in Cycles')
 makedepends=('git' 'cmake' 'boost' 'mesa')
 provides=('blender')
@@ -65,6 +65,7 @@ build() {
         -DWITH_PYTHON_INSTALL=OFF \
         -DPYTHON_VERSION=3.7m \
         -DWITH_MOD_OCEANSIM=ON \
+        -DPYTHON_NUMPY_PATH=/usr/lib/python3.7/site-packages \
         $_EXTRAOPTS
   make
 }

Note I'm not sure if python-numpy should be depends or make-depends, so I added it as depends in the diff.

agapito commented on 2018-12-25 06:36 (UTC)

Can´t build:

[ 93%] Building CXX object source/blender/freestyle/CMakeFiles/bf_freestyle.dir/intern/winged_edge/WXEdgeBuilder.cpp.o [ 93%] Building CXX object source/blender/freestyle/CMakeFiles/bf_freestyle.dir/intern/winged_edge/WingedEdgeBuilder.cpp.o [ 93%] Linking CXX static library ../../../lib/libbf_freestyle.a [ 93%] Built target bf_freestyle make: *** [Makefile:163: all] Error 2

mowcat commented on 2018-12-24 19:54 (UTC)

@fbrennan fair point, just gotten used to installing blender-2.8-git and blender-git.

fbrennan commented on 2018-12-23 13:40 (UTC)

@mowcat I don't understand your point. This package is for building master just by its name. Feel free to make blender2.7-git if you want.

mowcat commented on 2018-12-23 03:16 (UTC)

I needed to edit the PKGBUILD file in order to use the blender2.7 branch.