void-packages/srcpkgs/nyxt/template
Đoàn Trần Công Danh f9fd85e4f7 nyxt: fix musl runtime
While we're at it, load versioned libgi-repository.

Fix: #35877
Fix: #36243
Close: #36251
2022-03-21 17:06:00 +07:00

35 lines
1.1 KiB
Bash

# Template file for 'nyxt'
pkgname=nyxt
version=2.2.4
revision=3
create_wrksrc=yes
build_style=gnu-makefile
make_build_target=all
hostmakedepends="sbcl git"
makedepends="webkit2gtk libfixposix-devel libgirepository"
depends="dbus xclip enchant2 webkit2gtk libfixposix libgirepository"
short_desc="Keyboard-oriented, extensible web-browser"
maintainer="0x0f0f0f <sudo-woodo3@protonmail.com>"
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=04f740f8405044cc89920d41d340d6d137e1d4f7be098d4813d1523f73d725a9
# 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.0.so.37 libfixposix.so.3 libgirepository-1.0.so.1"
do_install() {
make PREFIX=/usr DESTDIR=${DESTDIR} install
vlicense licenses/ASSET-LICENSE
vlicense licenses/SOURCE-LICENSE
}
next_package() {
depends="nyxt"
short_desc+=" (transitional dummy package)"
build_style=meta
}