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

25 lines
729 B
Bash
Raw Normal View History

TERMUX_PKG_HOMEPAGE=https://dri.freedesktop.org/wiki/
2018-09-10 00:42:26 +02:00
TERMUX_PKG_DESCRIPTION="Userspace interface to kernel DRM services"
TERMUX_PKG_LICENSE="MIT"
2020-05-14 00:01:15 +02:00
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
2020-06-22 13:31:44 +02:00
TERMUX_PKG_VERSION=2.4.102
2020-07-22 19:14:25 +02:00
TERMUX_PKG_REVISION=5
2020-04-27 15:34:50 +02:00
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.xz
2020-06-22 13:31:44 +02:00
TERMUX_PKG_SHA256=8bcbf9336c28e393d76c1f16d7e79e394a7fce8a2e929d52d3ad7ad8525ba05b
2018-09-10 00:42:26 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-Dintel=false
-Dradeon=false
-Damdgpu=false
-Dnouveau=false
-Dvmwgfx=false
2018-09-10 00:42:26 +02:00
"
2018-10-28 20:36:06 +01:00
termux_step_pre_configure() {
CFLAGS="${CFLAGS} -DANDROID"
2018-09-10 00:42:26 +02:00
}
2020-07-22 19:39:28 +02:00
termux_step_install_license() {
install -Dm600 -t $TERMUX_PREFIX/share/doc/libdrm $TERMUX_PKG_BUILDER_DIR/LICENSE
}