mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-23 14:56:16 +00:00
da71ed3f06
This commit has been automatically submitted by Github Actions.
48 lines
1.5 KiB
Bash
48 lines
1.5 KiB
Bash
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/wiki/
|
|
TERMUX_PKG_DESCRIPTION="Wayland X11 server"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION="24.1.4"
|
|
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/xserver/xwayland-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=d96a78dbab819f55750173444444995b5031ebdcc15b77afebbd8dbc02af34f4
|
|
TERMUX_PKG_AUTO_UPDATE=true
|
|
TERMUX_PKG_DEPENDS="libandroid-shmem, libdrm, libepoxy, libpciaccess, libpixman, libwayland, libwayland-protocols, libx11, libxau, libxcvt, libxfont2, libxinerama, libxkbfile, libxshmfence, opengl, openssl, xkeyboard-config, xorg-protocol-txt, xorg-xkbcomp"
|
|
TERMUX_PKG_BUILD_DEPENDS="libwayland-cross-scanner"
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-Dmitshm=true
|
|
-Dxres=true
|
|
-Dxv=true
|
|
-Dsecure-rpc=false
|
|
-Dscreensaver=true
|
|
-Dxdmcp=true
|
|
-Dglx=true
|
|
-Ddri3=true
|
|
-Dxinerama=true
|
|
-Dxace=true
|
|
-Dxcsecurity=true
|
|
-Dxf86bigfont=true
|
|
-Ddrm=true
|
|
-Dglamor=false
|
|
-Dxvfb=false
|
|
-Dlibunwind=false
|
|
-Dipv6=true
|
|
-Dsha1=libcrypto
|
|
-Ddefault_font_path=$TERMUX_PREFIX/share/fonts
|
|
"
|
|
|
|
# Remove files conflicting with xorg-server:
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
lib/xorg/protocol.txt
|
|
share/X11/xkb/compiled
|
|
share/man/man1/Xserver.1
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
export PATH="$TERMUX_PREFIX/opt/libwayland/cross/bin:$PATH"
|
|
|
|
CFLAGS+=" -fcommon -fPIC -DFNDELAY=O_NDELAY -Wno-int-to-pointer-cast -Wno-implicit-function-declaration"
|
|
CPPFLAGS+=" -fcommon -fPIC -I${TERMUX_PREFIX}/include/libdrm"
|
|
LDFLAGS+=" -landroid-shmem"
|
|
}
|