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 B1E2413835A for ; Wed, 21 Apr 2021 20:24:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C593AE086D; Wed, 21 Apr 2021 20:24:10 +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 897ACE086D for ; Wed, 21 Apr 2021 20:24:10 +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 580763410D2 for ; Wed, 21 Apr 2021 20:24:09 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B68DA5C9 for ; Wed, 21 Apr 2021 20:24:07 +0000 (UTC) From: "Georgy Yakovlev" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" Message-ID: <1619036616.59a1c64b51f537094c44481d16e70b66e38f47c3.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/tabbed/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/tabbed/tabbed-0.6-r1.ebuild X-VCS-Directories: x11-misc/tabbed/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 59a1c64b51f537094c44481d16e70b66e38f47c3 X-VCS-Branch: master Date: Wed, 21 Apr 2021 20:24:07 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 59866647-c5f5-4eb9-878c-6ba7b45af21e X-Archives-Hash: f86192160658ccfb393e9497f488903d commit: 59a1c64b51f537094c44481d16e70b66e38f47c3 Author: Georgy Yakovlev gentoo org> AuthorDate: Wed Apr 21 20:22:23 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Wed Apr 21 20:23:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a1c64b x11-misc/tabbed: bump to EAPI=7 Bug: https://bugs.gentoo.org/780909 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Georgy Yakovlev gentoo.org> x11-misc/tabbed/tabbed-0.6-r1.ebuild | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/x11-misc/tabbed/tabbed-0.6-r1.ebuild b/x11-misc/tabbed/tabbed-0.6-r1.ebuild new file mode 100644 index 00000000000..df9afe56b40 --- /dev/null +++ b/x11-misc/tabbed/tabbed-0.6-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +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() { + default + 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 +} + +src_compile() { + emake CC=$(tc-getCC) +} +src_install() { + default + save_config config.h +}