commit: ae04d4ee6051f6bbd60191509b7c4424d85071a7 parent: dfc436d9fc317c66b07da8180ec5ba35f57a3f4f Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Sun, 8 Jul 2018 21:13:13 +0200 x11-misc/tabbed: Bump to EAPI 6Diffstat:
A | x11-misc/tabbed/Manifest | 3 | +++ |
A | x11-misc/tabbed/metadata.xml | 8 | ++++++++ |
A | x11-misc/tabbed/tabbed-0.6.ebuild | 49 | +++++++++++++++++++++++++++++++++++++++++++++++++ |
3 files changed, 60 insertions(+), 0 deletions(-)
diff --git a/x11-misc/tabbed/Manifest b/x11-misc/tabbed/Manifest @@ -0,0 +1,3 @@ +DIST tabbed-0.6.tar.gz 12926 BLAKE2B e92e2c7132f7a760286c61c99faa0b26e411326e172c231f3354e61f8151f561babd4a35998bc06cb7fd87dc962334ef0ddac78ba284cd3090bb1c2dcfa159be SHA512 bcad873251be6b5de21311531e8d24330003b42790cb94d559a0d1be45408b3e0722c14e7c7f2cefd0717fd2a2d7a100fa08fc4e10e7bb669935909602286553 +EBUILD tabbed-0.6.ebuild 951 BLAKE2B 167bd1473eb06e409dfef30a16cba6e3ff710f2b277a649ff28db7b22ae5c0ca8fc539814663383d7b49a604ff71807cc24369520937069c07f0290b5cdcf82b SHA512 b46557e4ddee419d7b7229861984e77fdbabe7041d970401a176da572f5477cf0cafc6c2eefcb1659f45cb80835058081c30ba2c6e0b667f332fc0eee5023664 +MISC metadata.xml 369 BLAKE2B 229857fc781778834cf45f22a8a170e76bc50c7aa24caca6ed93e4f1510bb577b8153ed419821ce78edc0049b97d677ed8371ba2517c9f60759812e087a15886 SHA512 9c2113536cbda45e66eb5697ac4c173ff301a7692c7f3bafead7e5bc7e30778535dbd9dc8ee494ced840a2f17e6b1674c95418772fbffda61eb11848ef368b9d diff --git a/x11-misc/tabbed/metadata.xml b/x11-misc/tabbed/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="person"> + <email>contact@hacktivis.me</email> + <name>Haelwenn (lanodan) Monnier</name> +</maintainer> +</pkgmetadata> diff --git a/x11-misc/tabbed/tabbed-0.6.ebuild b/x11-misc/tabbed/tabbed-0.6.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit savedconfig toolchain-funcs + +DESCRIPTION="Simple generic tabbed fronted to xembed aware applications" +HOMEPAGE="https://tools.suckless.org/tabbed" +SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="x11-libs/libX11" +DEPEND=" + x11-base/xorg-proto + ${RDEPEND} +" + +src_prepare() { + sed config.mk \ + -e '/^CC/d' \ + -e 's|/usr/local|/usr|g' \ + -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \ + -e 's|^LDFLAGS.*|LDFLAGS += $(CFLAGS) $(LIBS)|g' \ + -e 's|^LIBS.*|LIBS = -lX11|g' \ + -e 's|{|(|g;s|}|)|g' \ + -i || die + + sed Makefile \ + -e 's|{|(|g;s|}|)|g' \ + -e '/^[[:space:]]*@echo/d' \ + -e 's|^ @| |g' \ + -i || die + + restore_config config.h + + default +} + +src_compile() { + emake CC=$(tc-getCC) +} +src_install() { + default + save_config config.h +}