9db06f10e3
Closes: #10074 [via git-merge-pr]
28 lines
822 B
Bash
28 lines
822 B
Bash
# Template build file for 'libdrm'.
|
|
pkgname=libdrm
|
|
version=2.4.89
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-udev --disable-valgrind"
|
|
hostmakedepends="libtool automake pkg-config xorg-util-macros"
|
|
makedepends="eudev-libudev-devel libpciaccess-devel"
|
|
short_desc="Userspace interface to kernel DRM services"
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
homepage="https://dri.freedesktop.org/"
|
|
license="MIT"
|
|
distfiles="https://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
|
|
checksum=629f9782aabbb4809166de5f24d26fe0766055255038f16935602d89f136a02e
|
|
|
|
pre_configure() {
|
|
autoreconf -fi
|
|
}
|
|
|
|
libdrm-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}-${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|