Lines 84-90
Link Here
|
84 |
abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] ) |
84 |
abi_x86_32? ( !app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)] ) |
85 |
classic? ( app-eselect/eselect-mesa ) |
85 |
classic? ( app-eselect/eselect-mesa ) |
86 |
gallium? ( app-eselect/eselect-mesa ) |
86 |
gallium? ( app-eselect/eselect-mesa ) |
87 |
>=app-eselect/eselect-opengl-1.3.0 |
87 |
>=app-eselect/eselect-opengl-1.3.1-r5 |
88 |
udev? ( kernel_linux? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] ) ) |
88 |
udev? ( kernel_linux? ( >=virtual/libudev-215:=[${MULTILIB_USEDEP}] ) ) |
89 |
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] |
89 |
>=dev-libs/expat-2.1.0-r3:=[${MULTILIB_USEDEP}] |
90 |
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] |
90 |
>=x11-libs/libX11-1.6.2:=[${MULTILIB_USEDEP}] |
Lines 303-308
Link Here
|
303 |
multilib_src_install() { |
303 |
multilib_src_install() { |
304 |
emake install DESTDIR="${D}" |
304 |
emake install DESTDIR="${D}" |
305 |
|
305 |
|
|
|
306 |
# Move lib{EGL*,GL*,OpenVG,OpenGL}.{la,a,so*} files from /usr/lib to /usr/lib/opengl/xorg-x11/lib |
307 |
ebegin "Moving lib{EGL*,GL*,OpenVG,OpenGL}.{la,a,so*} in order to implement dynamic GL switching support" |
308 |
local gl_dir="/usr/$(get_libdir)/opengl/${OPENGL_DIR}" |
309 |
dodir ${gl_dir}/lib |
310 |
for x in "${ED}"/usr/$(get_libdir)/lib{EGL*,GL*,OpenVG,OpenGL}.{la,a,so*} ; do |
311 |
if [ -f ${x} -o -L ${x} ]; then |
312 |
mv -f "${x}" "${ED}${gl_dir}"/lib \ |
313 |
|| die "Failed to move ${x}" |
314 |
fi |
315 |
done |
316 |
eend $? |
317 |
|
306 |
if use classic || use gallium; then |
318 |
if use classic || use gallium; then |
307 |
ebegin "Moving DRI/Gallium drivers for dynamic switching" |
319 |
ebegin "Moving DRI/Gallium drivers for dynamic switching" |
308 |
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so ) |
320 |
local gallium_drivers=( i915_dri.so i965_dri.so r300_dri.so r600_dri.so swrast_dri.so ) |
Lines 415-420
Link Here
|
415 |
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice" |
427 |
elog "media-libs/libtxc_dxtn as well. This may be necessary to get nice" |
416 |
elog "textures in some apps, and some others even require this to run." |
428 |
elog "textures in some apps, and some others even require this to run." |
417 |
fi |
429 |
fi |
|
|
430 |
|
431 |
ewarn "This is an experimental version of ${CATEGORY}/${PN} designed to fix various issues" |
432 |
ewarn "when switching GL providers." |
433 |
ewarn "This package can only be used in conjuction with a specially patched version" |
434 |
ewarn "of app-select/eselect-opengl ." |
418 |
} |
435 |
} |
419 |
|
436 |
|
420 |
pkg_prerm() { |
437 |
pkg_prerm() { |