termux-packages/packages/xorgproto/build.sh

29 lines
945 B
Bash
Raw Normal View History

2020-02-24 19:22:20 +01:00
# X11 package
2019-11-17 16:41:03 +01:00
TERMUX_PKG_HOMEPAGE=https://xorg.freedesktop.org/
TERMUX_PKG_DESCRIPTION="X.Org X11 Protocol headers"
TERMUX_PKG_LICENSE="MIT"
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-05-02 14:10:26 +02:00
TERMUX_PKG_VERSION=2020.1
2019-11-17 16:41:03 +01:00
TERMUX_PKG_SRCURL=https://xorg.freedesktop.org/archive/individual/proto/xorgproto-${TERMUX_PKG_VERSION}.tar.bz2
2020-05-02 14:10:26 +02:00
TERMUX_PKG_SHA256=54a153f139035a376c075845dd058049177212da94d7a9707cf9468367b699d2
2019-11-17 16:41:03 +01:00
TERMUX_PKG_DEPENDS="xorg-util-macros"
TERMUX_PKG_CONFLICTS="x11-proto"
TERMUX_PKG_REPLACES="x11-proto"
TERMUX_PKG_NO_DEVELSPLIT=true
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="-Dlegacy=true"
TERMUX_PKG_RM_AFTER_INSTALL="
include/X11/extensions/apple*
include/X11/extensions/windows*
include/X11/extensions/XKBgeom.h
lib/pkgconfig/applewmproto.pc
lib/pkgconfig/windowswmproto.pc
"
termux_step_pre_configure() {
# Use meson instead of autotools.
rm -f "$TERMUX_PKG_SRCDIR"/configure
}