mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-08 13:03:17 +02:00
44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
# Template file for 'rio'
|
|
pkgname=rio
|
|
version=0.2.28
|
|
revision=1
|
|
build_style=cargo
|
|
build_wrksrc="frontends/rioterm"
|
|
hostmakedepends="pkg-config scdoc"
|
|
makedepends="libglvnd-devel libxcb-devel libxkbcommon-devel wayland-devel"
|
|
depends="rio-terminfo-${version}_${revision}"
|
|
short_desc="Hardware-accelerated GPU terminal emulator powered by WebGPU"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="MIT"
|
|
homepage="https://raphamorim.io/rio/"
|
|
changelog="https://raw.githubusercontent.com/raphamorim/rio/main/CHANGELOG.md"
|
|
distfiles="https://github.com/raphamorim/rio/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=cd0a72997a1dfb3d2d05b22a6cf6d22d512dfa8a2946f2fefcdcf6fbebbb485c
|
|
|
|
case "${XBPS_TARGET_MACHINE}" in
|
|
i686*)
|
|
# rustc-LLVM ERROR: out of memory
|
|
export CARGO_PROFILE_RELEASE_LTO=off
|
|
;;
|
|
esac
|
|
|
|
post_install() {
|
|
vinstall ${wrksrc}/misc/logo.svg 644 usr/share/icons/hicolor/scalable/apps rio.svg
|
|
vinstall ${wrksrc}/misc/rio.desktop 644 usr/share/applications
|
|
vlicense ${wrksrc}/LICENSE
|
|
|
|
for _manpage in rio.1 rio.5 rio-bindings.5; do
|
|
scdoc < ${wrksrc}/extra/man/${_manpage}.scd > ${_manpage}
|
|
vman ${_manpage}
|
|
done
|
|
|
|
vmkdir usr/share/terminfo
|
|
tic -sx -o ${DESTDIR}/usr/share/terminfo ${wrksrc}/misc/rio.terminfo
|
|
}
|
|
|
|
rio-terminfo_package() {
|
|
short_desc+=" - terminfo data"
|
|
pkg_install() {
|
|
vmove usr/share/terminfo
|
|
}
|
|
}
|