void-packages/srcpkgs/libdrm/template

25 lines
739 B
Bash

# Template build file for 'libdrm'.
pkgname=libdrm
version=2.4.91
revision=1
configure_args="-Dudev=true -Dvalgrind=false"
build_style=meson
hostmakedepends="pkg-config"
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=634a0ed0cc1eff06f48674b1da81aafa661a9f001e7a4f43dde81076886dc800
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"
}
}