# Template file for 'inlyne'
pkgname=inlyne
version=0.5.2
revision=1
build_style=cargo
hostmakedepends="pkg-config"
makedepends="fontconfig-devel oniguruma-devel wayland-devel libxkbcommon-devel"
short_desc="GPU-powered, browserless, markdown and HTML viewer"
maintainer="Julian Bigge <j.reedts@gmail.com>"
license="MIT"
homepage="https://github.com/Inlyne-Project/inlyne"
changelog="https://raw.githubusercontent.com/Inlyne-Project/inlyne/main/CHANGELOG.md"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=4a2f426e88cf192f6aad1bd927640b97350bf6447620d7252bf0d6d01d6d3f40

if [ "$XBPS_TARGET_MACHINE" = i686 ]; then
	make_check_args="-- --skip=centered_image_with_size_align_and_link --skip=image_loading_fails_gracefully"
fi

post_install() {
	vlicense LICENSE
}
