Lakka-LibreELEC/packages/wayland/util/foot/package.mk
2023-04-05 12:30:50 +00:00

32 lines
1.1 KiB
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="foot"
PKG_VERSION="1.14.0"
PKG_SHA256="9a306951bc6bdce150364bccb0fb4b67720f50e98e9ac1de89792c1c1aa30690"
PKG_LICENSE="MIT"
PKG_SITE="https://codeberg.org/dnkl/foot/"
PKG_URL="https://codeberg.org/dnkl/foot/archive/${PKG_VERSION}.tar.gz"
PKG_DEPENDS_TARGET="toolchain ncurses wayland wayland-protocols pixman fontconfig libxkbcommon fcft"
PKG_LONGDESC="A fast, lightweight and minimalistic Wayland terminal emulator"
PKG_MESON_OPTS_TARGET="-Ddocs=disabled \
-Dthemes=false \
-Dime=false \
-Dgrapheme-clustering=auto \
-Dterminfo=disabled \
-Ddefault-terminfo=xterm"
post_makeinstall_target(){
# clean up
safe_remove ${INSTALL}/usr/share/*
# install scripts
mkdir -p ${INSTALL}/usr/bin
cp ${PKG_DIR}/scripts/foot.sh ${INSTALL}/usr/bin
# install config
mkdir -p ${INSTALL}/usr/share/foot
cp ${PKG_DIR}/config/foot.ini ${INSTALL}/usr/share/foot
}