Environment control variables configuration in GUI.
Some packages uses env vars to alter build process (blender-develop-git,luxocorerender-git,alice-vision,popsift,usd)
Mostly to disable some opt deps like cuda,opencl,embree.
Currently to update them wit pamac
one has to call pamac-manager
form console prepended with conrol vars, or edit the PKGBUILD
manually.
# update luxcorerender-git skipping cuda/opencl kernel build.
DISABLE_OPENCL=1 pamac-namager
Would be nice if there was an option dialog in pamac:gui:setting
to pass extra flags to makepkg
call, it has ability to consume extra variable definition e.g makepkg DISABLE_CUDA=1 MAKEFLAGS=-j1
. Or even nicer if we can specify env vars per packagename.
# makepkg flags
gimp-develp-git: --nocheck
blender-develop-git: DISABLE_CUDA=1
poissonrecon-git: MAKEFLAGS=-j1