# Template file for 'nyxt'
pkgname=nyxt
version=3.11.8
revision=2
create_wrksrc=yes
build_style=gnu-makefile
make_build_target=all
hostmakedepends="sbcl git pkg-config"
makedepends="libwebkit2gtk41 libfixposix-devel libgirepository openssl-devel"
depends="dbus xclip enchant2 libwebkit2gtk41 libfixposix libgirepository"
short_desc="Keyboard-oriented, extensible web-browser"
maintainer="Orphaned <orphan@voidlinux.org>"
license="BSD-3-Clause"
homepage="https://nyxt.atlas.engineer/"
distfiles="https://github.com/atlas-engineer/nyxt/releases/download/${version}/${pkgname}-${version}-source-with-submodules.tar.xz"
checksum=4604b15a4d89336d110926ac91c53eff020ae9c8cd96214d7ed1114bcf6a9254
# Disable check because ASDF/USER::PROVE is not installed
make_check=no
nostrip=yes
nopie=yes
nocross="Cross-compilation fails due to package iolib/syscalls setting incorrect compiler flags"
shlib_requires="libwebkit2gtk-4.1.so.0 libfixposix.so.3 libgirepository-1.0.so.1"

post_install() {
	vlicense licenses/ASSET-LICENSE
	vlicense licenses/SOURCE-LICENSE
}

next_package() {
	depends="nyxt"
	short_desc+=" (transitional dummy package)"
	build_style=meta
}
