xorg-server builds with xwayland support.

This commit is contained in:
fewtarius 2022-09-01 22:07:57 -04:00
parent d91299dfa8
commit d90c79e8de
No known key found for this signature in database
GPG key ID: F4AE55305D1B8C1A
2 changed files with 6 additions and 6 deletions

View file

@ -11,7 +11,8 @@ PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="libglvnd is a vendor-neutral dispatch layer for arbitrating OpenGL API calls between multiple vendors."
configure_package() {
if [ "${DISPLAYSERVER}" = "x11" ]; then
if [ "${DISPLAYSERVER}" = "x11" ] || \
[ "${DISPLAYSERVER}" = "wl" ]; then
PKG_DEPENDS_TARGET+=" libX11 libXext xorgproto"
fi
}

View file

@ -3,11 +3,10 @@
# Copyright (C) 2018-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="xorg-server"
PKG_VERSION="21.1.3"
PKG_SHA256="8dfd3d74ac18d32c821110b5231f31b66ada2de34f410012758a60ecb45f9feb"
PKG_VERSION="79c572f"
PKG_LICENSE="OSS"
PKG_SITE="http://www.X.org"
PKG_URL="https://github.com/freedesktop/xorg-xserver/archive/refs/tags/${PKG_NAME}-${PKG_VERSION}.tar.gz"
PKG_SITE="https://github.com/freedesktop/xorg-xserver"
PKG_URL="${PKG_SITE}.git"
PKG_DEPENDS_TARGET="toolchain util-macros font-util xorgproto libpciaccess libX11 libXfont2 libXinerama libxcvt libxshmfence libxkbfile libdrm openssl freetype pixman systemd xorg-launch-helper"
PKG_NEED_UNPACK="$(get_pkg_directory xf86-video-nvidia) $(get_pkg_directory xf86-video-nvidia-legacy)"
PKG_LONGDESC="X.Org Server is the free and open-source implementation of the X Window System display server."
@ -16,7 +15,7 @@ get_graphicdrivers
if [ "${DISPLAYSERVER}" = "wl" ]
then
PKG_DEPENDS_TARGET+=" wayland"
PKG_DEPENDS_TARGET+=" wayland libglvnd"
PKG_MESON_OPTS_TARGET+=" -Dxorg=false \
-Dxwayland=true"
else