xorg-server: switch to glvnd.

- no need to make the libglx symlink anymore.
- removed 20-modules.conf, not needed anymore with a recent musl.
This commit is contained in:
Juan RP 2019-12-01 15:52:06 +01:00
parent b9cfdd661f
commit 6a06b41658
2 changed files with 1 additions and 24 deletions

View File

@ -1,14 +0,0 @@
Section "Module"
Load "exa"
Load "glx"
Load "int10"
Load "vbe"
# Load "wfb"
Load "fb"
Load "fbdevhw"
Load "shadowfb"
Load "shadow"
Load "vgahw"
Load "evdev"
Load "glamoregl"
EndSection

View File

@ -1,7 +1,7 @@
# Template file for 'xorg-server' # Template file for 'xorg-server'
pkgname=xorg-server pkgname=xorg-server
version=1.20.6 version=1.20.6
revision=1 revision=2
build_style=meson build_style=meson
configure_args="-Dipv6=true -Dxorg=true -Dxnest=true -Dxephyr=true configure_args="-Dipv6=true -Dxorg=true -Dxnest=true -Dxephyr=true
-Dxvfb=true -Dhal=false -Dudev=true -Dxkb_dir=/usr/share/X11/xkb -Dxvfb=true -Dhal=false -Dudev=true -Dxkb_dir=/usr/share/X11/xkb
@ -66,21 +66,12 @@ pre_configure() {
} }
post_install() { post_install() {
case "$XBPS_TARGET_MACHINE" in
*-musl) vinstall ${FILESDIR}/20-modules.conf 644 usr/share/X11/xorg.conf.d;;
esac
vinstall ${FILESDIR}/Xwrapper.config 644 etc/X11 vinstall ${FILESDIR}/Xwrapper.config 644 etc/X11
vlicense COPYING vlicense COPYING
chmod 4755 ${DESTDIR}/usr/libexec/Xorg.wrap chmod 4755 ${DESTDIR}/usr/libexec/Xorg.wrap
if [ -e ${DESTDIR}/usr/lib/xorg/modules/extensions/libglx.so ]; then
# Support nvidia and amd binary blobs to provide their own
# implementation.
mv ${DESTDIR}/usr/lib/xorg/modules/extensions/{libglx.so,libglx-xorg.so}
fi
find "${DESTDIR}"/usr/share/man -type f -iname '*[1-5].gz' -exec gunzip '{}' \; find "${DESTDIR}"/usr/share/man -type f -iname '*[1-5].gz' -exec gunzip '{}' \;
# Readd old symlink # Readd old symlink