From c7c57dfe47a902297100f9ebc0ae9e717a320207 Mon Sep 17 00:00:00 2001 From: Xenhat Hex Date: Tue, 21 Jan 2020 22:21:48 -0500 Subject: [PATCH] Add xst-999 ebuild --- x11-terms/xst/metadata.xml | 7 +++++++ x11-terms/xst/xst-9999.ebuild | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 x11-terms/xst/metadata.xml create mode 100644 x11-terms/xst/xst-9999.ebuild diff --git a/x11-terms/xst/metadata.xml b/x11-terms/xst/metadata.xml new file mode 100644 index 0000000..7995eb3 --- /dev/null +++ b/x11-terms/xst/metadata.xml @@ -0,0 +1,7 @@ + + + + + gnotclub/xst + + diff --git a/x11-terms/xst/xst-9999.ebuild b/x11-terms/xst/xst-9999.ebuild new file mode 100644 index 0000000..e97d869 --- /dev/null +++ b/x11-terms/xst/xst-9999.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit eutils git-r3 multilib savedconfig toolchain-funcs + +DESCRIPTION="Simple terminal implementation for X with Xresources support and other patches" +HOMEPAGE="https://github.com/gnotclub/xst" +EGIT_REPO_URI="${HOMEPAGE}" + +SLOT="0" +LICENSE="MIT-with-advertising" + +IUSE="savedconfig" + +RDEPEND=" + >=sys-libs/ncurses-6.0:0= + media-libs/fontconfig + x11-libs/libX11 + x11-libs/libXft +" +DEPEND="${RDEPEND} + virtual/pkgconfig + x11-base/xorg-proto +" + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + + make_desktop_entry ${PN} xst utilities-terminal 'System;TerminalEmulator;' '' +} + +pkg_postinst() { + if ! [[ "${REPLACING_VERSIONS}" ]]; then + elog "Please ensure a usable font is installed, like" + elog " media-fonts/terminus-font" + elog " media-fonts/dina" + fi +}