summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorDaniel Eklöf2021-11-04 12:46:39 +0100
committerDaniel Eklöf2021-11-04 12:46:39 +0100
commitd703abab13df6caa39fdaa3be14be53438441372 (patch)
tree7518d9f052c06848af2bbb12929953d9dbc52a28 /PKGBUILD
parent8450685ac87e317bad51fe4c1411b076eb1c5609 (diff)
downloadaur-d703abab13df6caa39fdaa3be14be53438441372.tar.gz
Turn foot-terminfo into an optional dependency
Ncurses 6.3 is coming, and it ships terminfo definitions for foot. Foot will default to ncurses’ terminfos. Hence, this patch makes ncurses a run-time dependency. However, since they lack certain non-standard capabilites, we still provide a foot-terminfo package, but with renamed terminfo entries (to be able to install it side-by-side with ncurses). For this reason, foot-terminfo is listed as an optional dependency. To use these terminfo entries, foot must be configured to use TERM=foot-extra, instead of TERM=foot. This is done by setting “term=foot-extra” in ~/.config/foot/foot.ini
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e28958f075c9..b6f899330843 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -32,18 +32,19 @@ PGO=auto
pkgdesc='Wayland terminal emulator - fast, lightweight and minimalistic'
pkgname=foot-git
pkgver=1.9.2
-pkgrel=1
+pkgrel=2
conflicts=('foot')
provides=('foot')
arch=('x86_64' 'aarch64')
url=https://codeberg.org/dnkl/foot
license=(mit)
-makedepends=('meson' 'ninja' 'scdoc' 'python' 'ncurses' 'wayland-protocols' 'tllist') # ‘llvm’, for PGO with clang
+makedepends=('meson' 'ninja' 'scdoc' 'python' 'wayland-protocols' 'tllist') # ‘llvm’, for PGO with clang
checkdepends=('check')
-depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'libutf8proc' 'fcft' 'foot-terminfo')
-optdepends=('libnotify: desktop notifications'
- 'xdg-utils: URI launching'
- 'bash-completion: bash completions for foot itself')
+depends=('libxkbcommon' 'wayland' 'pixman' 'fontconfig' 'libutf8proc' 'ncurses' 'fcft')
+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')