# Template file for 'neatvnc'
pkgname=neatvnc
version=0.3.2
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="aml-devel libdrm-devel pixman-devel zlib-devel gnutls-devel libjpeg-turbo-devel"
short_desc="Liberally licensed VNC server library"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="ISC"
homepage="https://github.com/any1/neatvnc"
distfiles="https://github.com/any1/neatvnc/archive/v${version}.tar.gz"
checksum=8329354f83bcc654146082a8a9f2d0be4bac5bd8c76b6c31790b7b9c5857e318

post_install() {
	vlicense COPYING
}

neatvnc-devel_package() {
	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
