void-packages/srcpkgs/nyxt/template
Alexander Egorenkov 09fa22975e nyxt: fix dependencies
* Remove unneeded dependencies
  - curl
  - pkg-config
  - sqlite (bookmarks stored as s-exps now)
  - openssl-devel

* Add runtime dependency libfixposix-devel

Unhandled SIMPLE-ERROR in thread #<SB-THREAD:THREAD "main thread" RUNNING
                                    {1000FB0103}>:
  Error opening shared object "libfixposix.so":
  libfixposix.so: cannot open shared object file: No such file or directory.

* Add enchant2 dependency for spell checking

Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
2021-06-08 19:07:34 +02:00

33 lines
1 KiB
Bash

# Template file for 'nyxt'
pkgname=nyxt
version=2.0.0
revision=2
wrksrc=nyxt
build_style=gnu-makefile
make_build_target=all
hostmakedepends="sbcl git"
makedepends="webkit2gtk-devel libfixposix-devel libgirepository-devel"
depends="dbus xclip enchant2 webkit2gtk-devel libfixposix-devel libgirepository-devel"
short_desc="Keyboard-oriented, extensible web-browser"
maintainer="0x0f0f0f <sudo-woodo3@protonmail.com>"
license="BSD-3-Clause"
homepage="https://nyxt.atlas.engineer/"
distfiles="https://nyxt.atlas.engineer/static/release/nyxt-linux-${version}.tar.gz"
checksum=71154bc6ef88f176f3f7783e1c0ecc191b6dcdd996e1c67f2bbc417b651e0355
# 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"
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
}