void-packages/srcpkgs/libdisplay-info/template

28 lines
762 B
Bash

# Template file for 'libdisplay-info'
pkgname=libdisplay-info
version=0.1.1
revision=1
build_style=meson
hostmakedepends="hwids"
short_desc="EDID and DisplayID library"
maintainer="John <me@johnnynator.dev>"
license="MIT"
homepage="https://gitlab.freedesktop.org/emersion/libdisplay-info/"
distfiles="https://gitlab.freedesktop.org/emersion/libdisplay-info/-/archive/${version}/libdisplay-info-${version}.tar.gz"
checksum=a5aeef57817916286526292ec816a5338c4d3c0094ce91e584fc82b57070a44f
# tests require currently unpacakged edid-decode
make_check=no
post_install() {
vlicense LICENSE
}
libdisplay-info-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}