xorg-server: enable glamor on x86; replace glamor.
This commit is contained in:
parent
ab4aac5e74
commit
ca0b585c57
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'xorg-server'.
|
||||
pkgname=xorg-server
|
||||
version=1.16.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
|
||||
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
|
||||
|
@ -50,9 +50,10 @@ else
|
|||
fi
|
||||
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
# Enable dri/opengl by default on x86.
|
||||
configure_args+=" --enable-dri2 --enable-dri3 --enable-glx-tls --enable-glx"
|
||||
# Enable glamor/dri/opengl by default on x86.
|
||||
configure_args+=" --enable-glamor --enable-dri2 --enable-dri3 --enable-glx-tls --enable-glx"
|
||||
makedepends+=" MesaLib-devel>=10"
|
||||
replaces="glamor>=0"
|
||||
else
|
||||
# Enable dri2 on !x86 via libdri.
|
||||
configure_args+=" --disable-glx --disable-dri --enable-dri2 --enable-dri3"
|
||||
|
|
Loading…
Reference in New Issue