2018-09-10 00:42:26 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
|
|
|
|
|
|
|
|
TERMUX_PKG_HOMEPAGE=http://xorg.freedesktop.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="X virtual framebuffer"
|
2018-09-11 23:25:32 +02:00
|
|
|
TERMUX_PKG_VERSION=1.20.1
|
2018-10-04 12:42:52 +02:00
|
|
|
TERMUX_PKG_REVISION=6
|
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-09-11 23:25:32 +02:00
|
|
|
TERMUX_PKG_SHA256=59c99fe86fe75b8164c6567bfc6e982aecc2e4a51e6fbac1b842d5d00549e918
|
2018-09-10 00:42:26 +02:00
|
|
|
|
2018-10-04 12:42:52 +02: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="
|
2018-09-11 23:25:32 +02:00
|
|
|
--enable-glx
|
2018-09-10 00:42:26 +02:00
|
|
|
--enable-composite
|
|
|
|
--enable-mitshm
|
|
|
|
--enable-xres
|
|
|
|
--enable-record
|
|
|
|
--disable-xv
|
|
|
|
--disable-xvmc
|
|
|
|
--disable-screensaver
|
|
|
|
--enable-present
|
|
|
|
--disable-xace
|
|
|
|
--disable-dbe
|
|
|
|
--disable-dpms
|
|
|
|
--disable-xfree86-utils
|
|
|
|
--disable-vgahw
|
|
|
|
--disable-vbe
|
|
|
|
--disable-int10-module
|
|
|
|
--disable-pciaccess
|
|
|
|
--disable-dri
|
|
|
|
--disable-input-thread
|
|
|
|
--disable-glamor
|
|
|
|
--disable-xf86vidmode
|
|
|
|
--disable-xf86bigfont
|
|
|
|
--disable-clientids
|
|
|
|
--disable-linux-acpi
|
|
|
|
--disable-linux-apm
|
|
|
|
--disable-strict-compilation
|
|
|
|
--disable-visibility
|
|
|
|
--disable-xnest
|
|
|
|
--disable-xquartz
|
|
|
|
--disable-xwin
|
|
|
|
--disable-xwayland
|
|
|
|
--disable-standalone-xpbproxy
|
|
|
|
--disable-kdrive
|
|
|
|
--disable-kdrive-evdev
|
|
|
|
--disable-kdrive-kbd
|
|
|
|
--disable-xephyr
|
|
|
|
--disable-xfake
|
|
|
|
--disable-xfbdev
|
|
|
|
--disable-secure-rpc
|
|
|
|
--enable-input-thread
|
|
|
|
--enable-xtrans-send-fds
|
|
|
|
--disable-xorg
|
|
|
|
--enable-xvfb
|
|
|
|
--disable-dmx
|
|
|
|
--enable-ipv6
|
|
|
|
--with-sha1=libcrypto
|
|
|
|
--with-fontrootdir=${TERMUX_PREFIX}/share/fonts
|
|
|
|
--with-xkb-path=${TERMUX_PREFIX}/share/X11/xkb
|
|
|
|
LIBS=-landroid-shmem"
|
|
|
|
|
|
|
|
termux_step_pre_configure () {
|
2018-09-11 23:25:32 +02:00
|
|
|
CFLAGS+=" -DFNDELAY=O_NDELAY"
|
|
|
|
CPPFLAGS+=" -I${TERMUX_PREFIX}/include/libdrm"
|
|
|
|
|
2018-09-10 00:42:26 +02:00
|
|
|
if [ -n "${TERMUX_DEBUG}" ]; then
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS+=" --enable-debug"
|
|
|
|
fi
|
|
|
|
}
|
|
|
|
|
|
|
|
termux_step_post_make_install () {
|
|
|
|
rm -f "${TERMUX_PREFIX}/usr/share/X11/xkb/compiled"
|
|
|
|
}
|
|
|
|
|
|
|
|
## The following is required for package 'tigervnc'.
|
|
|
|
if [ "${#}" -eq 1 ] && [ "${1}" == "xorg_server_flags" ]; then
|
|
|
|
echo ${TERMUX_PKG_EXTRA_CONFIGURE_ARGS}
|
|
|
|
return
|
|
|
|
fi
|