summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/blender/blender-9999.ebuild')
-rw-r--r--media-gfx/blender/blender-9999.ebuild13
1 files changed, 5 insertions, 8 deletions
diff --git a/media-gfx/blender/blender-9999.ebuild b/media-gfx/blender/blender-9999.ebuild
index 7b72a280eb4..b16ab770202 100644
--- a/media-gfx/blender/blender-9999.ebuild
+++ b/media-gfx/blender/blender-9999.ebuild
@@ -5,13 +5,14 @@ EAPI=7
PYTHON_COMPAT=( python3_9 )
-inherit check-reqs cmake flag-o-matic pax-utils python-single-r1 toolchain-funcs subversion xdg-utils
+inherit check-reqs cmake flag-o-matic pax-utils python-single-r1 toolchain-funcs xdg-utils
DESCRIPTION="3D Creation/Animation/Publishing System"
HOMEPAGE="https://www.blender.org"
if [[ ${PV} = *9999* ]] ; then
- inherit git-r3
+ # Subversion is needed for downloading unit test files
+ inherit git-r3 subversion
EGIT_REPO_URI="https://git.blender.org/blender.git"
else
SRC_URI="https://download.blender.org/source/${P}.tar.xz"
@@ -98,7 +99,6 @@ RDEPEND="${PYTHON_DEPS}
sdl? ( media-libs/libsdl2[sound,joystick] )
sndfile? ( media-libs/libsndfile )
tbb? ( dev-cpp/tbb )
- test? ( dev-vcs/subversion )
tiff? ( media-libs/tiff )
valgrind? ( dev-util/valgrind )
"
@@ -260,11 +260,8 @@ src_configure() {
-DWITH_USD=OFF
-DWITH_XR_OPENXR=OFF
)
- if ! use debug ; then
- append-flags -DNDEBUG
- else
- append-flags -DDEBUG
- fi
+ append-flags $(usex debug '-DDEBUG' '-DNDEBUG')
+
cmake_src_configure
}