2018-11-29 13:00:47 +01:00
|
|
|
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"
|
2019-01-21 17:50:21 +01:00
|
|
|
TERMUX_PKG_LICENSE="MIT"
|
2020-05-14 00:01:15 +02:00
|
|
|
TERMUX_PKG_MAINTAINER="Leonid Pliushch <leonid.pliushch@gmail.com>"
|
2020-11-21 23:55:19 +01:00
|
|
|
TERMUX_PKG_VERSION=2.4.103
|
2020-04-27 15:34:50 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.xz
|
2020-11-21 23:55:19 +01:00
|
|
|
TERMUX_PKG_SHA256=3fe0affdba6460166a7323290c18cf68e9b59edcb520722826cb244e9cb50222
|
2018-09-10 00:42:26 +02:00
|
|
|
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
2020-04-27 16:11:48 +02:00
|
|
|
-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() {
|
2019-01-21 17:50:21 +01:00
|
|
|
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
|
|
|
|
}
|