Merge branch 'master' of gitlab.com:src_prepare/src_prepare-overlay

This commit is contained in:
XGQT 2020-01-22 16:04:11 +01:00
commit 8bf2dd2fae
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
2 changed files with 46 additions and 0 deletions

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">gnotclub/xst</remote-id>
</upstream>
</pkgmetadata>

View File

@ -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
}