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

20 lines
599 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>"
2019-05-19 00:44:11 +02:00
TERMUX_PKG_VERSION=2.4.98
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.bz2
2019-05-19 00:44:11 +02:00
TERMUX_PKG_SHA256=8be0edccaca3abde8b6bb1431b46354c7fab46e9b91cc6946ba65b51f56f1894
2018-09-10 00:42:26 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-intel
--disable-radeon
--disable-amdgpu
--disable-nouveau
--disable-vmwgfx
"
2018-10-28 20:36:06 +01:00
termux_step_pre_configure() {
CFLAGS="${CFLAGS} -DANDROID"
2018-09-10 00:42:26 +02:00
}