termux-packages/x11-packages/libdrm/build.sh
Leonid Pliushch 12a5ea2da2
reset x11 packages repository
Rebuild all packages - ensure everything links correctly after termux-packages
updates. Packages will be built on my host.

%ci:no-build
2022-04-18 14:47:15 +05:30

25 lines
729 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="Leonid Pliushch <leonid.pliushch@gmail.com>"
TERMUX_PKG_VERSION=2.4.105
TERMUX_PKG_REVISION=1
TERMUX_PKG_SRCURL=https://dri.freedesktop.org/libdrm/libdrm-${TERMUX_PKG_VERSION}.tar.xz
TERMUX_PKG_SHA256=1d1d024b7cadc63e2b59cddaca94f78864940ab440843841113fbac6afaf2a46
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
}