From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 31B291382C5 for ; Fri, 16 Mar 2018 15:27:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4A77CE0874; Fri, 16 Mar 2018 15:27:38 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 25337E0874 for ; Fri, 16 Mar 2018 15:27:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A357335C7A for ; Fri, 16 Mar 2018 15:27:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9F141232 for ; Fri, 16 Mar 2018 15:27:33 +0000 (UTC) From: "Jeroen Roovers" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jeroen Roovers" Message-ID: <1521214007.c30119aab642ca87dd76071f7a1a675424e1f7aa.jer@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/st/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-terms/st/Manifest x11-terms/st/st-0.8.ebuild X-VCS-Directories: x11-terms/st/ X-VCS-Committer: jer X-VCS-Committer-Name: Jeroen Roovers X-VCS-Revision: c30119aab642ca87dd76071f7a1a675424e1f7aa X-VCS-Branch: master Date: Fri, 16 Mar 2018 15:27:33 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: acb660de-557d-4646-8fc7-55211d31e543 X-Archives-Hash: ecdc33e980b0f040bbddb2bde28372e0 commit: c30119aab642ca87dd76071f7a1a675424e1f7aa Author: Jeroen Roovers gentoo org> AuthorDate: Fri Mar 16 15:26:47 2018 +0000 Commit: Jeroen Roovers gentoo org> CommitDate: Fri Mar 16 15:26:47 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c30119aa x11-terms/st: Version 0.8. Package-Manager: Portage-2.3.24, Repoman-2.3.6 x11-terms/st/Manifest | 1 + x11-terms/st/st-0.8.ebuild | 53 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/x11-terms/st/Manifest b/x11-terms/st/Manifest index fbcb89e8fbe..2c8e5669b46 100644 --- a/x11-terms/st/Manifest +++ b/x11-terms/st/Manifest @@ -1 +1,2 @@ DIST st-0.7.tar.gz 42418 BLAKE2B 2f0eccaec964106b03c3daa75486d8f373582b2275c00a8d93e236f86e97a4bcb66e2fae6199cb23e4178515c4c67fe65bf95dd3aea98c279a662a7d1204ecef SHA512 9384820d373bfaaef1887290351d8c34abeef26cd7d50ddbae56ffb865864bcca9be798c6238bf1ce595ba7c317f2c1d97653055da0aa302e322eeee822768d4 +DIST st-0.8.tar.gz 45401 BLAKE2B 83a8ca385b6e94ded925b274983830664d84f3d746b4173fae9918f00464679f9e3b695a5a96554ca545c1f132a846a77d0627961ee1149b673133fd461e67a1 SHA512 47af80560f3bd803719b83e95affcb5425fed419fa4703dbd66ee2080f6671597aaba8110f3f7959190e8c3e2b02c62edf062fab950b2649f1d8c532c183de84 diff --git a/x11-terms/st/st-0.8.ebuild b/x11-terms/st/st-0.8.ebuild new file mode 100644 index 00000000000..6ae06a264f5 --- /dev/null +++ b/x11-terms/st/st-0.8.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils multilib savedconfig toolchain-funcs + +DESCRIPTION="simple terminal implementation for X" +HOMEPAGE="https://st.suckless.org/" +SRC_URI="https://dl.suckless.org/st/${P}.tar.gz" + +LICENSE="MIT-with-advertising" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~x86" +IUSE="savedconfig" + +RDEPEND=" + >=sys-libs/ncurses-6.0:0= + media-libs/fontconfig + x11-libs/libX11 + x11-libs/libXft +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xproto +" + +src_prepare() { + eapply_user + + sed -i \ + -e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \ + -e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \ + -e '/^STLDFLAGS/s|= .*|= $(LDFLAGS) $(LIBS)|g' \ + -e "s|pkg-config|$(tc-getPKG_CONFIG)|g" \ + config.mk || die + sed -i \ + -e '/tic/d' \ + Makefile || die + tc-export CC + + restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + + dodoc TODO + + make_desktop_entry ${PN} simpleterm utilities-terminal 'System;TerminalEmulator;' '' + + save_config config.h +}