some packages were dropped but their maintainer= was not updated in template. this will help new maintainers adopt these packages. -> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
30 lines
874 B
Bash
30 lines
874 B
Bash
# Template file for 'libdrm'
|
|
pkgname=libdrm
|
|
version=2.4.99
|
|
revision=1
|
|
wrksrc="drm-libdrm-${version}"
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://dri.freedesktop.org/"
|
|
distfiles="https://gitlab.freedesktop.org/mesa/drm/-/archive/libdrm-${version}/drm-libdrm-${version}.tar.gz"
|
|
checksum=bb4121e6c0966053fa9fa29c066600a8f80fb71a2baadcce75b3c1f138cff479
|
|
|
|
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"
|
|
}
|
|
}
|