2018-11-29 13:00:47 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_DESCRIPTION="X virtual framebuffer"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2021-08-25 12:47:33 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
2021-05-05 22:21:20 +02:00
|
|
|
TERMUX_PKG_VERSION=1.20.11
|
2022-02-03 20:38:01 +01:00
|
|
|
TERMUX_PKG_REVISION=3
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/xserver/xorg-server-${TERMUX_PKG_VERSION}.tar.bz2
|
2021-05-05 22:21:20 +02:00
|
|
|
TERMUX_PKG_SHA256=914c796e3ffabe1af48071d40ccc85e92117c97a9082ed1df29e4d64e3c34c49
|
2018-09-10 00:42:26 +02:00
|
|
|
|
2018-10-31 19:54:40 +01:00
|
|
|
TERMUX_PKG_DEPENDS="libandroid-shmem, libdrm, libpixman, libx11, libxau, libxfont2, libxinerama, libxkbfile, libxshmfence, mesa, openssl, xkeyboard-config, xorg-xkbcomp"
|
fix names for more packages
Now x11-packages repository will use original names for
packages. For example, libgtk2 now will be provided as
gtk2, libgtk3 will be available as gtk3, libsdl - as sdl.
List of changed packages:
libatk --> atk
libglu --> glu
libgtk2 --> gtk2
libgtk3 --> gtk3
libmesa --> mesa
libsdl --> sdl
libsdl2 --> sdl2
libsdl-net --> sdl-net
riscvemu-sdl --> riscvemu
xorg-xvfb --> xorg-server-xvfb
List of dependent packages (should be rebuilt with new deps):
dosbox, emacs-x, galculator, geany, libepoxy, mtpaint,
qemu-system-x86_64, the-powder-toy, tigervnc, wireshark-gtk,
xarchiver.
Note: depending on which packages are installed, it may be
necessary to upgrade with 'apt dist-upgrade'.
2018-10-03 20:02:25 +02:00
|
|
|
TERMUX_PKG_CONFLICTS="xorg-xvfb"
|
|
|
|
TERMUX_PKG_REPLACES="xorg-xvfb"
|
|
|
|
|
2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
|
|
--enable-composite
|
|
|
|
--enable-mitshm
|
|
|
|
--enable-xres
|
|
|
|
--enable-record
|
2018-10-08 20:44:50 +02:00
|
|
|
--enable-xv
|
|
|
|
--enable-xvmc
|
|
|
|
--enable-dga
|
|
|
|
--enable-screensaver
|
|
|
|
--enable-xdmcp
|
2018-10-31 19:54:40 +01:00
|
|
|
--disable-glx
|
2018-10-28 01:32:25 +02:00
|
|
|
--disable-dri
|
|
|
|
--disable-dri2
|
|
|
|
--disable-dri3
|
2018-09-10 00:42:26 +02:00
|
|
|
--enable-present
|
2018-10-08 20:44:50 +02:00
|
|
|
--enable-xinerama
|
|
|
|
--enable-xf86vidmode
|
|
|
|
--enable-xace
|
|
|
|
--enable-xcsecurity
|
|
|
|
--enable-dbe
|
|
|
|
--enable-xf86bigfont
|
2018-09-10 00:42:26 +02:00
|
|
|
--disable-xfree86-utils
|
|
|
|
--disable-vgahw
|
|
|
|
--disable-vbe
|
|
|
|
--disable-int10-module
|
2018-10-08 20:44:50 +02:00
|
|
|
--enable-libdrm
|
2018-09-10 00:42:26 +02:00
|
|
|
--disable-pciaccess
|
|
|
|
--disable-linux-acpi
|
|
|
|
--disable-linux-apm
|
2018-10-08 20:44:50 +02:00
|
|
|
--disable-xorg
|
|
|
|
--disable-dmx
|
|
|
|
--enable-xvfb
|
2018-09-10 00:42:26 +02:00
|
|
|
--disable-xnest
|
|
|
|
--disable-xwayland
|
2018-10-08 20:44:50 +02:00
|
|
|
--disable-xwin
|
2018-09-10 00:42:26 +02:00
|
|
|
--disable-kdrive
|
|
|
|
--disable-xephyr
|
2018-10-08 20:44:50 +02:00
|
|
|
--disable-libunwind
|
|
|
|
--enable-xshmfence
|
2018-09-10 00:42:26 +02:00
|
|
|
--enable-ipv6
|
|
|
|
--with-sha1=libcrypto
|
|
|
|
--with-fontrootdir=${TERMUX_PREFIX}/share/fonts
|
|
|
|
--with-xkb-path=${TERMUX_PREFIX}/share/X11/xkb
|
2022-02-03 20:38:01 +01:00
|
|
|
LIBS=-landroid-shmem
|
|
|
|
"
|
|
|
|
|
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="
|
|
|
|
share/X11/xkb/compiled
|
|
|
|
share/man/man1/Xserver.1
|
|
|
|
"
|
2018-09-10 00:42:26 +02:00
|
|
|
|
2019-01-21 17:50:21 +01:00
|
|
|
termux_step_pre_configure() {
|
|
|
|
CFLAGS+=" -DFNDELAY=O_NDELAY"
|
|
|
|
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/libdrm"
|
2018-09-11 23:25:32 +02:00
|
|
|
|
2021-10-25 12:22:54 +02:00
|
|
|
if [ "$TERMUX_DEBUG_BUILD" = "true" ]; then
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
|
|
|
|
fi
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
## The following is required for package 'tigervnc'.
|
|
|
|
if [ "${#}" -eq 1 ] && [ "${1}" == "xorg_server_flags" ]; then
|
2019-01-21 17:50:21 +01:00
|
|
|
echo ${TERMUX_PKG_EXTRA_CONFIGURE_ARGS}
|
2018-09-10 00:42:26 +02:00
|
|
|
fi
|