# Contributor: Will Sinatra # Contributor: Benjamin Buccianti # Maintainer: Will Sinatra pkgname=nyxt pkgver=3.5.0 pkgrel=0 pkgdesc="Atlas Engineer Nyxt Browser" url="https://nyxt.atlas.engineer" arch="aarch64 x86_64" #SBCL must be compiled with thread support for Nyxt to work #SBCL thread is not supported on armv7 #SBCL is only built on arches x86_64, aarch64, and armv7 license="BSD-3-Clause" depends=" gobject-introspection libffi libcrypto3 libssl3 so:libfixposix.so.4 so:libwebkit2gtk-4.1.so.0 " makedepends="libffi-dev libfixposix-dev sbcl webkit2gtk-4.1-dev" source="$pkgname-$pkgver.tar.xz::https://github.com/atlas-engineer/nyxt/releases/download/$pkgver/nyxt-$pkgver-source-with-submodules.tar.xz 001-libfixposix.patch 002-webkit2gtk.patch libgirepository.patch openssl3.patch " options="!check !strip" #No testsuite exists; Stripping the package causes the # package to build, but the nyxt browser is unfunctional, dropping to an SBCL repl # instead of properly running. replaces=next provides=next=$pkgver-r$pkgrel builddir="$srcdir" build() { make all } package() { make PREFIX=/usr DESTDIR="$pkgdir" install } sha512sums=" 62c0387db5390fab7efd2625ec200c611ba88a1670097db00c04fac2a8d384df131f5f6ae8e27ea1901166cbb9374fa2cbb6ee028ba4bd75fe91806c8eec88fd nyxt-3.5.0.tar.xz cc836bb2069c30c2ec9190d831e9c47194bf72277369aa31577445d6e430bca20c7e2450946218f46c3f8ca7c4256bb97863038c96899fb32134363e21c510c9 001-libfixposix.patch 094e84c2e8e6dc8a530987bcc3637671e444d7c198f903b16a838e558b19f848c34a8e242c5862e97eebc5c849a38ea01a38badb0f8b1536d49a88db0876cb41 002-webkit2gtk.patch 1d6998bef511637530530959eddd0d632eeacb19dada60531e316239184d5a3b2997b635ee5c88c079ecd723e52efc710c9960f802814ab1e6b57ff908f3319c libgirepository.patch dd0632720fe146658e6fc9e032e30602917967ea5cb42b743fc9d3165d4a82c48d272a456c3ecad7b5e26bd649ae655553482d1a2e6d4978810409c7c9b72fe7 openssl3.patch "