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"
|
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
2018-10-28 20:50:27 +01:00
|
|
|
TERMUX_PKG_VERSION=1.20.3
|
2018-10-31 19:54:40 +01:00
|
|
|
TERMUX_PKG_REVISION=1
|
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
|
2018-10-28 20:50:27 +01:00
|
|
|
TERMUX_PKG_SHA256=1b3ce466c12cacbe2252b3ad5b0ed561972eef9d09e75900d65fb1e21f9201de
|
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
|
|
|
|
LIBS=-landroid-shmem"
|
|
|
|
|
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
|
|
|
|
2019-01-21 17:50:21 +01:00
|
|
|
if [ -n "${TERMUX_DEBUG}" ]; then
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
|
|
|
|
fi
|
2018-09-10 00:42:26 +02:00
|
|
|
}
|
|
|
|
|
2019-01-21 17:50:21 +01:00
|
|
|
termux_step_post_make_install() {
|
|
|
|
rm -f "${TERMUX_PREFIX}/usr/share/X11/xkb/compiled"
|
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}
|
|
|
|
return
|
2018-09-10 00:42:26 +02:00
|
|
|
fi
|