Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 536078 | Differences between
and this patch

Collapse All | Expand All

(-)a/blender-2.77a.ebuild (-9 / +21 lines)
Lines 14-20 Link Here
14
# extern/lzma
14
# extern/lzma
15
# extern/gtest
15
# extern/gtest
16
# extern/rangetree
16
# extern/rangetree
17
# extern/libredcode
18
# extern/wcwidth
17
# extern/wcwidth
19
# extern/binreloc
18
# extern/binreloc
20
# extern/recastnavigation
19
# extern/recastnavigation
Lines 44-55 Link Here
44
SLOT="0"
43
SLOT="0"
45
LICENSE="|| ( GPL-2 BL )"
44
LICENSE="|| ( GPL-2 BL )"
46
KEYWORDS="~amd64 ~x86"
45
KEYWORDS="~amd64 ~x86"
47
IUSE="+boost +bullet colorio cycles +dds debug doc +elbeem ffmpeg fftw +game-engine jack \
46
IUSE="+boost +bullet colorio cycles +dds debug doc +elbeem ffmpeg fftw +game-engine jack jemalloc \
48
            jpeg2k libav ndof nls openal openimageio +opennl openmp +openexr player redcode sdl \
47
            jpeg2k libav man ndof nls openal openimageio openmp +openexr player sdl \
49
            sndfile cpu_flags_x86_sse cpu_flags_x86_sse2 tiff c++0x"
48
            sndfile cpu_flags_x86_sse cpu_flags_x86_sse2 +test tiff c++0x valgrind"
50
REQUIRED_USE="${PYTHON_REQUIRED_USE}
49
REQUIRED_USE="${PYTHON_REQUIRED_USE}
51
	player? ( game-engine )
50
	player? ( game-engine )
52
	redcode? ( jpeg2k ffmpeg )
53
	cycles? ( boost openexr tiff openimageio )
51
	cycles? ( boost openexr tiff openimageio )
54
	nls? ( boost )
52
	nls? ( boost )
55
	game-engine? ( boost )
53
	game-engine? ( boost )
Lines 78-83 Link Here
78
	libav? ( >=media-video/libav-11.3:0=[x264,mp3,encode,theora,jpeg2k?] )
76
	libav? ( >=media-video/libav-11.3:0=[x264,mp3,encode,theora,jpeg2k?] )
79
	fftw? ( sci-libs/fftw:3.0 )
77
	fftw? ( sci-libs/fftw:3.0 )
80
	jack? ( media-sound/jack-audio-connection-kit )
78
	jack? ( media-sound/jack-audio-connection-kit )
79
	jemalloc? ( dev-libs/jemalloc )
81
	jpeg2k? ( media-libs/openjpeg:0 )
80
	jpeg2k? ( media-libs/openjpeg:0 )
82
	ndof? (
81
	ndof? (
83
		app-misc/spacenavd
82
		app-misc/spacenavd
Lines 90-95 Link Here
90
	sdl? ( media-libs/libsdl2[sound,joystick] )
89
	sdl? ( media-libs/libsdl2[sound,joystick] )
91
	sndfile? ( media-libs/libsndfile )
90
	sndfile? ( media-libs/libsndfile )
92
	tiff? ( media-libs/tiff:0 )
91
	tiff? ( media-libs/tiff:0 )
92
	valgrind? ( dev-util/valgrind )
93
"
93
"
94
DEPEND="${RDEPEND}
94
DEPEND="${RDEPEND}
95
	>=dev-cpp/eigen-3.2.8:3
95
	>=dev-cpp/eigen-3.2.8:3
Lines 148-154 Link Here
148
		-DWITH_SYSTEM_OPENJPEG=ON
148
		-DWITH_SYSTEM_OPENJPEG=ON
149
		-DWITH_SYSTEM_LZO=ON
149
		-DWITH_SYSTEM_LZO=ON
150
		-DWITH_SYSTEM_EIGEN3=ON
150
		-DWITH_SYSTEM_EIGEN3=ON
151
		-DWITH_SYSTEM_LZO=ON
152
		$(cmake-utils_use_with boost BOOST)
151
		$(cmake-utils_use_with boost BOOST)
153
		$(cmake-utils_use_with bullet BULLET)
152
		$(cmake-utils_use_with bullet BULLET)
154
		$(cmake-utils_use_with ffmpeg CODEC_FFMPEG)
153
		$(cmake-utils_use_with ffmpeg CODEC_FFMPEG)
Lines 160-166 Link Here
160
		$(cmake-utils_use_with dds IMAGE_DDS)
159
		$(cmake-utils_use_with dds IMAGE_DDS)
161
		$(cmake-utils_use_with openexr IMAGE_OPENEXR)
160
		$(cmake-utils_use_with openexr IMAGE_OPENEXR)
162
		$(cmake-utils_use_with jpeg2k IMAGE_OPENJPEG)
161
		$(cmake-utils_use_with jpeg2k IMAGE_OPENJPEG)
163
		$(cmake-utils_use_with redcode IMAGE_REDCODE)
164
		$(cmake-utils_use_with tiff IMAGE_TIFF)
162
		$(cmake-utils_use_with tiff IMAGE_TIFF)
165
		$(cmake-utils_use_with ndof INPUT_NDOF)
163
		$(cmake-utils_use_with ndof INPUT_NDOF)
166
		$(cmake-utils_use_with nls INTERNATIONAL)
164
		$(cmake-utils_use_with nls INTERNATIONAL)
Lines 171-181 Link Here
171
		$(cmake-utils_use_with colorio OPENCOLORIO)
169
		$(cmake-utils_use_with colorio OPENCOLORIO)
172
		$(cmake-utils_use_with openimageio OPENIMAGEIO)
170
		$(cmake-utils_use_with openimageio OPENIMAGEIO)
173
		$(cmake-utils_use_with openmp OPENMP)
171
		$(cmake-utils_use_with openmp OPENMP)
174
		$(cmake-utils_use_with opennl OPENNL)
175
		$(cmake-utils_use_with player PLAYER)
172
		$(cmake-utils_use_with player PLAYER)
176
		$(cmake-utils_use_with sdl SDL)
173
		$(cmake-utils_use_with sdl SDL)
177
		$(cmake-utils_use_with cpu_flags_x86_sse RAYOPTIMIZATION)
174
		$(cmake-utils_use_with cpu_flags_x86_sse RAYOPTIMIZATION)
178
		$(cmake-utils_use_with cpu_flags_x86_sse2 SSE2)
175
		$(cmake-utils_use_with cpu_flags_x86_sse2 SSE2)
176
		$(cmake-utils_use_with debug CXX_GUARDEDALLOC)
177
		$(cmake-utils_use_with debug ASSERT_ABORT)
178
		$(cmake-utils_use_with test GTESTS)
179
		$(cmake-utils_use_with man DOC_MANPAGE)
180
		$(camke-utils_use_with jemalloc MEM_JEMALLOC)
181
		$(cmake-utils_use_with valgrind MEM_VALGRIND)
179
	)
182
	)
180
	cmake-utils_src_configure
183
	cmake-utils_src_configure
181
}
184
}
Lines 198-204 Link Here
198
	fi
201
	fi
199
}
202
}
200
203
201
src_test() { :; }
204
src_test() {
205
	if use test; then
206
		einfo "Running Blender Unit Tests ..."
207
		cd "${BUILD_DIR}"/bin/tests || die
208
		for f in *_test
209
		do
210
			./$f || die
211
		done
212
	fi
213
}
202
214
203
src_install() {
215
src_install() {
204
	local i
216
	local i

Return to bug 536078