termux-packages/x11-packages/libx11/build.sh

17 lines
818 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
TERMUX_PKG_DESCRIPTION="X11 client-side library"
TERMUX_PKG_LICENSE="MIT"
2019-05-17 00:18:48 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2019-06-29 20:31:42 +02:00
TERMUX_PKG_VERSION=1.6.8
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/releases/individual/lib/libX11-${TERMUX_PKG_VERSION}.tar.bz2
2019-06-29 20:31:42 +02:00
TERMUX_PKG_SHA256=b289a845c189e251e0e884cc0f9269bbe97c238df3741e854ec4c17c21e473d5
2019-02-05 01:41:29 +01:00
TERMUX_PKG_DEPENDS="libandroid-support, libxcb, x11-repo (>= 1.3)"
2018-09-10 00:42:26 +02:00
TERMUX_PKG_BUILD_DEPENDS="xorgproto, xorg-util-macros, xtrans"
TERMUX_PKG_DEVPACKAGE_DEPENDS="xorgproto, xtrans"
TERMUX_PKG_RECOMMENDS="xorg-xauth"
2018-09-10 00:42:26 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--disable-xthreads --enable-malloc0returnsnull"
termux_step_post_make_install() {
ln -sfr "${TERMUX_PREFIX}/lib/libX11.so" "${TERMUX_PREFIX}/lib/libX11.so.6"
}