void-packages/srcpkgs/foot/template
q66 f52d807f46 foot: fix stupid defaults breaking build on some musl setups
Particularly, this may cause issues with ioctl, thanks to this
thing's usage of -pedantic:

../render.c:2173:46: error: overflow in conversion from 'long unsigned int' to 'int' changes value from '2148037735' to '-2146929561' [-Werror=overflow]

This is harmless, so make it not an error.
2020-09-29 22:55:12 +02:00

28 lines
780 B
Bash

# Template file for 'foot'
pkgname=foot
version=1.5.0
revision=1
wrksrc=$pkgname
build_style=meson
configure_args="-Dwerror=false"
hostmakedepends="pkg-config scdoc wayland-devel"
makedepends="fcft-devel libxkbcommon-devel ncurses-devel tllist wayland-devel
wayland-protocols"
depends="${pkgname}-terminfo>=${version}_${revision}"
short_desc="Fast, lightweight and minimalistic Wayland terminal emulator"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://codeberg.org/dnkl/foot"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=47272490222e2ebc7249a2cefdaa08921475e8d0339610cf6ee611ff8c5af6a4
post_install() {
vlicense LICENSE
}
foot-terminfo_package() {
short_desc+=" - terminfo data"
pkg_install() {
vmove usr/share/terminfo
}
}