38307a4a7e
Let @termux be assigned as package maintainer instead of me, just like the most of Termux packages. I really don't use X11 package set so far. %ci:no-build
24 lines
671 B
Bash
24 lines
671 B
Bash
TERMUX_PKG_HOMEPAGE=https://dri.freedesktop.org/wiki/
|
|
TERMUX_PKG_DESCRIPTION="Userspace interface to kernel DRM services"
|
|
TERMUX_PKG_LICENSE="MIT"
|
|
TERMUX_PKG_MAINTAINER="@termux"
|
|
TERMUX_PKG_VERSION=2.4.107
|
|
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.xz
|
|
TERMUX_PKG_SHA256=c554cef03b033636a975543eab363cc19081cb464595d3da1ec129f87370f888
|
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
|
|
-Dintel=false
|
|
-Dradeon=false
|
|
-Damdgpu=false
|
|
-Dnouveau=false
|
|
-Dvmwgfx=false
|
|
"
|
|
|
|
termux_step_pre_configure() {
|
|
CFLAGS="${CFLAGS} -DANDROID"
|
|
}
|
|
|
|
termux_step_install_license() {
|
|
install -Dm600 -t $TERMUX_PREFIX/share/doc/libdrm $TERMUX_PKG_BUILDER_DIR/LICENSE
|
|
}
|