29 lines
1,015 B
Bash
29 lines
1,015 B
Bash
# Template file for 'zutty'
|
|
pkgname=zutty
|
|
version=0.11
|
|
revision=1
|
|
build_style=waf3
|
|
hostmakedepends="pkg-config"
|
|
makedepends="python3-devel libglvnd-devel MesaLib-devel freetype-devel libXmu-devel"
|
|
depends="font-misc-misc"
|
|
short_desc="X terminal emulator rendering through OpenGL ES Compute Shaders"
|
|
maintainer="Javier Caballero <jacallo@protonmail.com>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://tomscii.sig7.se/zutty"
|
|
distfiles="https://github.com/tomszilagyi/zutty/archive/refs/tags/${version}.tar.gz"
|
|
checksum=3e77abb424f2f6044686fd3a3a22793e537bf5e403fe2b6ca8543daf4f3186f9
|
|
|
|
post_patch() {
|
|
vsed -i wscript -e "s|, '-march=native', '-mtune=native'||g"
|
|
}
|
|
|
|
post_install() {
|
|
# Copy icons
|
|
vinstall icons/zutty.svg 644 usr/share/icons/hicolor/scalable/apps
|
|
for _res in 16 32 48 64 128; do
|
|
vinstall icons/zutty_${_res}x${_res}.png 644 usr/share/icons/hicolor/${_res}x${_res}/apps zutty.png
|
|
done
|
|
# Copy desktop entry
|
|
vmkdir usr/share/applications/
|
|
vinstall icons/zutty.desktop 644 usr/share/applications
|
|
}
|