# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # This is not a vanilla build of st. This is my personal build of st. EAPI=7 inherit desktop savedconfig toolchain-funcs DESCRIPTION="speedie's fork of st with .Xresources, pywal, alpha, column reflow and more" HOMEPAGE="https://speedie.gq" #SRC_URI="https://codeberg.org/speedie/st/releases/download/${PV}/${P}.tar.gz" inherit git-r3 EGIT_REPO_URI="https://codeberg.org/speedie/st.git" #KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~m68k ~ppc64 ~riscv ~x86" LICENSE="MIT-with-advertising" SLOT="0" RDEPEND=" >=sys-libs/ncurses-6.0:0= media-libs/fontconfig x11-libs/libX11 x11-libs/libXft media-libs/harfbuzz media-libs/gd dev-lang/tcc " DEPEND=" ${RDEPEND} x11-base/xorg-proto " BDEPEND="virtual/pkgconfig" src_prepare() { default restore_config options.h } src_install() { emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="cc" install save_config options.h } pkg_postinst() { if ! [[ "${REPLACING_VERSIONS}" ]]; then elog "Please ensure a usable font is installed, like" elog " media-fonts/corefonts" elog " media-fonts/dejavu" elog " media-fonts/urw-fonts" fi }