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

20 lines
580 B
Bash
Raw Normal View History

2018-09-10 00:42:26 +02:00
TERMUX_PKG_MAINTAINER="Leonid Plyushch <leonid.plyushch@gmail.com> @xeffyr"
TERMUX_PKG_HOMEPAGE=http://dri.freedesktop.org
TERMUX_PKG_DESCRIPTION="Userspace interface to kernel DRM services"
2018-10-06 20:19:09 +02:00
TERMUX_PKG_VERSION=2.4.95
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.bz2
2018-10-06 20:19:09 +02:00
TERMUX_PKG_SHA256=ef772a51b4bed97a2c243194d9a98da97319e0dbdf800d07773b025aacc895c6
2018-09-10 00:42:26 +02:00
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-intel
--disable-radeon
--disable-amdgpu
--disable-nouveau
--disable-vmwgfx
"
termux_step_pre_configure () {
CFLAGS="${CFLAGS} -DANDROID"
}