xorg-server: prepare for upcoming nvidia pkg.

This commit is contained in:
Juan RP 2012-09-14 11:01:07 +02:00
parent fbe2fddd99
commit 48f078e0cf
2 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,7 @@
# Create libglx-xorg.so libglx.so symlink for Mesa.
case ${ACTION} in
post)
cd usr/lib/xorg/modules/extensions
rm -f libglx.so && ln -sf libglx-xorg.so libglx.so
;;
esac

View File

@ -1,7 +1,7 @@
# Template build file for 'xorg-server'.
pkgname=xorg-server
version=1.12.4
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-ipv6 --enable-xcsecurity --enable-record
--enable-xnest --enable-xephyr --enable-composite --enable-xvfb
@ -37,4 +37,9 @@ post_install() {
etc/udev/rules.d 75-x11-input.rules
vinstall ${FILESDIR}/11-quirks.conf 644 etc/X11/xorg.conf.d
vinstall COPYING 644 usr/share/licenses/${pkgname}
# Support nvidia and amd binary blobs to provide their own
# implementation.
mv ${DESTDIR}/usr/lib/xorg/modules/extensions/libglx.so \
${DESTDIR}/usr/lib/xorg/modules/extensions/libglx-xorg.so
}