public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-terms/st/
Date: Sat,  9 Feb 2019 12:39:56 +0000 (UTC)	[thread overview]
Message-ID: <1549715993.70db6351c5df5addd5670476786a637080dbfd34.jer@gentoo> (raw)

commit:     70db6351c5df5addd5670476786a637080dbfd34
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  9 12:39:39 2019 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Feb  9 12:39:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70db6351

x11-terms/st: Version 0.8.2

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org>

 x11-terms/st/Manifest        |  1 +
 x11-terms/st/st-0.8.2.ebuild | 68 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/x11-terms/st/Manifest b/x11-terms/st/Manifest
index 909cf333005..9d21a54ca60 100644
--- a/x11-terms/st/Manifest
+++ b/x11-terms/st/Manifest
@@ -1 +1,2 @@
 DIST st-0.8.1.tar.gz 45423 BLAKE2B e7f5d731ba86f37db4cda1f612a8f191f955d7ea8fd57c3fb142c695c41fda4d3b82a483bb3c1fff2d4ff66d9277ed22339c026bca4f4af740fc80cbbc7f3620 SHA512 787d35b0cc8b1435dad7809e9995bed3c7f781e012a4a43dd5ae3d670ebc0e4bc03a56ba3872ff8a3bdba316a41ba771c626adc8de0559296457a59170756c6b
+DIST st-0.8.2.tar.gz 44788 BLAKE2B cc7fc9040c6db1c903d0f7290e5cfd1c636b2d17b42645956583cc8fa883bc1f0631ffbd683e735a834ff96f90171d9d423801d84ce4c0686564498baa97bbc6 SHA512 eaaf5f2fe050ee768d16a9c8c295ba13315775b3a8a3201e020237a3dd217bfb811832d58477249000596289a6cb3287fbb39d6327fc90986af1c363e4b5bf8d

diff --git a/x11-terms/st/st-0.8.2.ebuild b/x11-terms/st/st-0.8.2.ebuild
new file mode 100644
index 00000000000..185bb03fd8f
--- /dev/null
+++ b/x11-terms/st/st-0.8.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit desktop 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 ~arm64 ~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-base/xorg-proto
+"
+
+src_prepare() {
+	default
+
+	sed -i \
+		-e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \
+		-e '/^STLDFLAGS/s|= .*|= $(LDFLAGS) $(LIBS)|g' \
+		-e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \
+		config.mk || die
+	sed -i \
+		-e '/tic/d' \
+		Makefile || die
+
+	restore_config config.h
+}
+
+src_configure() {
+	sed -i \
+		-e "s|pkg-config|$(tc-getPKG_CONFIG)|g" \
+		config.mk || die
+
+	tc-export CC
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+
+	dodoc TODO
+
+	make_desktop_entry ${PN} simpleterm utilities-terminal 'System;TerminalEmulator;' ''
+
+	save_config config.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
+}


             reply	other threads:[~2019-02-09 12:40 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-09 12:39 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-07-29  8:54 [gentoo-commits] repo/gentoo:master commit in: x11-terms/st/ Arthur Zamarin
2024-07-29  8:43 Arthur Zamarin
2024-07-29  6:00 Joonas Niilola
2024-07-29  6:00 Joonas Niilola
2024-05-05  8:33 Petr Vaněk
2024-05-05  8:33 Petr Vaněk
2024-05-05  8:33 Petr Vaněk
2024-02-09 13:04 Joonas Niilola
2023-01-26 17:52 Arthur Zamarin
2023-01-26 17:52 Arthur Zamarin
2023-01-26 17:52 Arthur Zamarin
2023-01-26 17:52 Arthur Zamarin
2022-10-11 17:15 Arthur Zamarin
2022-10-10 23:36 Sam James
2022-10-10 22:06 Sam James
2022-10-10 22:06 Sam James
2022-10-07 19:09 Georgy Yakovlev
2022-10-07 19:09 Georgy Yakovlev
2022-01-09 22:38 Georgy Yakovlev
2022-01-09 22:38 Georgy Yakovlev
2022-01-09  9:30 James Le Cuirot
2022-01-08 10:29 Georgy Yakovlev
2022-01-08 10:29 Georgy Yakovlev
2022-01-07 20:44 Georgy Yakovlev
2022-01-07 20:44 Georgy Yakovlev
2021-10-14 17:24 Sam James
2021-10-14 17:24 Sam James
2021-09-21 13:41 Yixun Lan
2021-07-17 23:18 Sam James
2021-07-15 21:42 Sam James
2020-11-03 21:55 Georgy Yakovlev
2020-06-30 12:54 Jeroen Roovers
2020-06-30 12:54 Jeroen Roovers
2020-06-19 10:33 Jeroen Roovers
2020-04-27 12:42 Jeroen Roovers
2019-12-31  1:12 Georgy Yakovlev
2019-08-07  7:25 Jeroen Roovers
2019-08-07  7:25 Jeroen Roovers
2019-03-29 11:49 Jeroen Roovers
2018-09-15  8:36 Jeroen Roovers
2018-09-15  8:36 Jeroen Roovers
2018-06-04 19:25 Mart Raudsepp
2018-03-23 15:09 Jeroen Roovers
2018-03-16 20:22 Jeroen Roovers
2018-03-16 15:27 Jeroen Roovers
2017-12-18 16:52 Michael Weber
2017-09-10 21:47 Jeroen Roovers
2017-08-31 10:33 Jeroen Roovers
2017-07-27  9:56 Jeroen Roovers
2017-03-30 16:37 Jeroen Roovers
2017-03-30 16:37 Jeroen Roovers
2016-08-20 14:05 Jeroen Roovers
2016-08-20 13:55 Jeroen Roovers
2016-08-20 13:55 Jeroen Roovers
2016-08-20 13:53 Jeroen Roovers
2016-08-20 10:53 Jeroen Roovers
2016-08-20  8:46 Jeroen Roovers
2015-08-27  8:34 Jeroen Roovers
2015-08-14 11:47 Jeroen Roovers
2015-08-14 11:43 Jeroen Roovers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1549715993.70db6351c5df5addd5670476786a637080dbfd34.jer@gentoo \
    --to=jer@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox