xorg-server: forgot to merge pkg options.
This commit is contained in:
parent
4636267d64
commit
189f053d04
|
@ -33,6 +33,22 @@ if [ "$CROSS_BUILD" ]; then
|
|||
makedepends+=" libfl-devel"
|
||||
fi
|
||||
|
||||
# Package build options
|
||||
build_options="opengl"
|
||||
desc_option_opengl="Enable support for OpenGL/GLX and DRI"
|
||||
|
||||
# Enable gl by default on x86.
|
||||
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
||||
build_options_default="opengl"
|
||||
fi
|
||||
|
||||
if [ "$build_option_opengl" ]; then
|
||||
configure_args+=" --enable-dri --enable-dri2 --enable-glx-tls --enable-glx"
|
||||
makedepends+=" MesaLib-devel"
|
||||
else
|
||||
configure_args+=" --disable-dri --disable-dri2 --disable-glx"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
vinstall ${FILESDIR}/11-quirks.conf 644 etc/X11/xorg.conf.d
|
||||
vinstall COPYING 644 usr/share/licenses/${pkgname}
|
||||
|
|
Loading…
Reference in New Issue