summaryrefslogtreecommitdiff
path: root/x11-terms/st
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-03-24 10:19:03 +0000
committerV3n3RiX <venerix@redcorelinux.org>2018-03-24 10:19:03 +0000
commitb279bbe94522565b8feb19b8e5f377d3ea76f157 (patch)
treee4790abc54cd850232f7d7de49e371fdfe8976c7 /x11-terms/st
parentc5283d322accc6097afec74eab24550829788bab (diff)
gentoo resync : 24.03.2018
Diffstat (limited to 'x11-terms/st')
-rw-r--r--x11-terms/st/Manifest2
-rw-r--r--x11-terms/st/st-0.8.1.ebuild68
2 files changed, 70 insertions, 0 deletions
diff --git a/x11-terms/st/Manifest b/x11-terms/st/Manifest
index 7011dfac6af8..3d60ea36d11f 100644
--- a/x11-terms/st/Manifest
+++ b/x11-terms/st/Manifest
@@ -1,6 +1,8 @@
DIST st-0.7.tar.gz 42418 BLAKE2B 2f0eccaec964106b03c3daa75486d8f373582b2275c00a8d93e236f86e97a4bcb66e2fae6199cb23e4178515c4c67fe65bf95dd3aea98c279a662a7d1204ecef SHA512 9384820d373bfaaef1887290351d8c34abeef26cd7d50ddbae56ffb865864bcca9be798c6238bf1ce595ba7c317f2c1d97653055da0aa302e322eeee822768d4
+DIST st-0.8.1.tar.gz 45423 BLAKE2B e7f5d731ba86f37db4cda1f612a8f191f955d7ea8fd57c3fb142c695c41fda4d3b82a483bb3c1fff2d4ff66d9277ed22339c026bca4f4af740fc80cbbc7f3620 SHA512 787d35b0cc8b1435dad7809e9995bed3c7f781e012a4a43dd5ae3d670ebc0e4bc03a56ba3872ff8a3bdba316a41ba771c626adc8de0559296457a59170756c6b
DIST st-0.8.tar.gz 45401 BLAKE2B 83a8ca385b6e94ded925b274983830664d84f3d746b4173fae9918f00464679f9e3b695a5a96554ca545c1f132a846a77d0627961ee1149b673133fd461e67a1 SHA512 47af80560f3bd803719b83e95affcb5425fed419fa4703dbd66ee2080f6671597aaba8110f3f7959190e8c3e2b02c62edf062fab950b2649f1d8c532c183de84
EBUILD st-0.7.ebuild 1129 BLAKE2B cb0a011d05f95e6e2c9393736eb85208d5ef4c88f597a8385a36ae77771573d97279e5ac0f65c37a2a269796d018e2b3549105e7e51371169ae919c78fccaab1 SHA512 9d16f3b81a4c29c03b69a6a7e0875a0c53a41c4ad6b194a3f9863cec5d57d3416cf0f060de7b5825e6a7ede3aa94d0d8f089eafc1d71c56566b118e5a9ba795d
+EBUILD st-0.8.1.ebuild 1383 BLAKE2B d5a3b5f5a931bfefce2fb8623f355759144a8dfafa9806c0b7b24ab557a215ba033be2f0df87a0a2eafe6f679b152e92417feffd87aa05e5725aaa3f778e8329 SHA512 8beeabd53d3484c46fb800eb04803921a303e84b8012d55ae731bdc184570799a31b81c9e3eb2d4dab8bb88cb1e43dcb0b753f4e085a3b4756f818ce7ac78cfe
EBUILD st-0.8.ebuild 1383 BLAKE2B d5a3b5f5a931bfefce2fb8623f355759144a8dfafa9806c0b7b24ab557a215ba033be2f0df87a0a2eafe6f679b152e92417feffd87aa05e5725aaa3f778e8329 SHA512 8beeabd53d3484c46fb800eb04803921a303e84b8012d55ae731bdc184570799a31b81c9e3eb2d4dab8bb88cb1e43dcb0b753f4e085a3b4756f818ce7ac78cfe
EBUILD st-9999.ebuild 1351 BLAKE2B 44dcf00f4a4f414c8ebc7e26f389daeb3a8a4888e0a5e963bd45f2cfbcc8675e0a63f06f4b9f012cf78ecb1164863cf507615b322561ebc62b3d0d79b8487515 SHA512 c68805bb6511c1a2ab892ee3f6247dbd324479cb80e581ae621c6400406df42d88c77939f9b6c42c9e4d0e1f33851a7e618df36d76511b11a9fabbc870731d99
MISC metadata.xml 308 BLAKE2B 0b5b8fb79473744926b25e2bffcc047e5bc3a41cf4a8708e64bdcefcbd61bd6a3414e79d1c8a07498eda8b5203d5c786f36aa70a9530f82b88c540dcd4808556 SHA512 18e3f4a2e5cd9c0fc70a8069cb948383ff4ee7ebd4e02e6e5bb26d2b0650d42562602284d985484842a870c33693439614ba40b47d2d567a2fe1bc09e62d9fcb
diff --git a/x11-terms/st/st-0.8.1.ebuild b/x11-terms/st/st-0.8.1.ebuild
new file mode 100644
index 000000000000..185c4aa2643b
--- /dev/null
+++ b/x11-terms/st/st-0.8.1.ebuild
@@ -0,0 +1,68 @@
+# 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() {
+ 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
+}