xwayland: Remove files conflicting with xorg-server
This commit is contained in:
parent
54527f58a8
commit
5b7520b5a0
@ -3,7 +3,7 @@ TERMUX_PKG_DESCRIPTION="Wayland X11 server"
|
|||||||
TERMUX_PKG_LICENSE="MIT"
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
TERMUX_PKG_MAINTAINER="@termux"
|
TERMUX_PKG_MAINTAINER="@termux"
|
||||||
TERMUX_PKG_VERSION=1.20.5
|
TERMUX_PKG_VERSION=1.20.5
|
||||||
TERMUX_PKG_REVISION=13
|
TERMUX_PKG_REVISION=14
|
||||||
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/xserver/xorg-server-${TERMUX_PKG_VERSION}.tar.bz2
|
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/xserver/xorg-server-${TERMUX_PKG_VERSION}.tar.bz2
|
||||||
TERMUX_PKG_SHA256=a81d8243f37e75a03d4f8c55f96d0bc25802be6ec45c3bfa5cb614c6d01bac9d
|
TERMUX_PKG_SHA256=a81d8243f37e75a03d4f8c55f96d0bc25802be6ec45c3bfa5cb614c6d01bac9d
|
||||||
TERMUX_PKG_DEPENDS="libandroid-shmem, libdrm, libpciaccess, libpixman, libx11, libxau, libxfont2, libxinerama, libxkbfile, libxshmfence, mesa, openssl, xkeyboard-config, xorg-xkbcomp, libwayland, libwayland-protocols, libepoxy"
|
TERMUX_PKG_DEPENDS="libandroid-shmem, libdrm, libpciaccess, libpixman, libx11, libxau, libxfont2, libxinerama, libxkbfile, libxshmfence, mesa, openssl, xkeyboard-config, xorg-xkbcomp, libwayland, libwayland-protocols, libepoxy"
|
||||||
@ -52,27 +52,30 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|||||||
--with-sha1=libcrypto
|
--with-sha1=libcrypto
|
||||||
--with-fontrootdir=${TERMUX_PREFIX}/share/fonts
|
--with-fontrootdir=${TERMUX_PREFIX}/share/fonts
|
||||||
--with-xkb-path=${TERMUX_PREFIX}/share/X11/xkb
|
--with-xkb-path=${TERMUX_PREFIX}/share/X11/xkb
|
||||||
|
--with-serverconfig-path=${TERMUX_PREFIX}/etc/xwayland
|
||||||
LIBS=-landroid-shmem"
|
LIBS=-landroid-shmem"
|
||||||
|
|
||||||
termux_step_pre_configure () {
|
# Remove files conflicting with xorg-server:
|
||||||
CFLAGS+=" -fcommon -fPIC -DFNDELAY=O_NDELAY -Wno-int-to-pointer-cast"
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
||||||
CPPFLAGS+=" -fcommon -fPIC -I${TERMUX_PREFIX}/include/libdrm"
|
share/X11/xkb/compiled
|
||||||
|
share/man/man1/Xserver.1
|
||||||
|
"
|
||||||
|
|
||||||
if [ "${TERMUX_DEBUG_BUILD}" = "true" ]; then
|
termux_step_pre_configure() {
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
|
CFLAGS+=" -fcommon -fPIC -DFNDELAY=O_NDELAY -Wno-int-to-pointer-cast"
|
||||||
fi
|
CPPFLAGS+=" -fcommon -fPIC -I${TERMUX_PREFIX}/include/libdrm"
|
||||||
|
|
||||||
# fixing automake version mismatch
|
if [ "${TERMUX_DEBUG_BUILD}" = "true" ]; then
|
||||||
cd ${TERMUX_PKG_SRCDIR}
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
|
||||||
files=`find . -name configure -o -name config.status -o -name Makefile.in`
|
fi
|
||||||
for file in $files; do rm $file; done
|
|
||||||
unset files
|
|
||||||
|
|
||||||
#you will need xutils-dev package for xorg-macros installed
|
# fixing automake version mismatch
|
||||||
autoreconf -if
|
cd ${TERMUX_PKG_SRCDIR}
|
||||||
cd -
|
files=`find . -name configure -o -name config.status -o -name Makefile.in`
|
||||||
}
|
for file in $files; do rm $file; done
|
||||||
|
unset files
|
||||||
termux_step_post_make_install () {
|
|
||||||
rm -f "${TERMUX_PREFIX}/usr/share/X11/xkb/compiled"
|
#you will need xutils-dev package for xorg-macros installed
|
||||||
|
autoreconf -if
|
||||||
|
cd -
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user