1 |
commit: 59a1c64b51f537094c44481d16e70b66e38f47c3 |
2 |
Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Apr 21 20:22:23 2021 +0000 |
4 |
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Apr 21 20:23:36 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59a1c64b |
7 |
|
8 |
x11-misc/tabbed: bump to EAPI=7 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/780909 |
11 |
Package-Manager: Portage-3.0.18, Repoman-3.0.3 |
12 |
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> |
13 |
|
14 |
x11-misc/tabbed/tabbed-0.6-r1.ebuild | 48 ++++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/x11-misc/tabbed/tabbed-0.6-r1.ebuild b/x11-misc/tabbed/tabbed-0.6-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..df9afe56b40 |
20 |
--- /dev/null |
21 |
+++ b/x11-misc/tabbed/tabbed-0.6-r1.ebuild |
22 |
@@ -0,0 +1,48 @@ |
23 |
+# Copyright 1999-2021 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+inherit savedconfig toolchain-funcs |
28 |
+ |
29 |
+DESCRIPTION="Simple generic tabbed fronted to xembed aware applications" |
30 |
+HOMEPAGE="https://tools.suckless.org/tabbed" |
31 |
+SRC_URI="https://dl.suckless.org/tools/${P}.tar.gz" |
32 |
+ |
33 |
+LICENSE="MIT" |
34 |
+SLOT="0" |
35 |
+KEYWORDS="~amd64 ~x86" |
36 |
+IUSE="" |
37 |
+ |
38 |
+RDEPEND="x11-libs/libX11" |
39 |
+DEPEND=" |
40 |
+ x11-base/xorg-proto |
41 |
+ ${RDEPEND} |
42 |
+" |
43 |
+ |
44 |
+src_prepare() { |
45 |
+ default |
46 |
+ sed config.mk \ |
47 |
+ -e '/^CC/d' \ |
48 |
+ -e 's|/usr/local|/usr|g' \ |
49 |
+ -e 's|^CFLAGS.*|CFLAGS += -std=c99 -pedantic -Wall $(INCS) $(CPPFLAGS)|g' \ |
50 |
+ -e 's|^LDFLAGS.*|LDFLAGS += $(CFLAGS) $(LIBS)|g' \ |
51 |
+ -e 's|^LIBS.*|LIBS = -lX11|g' \ |
52 |
+ -e 's|{|(|g;s|}|)|g' \ |
53 |
+ -i || die |
54 |
+ |
55 |
+ sed Makefile \ |
56 |
+ -e 's|{|(|g;s|}|)|g' \ |
57 |
+ -e '/^[[:space:]]*@echo/d' \ |
58 |
+ -e 's|^ @| |g' \ |
59 |
+ -i || die |
60 |
+ |
61 |
+ restore_config config.h |
62 |
+} |
63 |
+ |
64 |
+src_compile() { |
65 |
+ emake CC=$(tc-getCC) |
66 |
+} |
67 |
+src_install() { |
68 |
+ default |
69 |
+ save_config config.h |
70 |
+} |