1
0
flewkey-overlay/gui-apps/foot/foot-1.7.1.ebuild
Ryan Fox 0f20e38740
gui-apps/foot: Bump to 1.7.1
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Ryan Fox <flewkey@2a03.party>
2021-03-28 19:50:30 +00:00

62 lines
1.0 KiB
Bash

# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson xdg-utils
if [[ ${PV} != *9999* ]]; then
SRC_URI="https://codeberg.org/dnkl/foot/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
else
inherit git-r3
EGIT_REPO_URI="https://codeberg.org/dnkl/foot.git"
fi
DESCRIPTION="A fast, lightweight and minimalistic Wayland terminal emulator"
HOMEPAGE="https://codeberg.org/dnkl/foot"
LICENSE="MIT"
SLOT="0"
IUSE="ime"
DEPEND="
dev-libs/wayland
media-libs/fcft
media-libs/fontconfig
media-libs/freetype
x11-libs/libxkbcommon
x11-libs/pixman
"
RDEPEND="
${DEPEND}
gui-apps/foot-terminfo
"
BDEPEND="
app-text/scdoc
dev-libs/tllist
dev-libs/wayland-protocols
sys-libs/ncurses
"
src_configure() {
local emesonargs=(
$(meson_use ime)
"-Dterminfo=disabled"
)
meson_src_configure
}
src_install() {
meson_src_install
mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}"
}
pkg_postinst() {
xdg_icon_cache_update
}
pkg_postrm() {
xdg_icon_cache_update
}