diff options
Diffstat (limited to 'x11-terms/st')
-rw-r--r-- | x11-terms/st/Manifest | 6 | ||||
-rw-r--r-- | x11-terms/st/metadata.xml | 11 | ||||
-rw-r--r-- | x11-terms/st/st-0.7.ebuild | 53 | ||||
-rw-r--r-- | x11-terms/st/st-9999.ebuild | 64 |
4 files changed, 134 insertions, 0 deletions
diff --git a/x11-terms/st/Manifest b/x11-terms/st/Manifest new file mode 100644 index 000000000000..d039c0d8bbae --- /dev/null +++ b/x11-terms/st/Manifest @@ -0,0 +1,6 @@ +DIST st-0.7.tar.gz 42418 SHA256 f7870d906ccc988926eef2cc98950a99cc78725b685e934c422c03c1234e6000 SHA512 9384820d373bfaaef1887290351d8c34abeef26cd7d50ddbae56ffb865864bcca9be798c6238bf1ce595ba7c317f2c1d97653055da0aa302e322eeee822768d4 WHIRLPOOL 28a799a3fc770dea1d82136580217033245fd74488107afcd428d0cde665c87bcf03d18cec31df0cb74f77ed9ea8b84f22990ce29bc6457c4dafce43bfac1e22 +EBUILD st-0.7.ebuild 1124 SHA256 970827c413bad8afb2329a7af18542167cc47e3b7ec2732d19e30d4fd22f3542 SHA512 fac3471f7e30fc157c98b0813e9bcf8deec461a873374c72ae074141004ddf391f69872bbc9f39f5e6e0c5f3bab755613ffb7d569989dfe308ada22cea8e1cd6 WHIRLPOOL 90fa547056563d2833bf7e85fef6e66b49dad0927d44fc8644c495d8a858798adfe9f280e7bc393815596dd3149d0d901cd8ab75e786d2bb0264f283e0ebd8ac +EBUILD st-9999.ebuild 1407 SHA256 33a55d01959e2052975c5e11c3e0c99ad0de3a4a03e77e3c0cb4e73f0eaed785 SHA512 a33b717161fc26ea0e7e62b8a62d9444a7a7316f5c1a22e56e5e997558122a2a01e7ee142e295bf58e188ec38094529ba58bc8a4233315bdae6358d17a87ab60 WHIRLPOOL d743224c2645e3c0dfc89744a897c238b11f75f553a9a9d0682d542874ff05c5b2ed53430b8d92ec61a93c3ee2c0663a8fd36a567229918f33f156ce295138d3 +MISC ChangeLog 3642 SHA256 8726c8ae22d3bedd5417949f693bf50d21691ea78a3c190234d2aa9a16ad2ff5 SHA512 7889ce964ee2b601f02a712f2eeedfa2f0ec8cf5ef08678a8f350d14913b2732ae99d0db0934ad46381f17aae1298e9239a54ce12bc1e55d88098a2faaef7e66 WHIRLPOOL 4fbda874e362e0bdab9e207cc7d5fa1ad17363b578805a8dfddde12cdb9a29c2510a2029a1ec50a7bcf7459cd97b51a385923ab39d74ece4974d8e4f54147bba +MISC ChangeLog-2015 3168 SHA256 03d9360f27446eb492cff2ce257e7a90f0f7bc2a191c61f4054033f1fc28bab6 SHA512 1f796c0fa630454e5684f89b5d921b7ff0128aa25619532872c17add19271fd87c60444886613eab42c04cd70dad47662289863a60f25ba6964043092f0f3b70 WHIRLPOOL fce0f879ab34e93d30be72b6db7ad0fa162c8c798d14cda7b37872f750c5d2560dbd851ff9e582beca410d414d6f27efc1beceed51585bf903ac870f09f8e5ad +MISC metadata.xml 308 SHA256 18d5d9a56dc72b7bb0e6f4b756632d93160768c827f5cfbb77d397a0bcc7657e SHA512 18e3f4a2e5cd9c0fc70a8069cb948383ff4ee7ebd4e02e6e5bb26d2b0650d42562602284d985484842a870c33693439614ba40b47d2d567a2fe1bc09e62d9fcb WHIRLPOOL 8a3a36fc4739ecb3a6b99d78e87e0cf5c81d9625dd11fae6b4e98d3d6c94faed983f28dd08a42728a9753f7702603280368d7d4d6b70b5e63f574b4fd3dbc500 diff --git a/x11-terms/st/metadata.xml b/x11-terms/st/metadata.xml new file mode 100644 index 000000000000..58be0fec0782 --- /dev/null +++ b/x11-terms/st/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> +<email>xmw@gentoo.org</email> +<name>Michael Weber</name> +</maintainer> +<maintainer type="person"> +<email>jer@gentoo.org</email> +</maintainer> +</pkgmetadata> diff --git a/x11-terms/st/st-0.7.ebuild b/x11-terms/st/st-0.7.ebuild new file mode 100644 index 000000000000..380a053d0680 --- /dev/null +++ b/x11-terms/st/st-0.7.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2017 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 hppa x86" +IUSE="savedconfig" + +RDEPEND=" + >=sys-libs/ncurses-6.0:0= + media-libs/fontconfig + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-proto/xproto +" + +src_prepare() { + eapply_user + + sed -e '/^CFLAGS/s:[[:space:]]-O[^[:space:]]*[[:space:]]: :' \ + -e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \ + -e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \ + -i config.mk || die + sed -e '/@echo/!s:@::' \ + -e '/tic/d' \ + -i 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 +} diff --git a/x11-terms/st/st-9999.ebuild b/x11-terms/st/st-9999.ebuild new file mode 100644 index 000000000000..81e455048081 --- /dev/null +++ b/x11-terms/st/st-9999.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit eutils git-r3 multilib savedconfig toolchain-funcs + +DESCRIPTION="simple terminal implementation for X" +HOMEPAGE="https://st.suckless.org/" +EGIT_REPO_URI="https://git.suckless.org/st" + +LICENSE="MIT-with-advertising" +SLOT="0" +IUSE="savedconfig" + +RDEPEND=" + >=sys-libs/ncurses-6.0:0= + media-libs/fontconfig + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft +" +DEPEND=" + ${RDEPEND} + virtual/pkgconfig + x11-proto/xextproto + x11-proto/xproto +" + +src_prepare() { + default + + sed -i \ + -e '/^CFLAGS/s:[[:space:]]-Wall[[:space:]]: :' \ + -e '/^CFLAGS/s:[[:space:]]-O[^[:space:]]*[[:space:]]: :' \ + -e '/^LDFLAGS/{s:[[:space:]]-s[[:space:]]: :}' \ + -e '/^X11INC/{s:/usr/X11R6/include:/usr/include/X11:}' \ + -e "/^X11LIB/{s:/usr/X11R6/lib:/usr/$(get_libdir)/X11:}" \ + config.mk || die + sed -i \ + -e '/tic/d' \ + Makefile || die + + restore_config config.h + + 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 +} |