sequoia-sq: fix cross

This commit is contained in:
classabbyamp 2024-03-15 17:15:24 -04:00
parent b0251df7d5
commit 9acefb1bfc
No known key found for this signature in database
GPG key ID: 6BE0755918A4C7F5

View file

@ -4,8 +4,9 @@ version=0.34.0
revision=1
build_style=cargo
build_helper=qemu
hostmakedepends="pkg-config llvm clang capnproto"
makedepends="nettle-devel openssl-devel sqlite-devel capnproto-devel"
_deps="nettle-devel openssl-devel sqlite-devel"
hostmakedepends="pkg-config llvm clang ${_deps} capnproto"
makedepends="${_deps} capnproto-devel"
short_desc="Command-line frontend for Sequoia, a new OpenPGP implementation"
maintainer="classabbyamp <void@placeviolette.net>"
license="GPL-2.0-or-later"
@ -15,6 +16,10 @@ distfiles="https://gitlab.com/sequoia-pgp/sequoia-sq/-/archive/v${version}/sequo
checksum=6458274008ef06362c912eb67e285b734906acdb5c56e8490144f45bc1b81d51
conflicts="squirrel"
case "$XBPS_TARGET_MACHINE" in
armv*l) nocross="Requires C libs included in build.rs, which is currently broken in xbps-src. These failures only manifest on a hf archs right now";;
esac
pre_build() {
export ASSET_OUT_DIR=assets
}