diff options
Diffstat (limited to 'gui-apps/foot/foot-1.10.1.ebuild')
-rw-r--r-- | gui-apps/foot/foot-1.10.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/gui-apps/foot/foot-1.10.1.ebuild b/gui-apps/foot/foot-1.10.1.ebuild new file mode 100644 index 0000000000..4c91677f75 --- /dev/null +++ b/gui-apps/foot/foot-1.10.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson xdg + +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 +themes +grapheme-clustering" + +DEPEND=" + dev-libs/libutf8proc + dev-libs/wayland + media-libs/fcft + media-libs/fontconfig + media-libs/freetype + x11-libs/libxkbcommon + x11-libs/pixman +" +RDEPEND=" + ${DEPEND} + || ( + >=sys-libs/ncurses-6.3 + 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) + $(meson_use themes) + $(meson_feature grapheme-clustering) + "-Dterminfo=disabled" + "-Dwerror=false" + ) + meson_src_configure +} + +src_install() { + meson_src_install + mv "${D}/usr/share/doc/${PN}" "${D}/usr/share/doc/${PF}" || die +} |