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

20 lines
579 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-28 20:36:06 +01:00
TERMUX_PKG_VERSION=2.4.96
2018-09-10 00:42:26 +02:00
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.bz2
2018-10-28 20:36:06 +01:00
TERMUX_PKG_SHA256=0d561acf7bb4cc59dc82415100e6c1a44860e8c380e00f9592923e3cd08db393
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() {
2018-09-10 00:42:26 +02:00
CFLAGS="${CFLAGS} -DANDROID"
}