mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 12:26:24 +02:00
79 lines
1.6 KiB
Text
79 lines
1.6 KiB
Text
# Maintainer: Alex McGrath <amk@amk.ie>
|
|
pkgname=foot
|
|
pkgver=1.22.3
|
|
pkgrel=0
|
|
pkgdesc="Fast, lightweight and minimalistic Wayland terminal emulator"
|
|
url="https://codeberg.org/dnkl/foot"
|
|
license="MIT"
|
|
arch="all"
|
|
depends="ncurses-terminfo"
|
|
makedepends="
|
|
cage
|
|
font-dejavu
|
|
fcft-dev
|
|
fontconfig-dev
|
|
freetype-dev
|
|
libxkbcommon-dev
|
|
meson
|
|
ncurses
|
|
pixman-dev
|
|
scdoc
|
|
tllist-dev
|
|
utf8proc-dev
|
|
wayland-dev
|
|
wayland-protocols
|
|
"
|
|
subpackages="
|
|
$pkgname-dbg
|
|
$pkgname-doc
|
|
$pkgname-bash-completion
|
|
$pkgname-fish-completion
|
|
$pkgname-zsh-completion
|
|
$pkgname-extra-terminfo:_extra_terminfo:noarch
|
|
$pkgname-themes:_themes:noarch
|
|
"
|
|
source="
|
|
$pkgname-$pkgver.tar.gz::https://codeberg.org/dnkl/foot/archive/$pkgver.tar.gz
|
|
"
|
|
options="!check" # ran during profiling
|
|
builddir="$srcdir/foot"
|
|
|
|
build() {
|
|
export CFLAGS="$CFLAGS -O3" # -O3 as the package is intended to use it
|
|
export CXXFLAGS="$CXXFLAGS -O3"
|
|
export CPPFLAGS="$CPPFLAGS -O3"
|
|
|
|
abuild-meson \
|
|
-Db_pgo=generate \
|
|
-Db_lto=true \
|
|
-Dterminfo-base-name=foot-extra \
|
|
-Dutmp-backend=none \
|
|
. output
|
|
meson compile -C output
|
|
|
|
ninja -C output test
|
|
./pgo/full-headless-cage.sh . output
|
|
|
|
meson configure -Db_pgo=use output
|
|
meson compile -C output
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" meson install --no-rebuild -C output
|
|
}
|
|
|
|
_extra_terminfo() {
|
|
pkgdesc="$pkgdesc (extra terminfo data)"
|
|
|
|
amove /usr/share/terminfo/f
|
|
}
|
|
|
|
_themes() {
|
|
pkgdesc="$pkgdesc (color schemes)"
|
|
|
|
amove /usr/share/foot/themes
|
|
}
|
|
|
|
sha512sums="
|
|
f4aa3c15f4fae75e008a6c42e2b4f1ed7ec5c598b85691b1f26f32c23de9a4c90ec62f152580582e54cecbc4281cf81cb6fb8ae82ea7f5a626475ee5b4d1b038 foot-1.22.3.tar.gz
|
|
"
|