blob: a9313adf375f5c79d59a055a512874f1f478126f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
|
# Maintainer: Daniel Eklöf <daniel at ekloef dot se>
# Select PGO (Performance Guided Optimizations) build type.
#
# - auto: choose best available option
#
# - none: disable PGO
#
# - full-current-session: run a “full” PGO build in an existing
# Wayland session. This will pop up a foot window running a script
# that generates random terminal output.
#
# - full-headless-sway: run a “full” PGO build inside a headless Sway
# instance. Requires Sway >= 1.7.
#
# - full-headless-cage: run a “full” PGO build inside a headless Cage
# instance. Requires cage to be installed. Will generate lots of
# Cage warnings, but seems to produce a fully working (and well
# optimized) foot build.
#
# - partial: run a “partial” PGO build. This requires neither a
# running Wayland session, nor an installed Wayland compositor, but
# the resulting binary is slower compared to “full” PGO builds
# (though still faster than regular release builds).
#
# Note that “full-*” (which “auto” will prefer) requires an UTF-8
# locale. Either make sure LC_CTYPE is set to an UTF-8 locale, or do a
# “partial” PGO build (or disable PGO altoghether).
PGO=auto
pkgdesc='Wayland terminal emulator - fast, lightweight and minimalistic'
pkgname=foot-git
pkgver=1.20.2
pkgrel=1
conflicts=('foot')
replaces=('foot-themes')
provides=('foot')
arch=('x86_64' 'aarch64')
url=https://codeberg.org/dnkl/foot
license=(mit)
makedepends=('git' 'meson' 'ninja' 'scdoc' 'python' 'wayland-protocols' 'tllist') # ‘llvm’, for PGO with clang
checkdepends=('check')
depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'libutf8proc' 'ncurses' 'fcft>=3.0.0')
optdepends=("foot-terminfo: alternative to ncurses' terminfo, with additional non-standard capabilities"
"libnotify: desktop notifications"
"xdg-utils: URI launching"
"bash-completion: bash completions for foot itself")
source=(git+https://codeberg.org/dnkl/foot.git)
sha256sums=('SKIP')
pkgver() {
cd foot
git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd foot
./pgo/pgo.sh \
${PGO} \
. build \
--prefix=/usr \
--wrap-mode=nodownload \
-Dterminfo=disabled
}
check() {
cd foot
ninja -C build test
}
package_foot-git() {
cd foot
DESTDIR="${pkgdir}/" ninja -C build install
install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/foot/LICENSE"
}
|