forgot the actual DRI lib
This commit is contained in:
parent
32bad7dd35
commit
e540c522d5
1 changed files with 11 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
SCM_REPOSITORY="git://anongit.freedesktop.org/git/nouveau/mesa"
|
||||
SCM_TYPE="git"
|
||||
SCM_BRANCH="gallium-0.1"
|
||||
require multilib scm toolchain-funcs
|
||||
require eutils multilib scm toolchain-funcs
|
||||
|
||||
SUMMARY="nouveau mesa driver"
|
||||
DESCRIPTION="The nouveau driver for the mesa OpenGL implementation."
|
||||
|
@ -41,13 +41,14 @@ src_prepare() {
|
|||
|
||||
src_compile() {
|
||||
get_target
|
||||
emake "${TARGET}" \
|
||||
emake DRI_DIRS="nouveau" "${TARGET}" \
|
||||
CC=$(tc-getCC) \
|
||||
CXX=$(tc-getCXX) \
|
||||
|| die "emake failed"
|
||||
CXX=$(tc-getCXX)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
mkdir -p "${IMAGE}/usr/$(get_libdir)/dri" || die "mkdir failed"
|
||||
cp "$(get_libdir)/nouveau_dri.so" "${IMAGE}/usr/$(get_libdir)/dri" || die "cp failed"
|
||||
bin/installmesa "${IMAGE}/usr/$(get_libdir)/opengl/gallium" \
|
||||
|| die "bin/installmesa failed"
|
||||
|
||||
|
@ -55,3 +56,9 @@ src_install() {
|
|||
mv include/{GL/*,} || die "mv failed"
|
||||
rmdir include/GL || die "rmdir failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
einfo "If you encounter a black screen while rendering, you may have to add"
|
||||
einfo " Option \"GlxVisuals\" \"all\""
|
||||
einfo "to your xorg.conf, see ${HOMEPAGE}."
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue