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

21 lines
611 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"
2019-05-17 00:18:48 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com>"
2020-04-27 15:34:50 +02:00
TERMUX_PKG_VERSION=2.4.101
TERMUX_PKG_REVISION=2
2020-04-27 15:34:50 +02:00
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=ddf31baa8e49473624860bd166ce654dc349873f7a6c7b3305964249315c78a7
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
}