2020-02-24 19:22:20 +01:00
|
|
|
# X11 package
|
2019-11-17 16:41:03 +01:00
|
|
|
TERMUX_PKG_HOMEPAGE=https://xcb.freedesktop.org/
|
|
|
|
TERMUX_PKG_DESCRIPTION="XML-XCB protocol descriptions"
|
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-05-13 10:01:25 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2020-12-08 00:37:25 +01:00
|
|
|
TERMUX_PKG_VERSION=1.14.1
|
2021-08-16 16:14:02 +02:00
|
|
|
TERMUX_PKG_REVISION=3
|
2020-02-24 19:24:35 +01:00
|
|
|
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-$TERMUX_PKG_VERSION.tar.xz
|
2020-12-08 00:37:25 +01:00
|
|
|
TERMUX_PKG_SHA256=f04add9a972ac334ea11d9d7eb4fc7f8883835da3e4859c9afa971efdf57fcc3
|
2019-11-17 16:41:03 +01:00
|
|
|
TERMUX_PKG_PLATFORM_INDEPENDENT=true
|
|
|
|
TERMUX_PKG_CONFLICTS="xcbproto"
|
|
|
|
TERMUX_PKG_REPLACES="xcbproto"
|
2020-08-01 12:51:36 +02:00
|
|
|
|
2020-08-21 12:28:46 +02:00
|
|
|
termux_step_pre_configure() {
|
2021-08-16 16:14:02 +02:00
|
|
|
export PYTHON_VERSION=$(. $TERMUX_SCRIPTDIR/packages/python/build.sh; echo $_MAJOR_VERSION)
|
|
|
|
export PYTHON=python$PYTHON_VERSION
|
2021-08-16 15:56:36 +02:00
|
|
|
TERMUX_PKG_RM_AFTER_INSTALL="lib/${PYTHON}/site-packages/xcbgen/__pycache__"
|
2020-08-12 18:53:44 +02:00
|
|
|
}
|