void-packages/srcpkgs/libdrm/template
maxice8 4b5fb08dfa
libdrm: update to 2.4.92.
Closes #14278.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
2018-05-18 09:38:26 +02:00

29 lines
813 B
Bash

# Template build file for 'libdrm'.
pkgname=libdrm
version=2.4.92
revision=1
build_style=meson
configure_args="-Dudev=true -Dvalgrind=false"
hostmakedepends="pkg-config"
makedepends="eudev-libudev-devel libpciaccess-devel"
short_desc="Userspace interface to kernel DRM services"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="https://dri.freedesktop.org/"
distfiles="https://dri.freedesktop.org/libdrm/$pkgname-$version.tar.bz2"
checksum=e9e48fdb4de139dc4d9880aa1473158a16ff6aff63d14341367bd30a51ff39fa
post_install() {
sed -n 9,25p < libsync.h > LICENSE
vlicense LICENSE
}
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"
}
}