Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/2bwm/
Date: Wed, 19 Feb 2020 13:32:40
Message-Id: 1582119139.5660053c47e3d25e9ce39c57bb1101356af40aa8.juippis@gentoo
1 commit: 5660053c47e3d25e9ce39c57bb1101356af40aa8
2 Author: Jake Lilly <lillyjsm <AT> gmail <DOT> com>
3 AuthorDate: Thu Oct 17 03:44:43 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 19 13:32:19 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5660053c
7
8 x11-wm/2bwm: new package
9
10 A fast, floating window manager
11
12 Bug: https://bugs.gentoo.org/697904
13 Signed-off-by: Jake Lilly <lillyjsm <AT> gmail.com>
14 Package-Manager: Portage-2.3.84, Repoman-2.3.20
15 Closes: https://github.com/gentoo/gentoo/pull/13321
16 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
17
18 x11-wm/2bwm/2bwm-0.3.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++++
19 x11-wm/2bwm/2bwm-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++++
20 x11-wm/2bwm/Manifest | 1 +
21 x11-wm/2bwm/metadata.xml | 15 +++++++++++++++
22 4 files changed, 104 insertions(+)
23
24 diff --git a/x11-wm/2bwm/2bwm-0.3.ebuild b/x11-wm/2bwm/2bwm-0.3.ebuild
25 new file mode 100644
26 index 00000000000..3f6bd230aa5
27 --- /dev/null
28 +++ b/x11-wm/2bwm/2bwm-0.3.ebuild
29 @@ -0,0 +1,44 @@
30 +# Copyright 2020 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=7
34 +
35 +inherit savedconfig toolchain-funcs
36 +
37 +if [[ ${PV} == *9999 ]]; then
38 + inherit git-r3
39 + EGIT_REPO_URI="https://github.com/venam/2bwm.git"
40 +else
41 + SRC_URI="https://github.com/venam/2bwm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
42 + KEYWORDS="~amd64"
43 +fi
44 +
45 +DESCRIPTION="A fast, floating window manager"
46 +HOMEPAGE="https://github.com/venam/2bwm"
47 +
48 +LICENSE="ISC"
49 +SLOT="0"
50 +
51 +DEPEND="
52 + x11-libs/libxcb
53 + x11-libs/xcb-util-keysyms
54 + x11-libs/xcb-util-wm
55 + x11-libs/xcb-util-xrm
56 +"
57 +RDEPEND="${DEPEND}"
58 +
59 +src_prepare() {
60 + default
61 + sed -i -e "s:-Os -s::" Makefile || die
62 + restore_config config.h
63 +}
64 +
65 +src_compile() {
66 + emake CC="$(tc-getCC)" all
67 +}
68 +
69 +src_install() {
70 + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
71 + dodoc README.md
72 + save_config config.h
73 +}
74
75 diff --git a/x11-wm/2bwm/2bwm-9999.ebuild b/x11-wm/2bwm/2bwm-9999.ebuild
76 new file mode 100644
77 index 00000000000..3f6bd230aa5
78 --- /dev/null
79 +++ b/x11-wm/2bwm/2bwm-9999.ebuild
80 @@ -0,0 +1,44 @@
81 +# Copyright 2020 Gentoo Authors
82 +# Distributed under the terms of the GNU General Public License v2
83 +
84 +EAPI=7
85 +
86 +inherit savedconfig toolchain-funcs
87 +
88 +if [[ ${PV} == *9999 ]]; then
89 + inherit git-r3
90 + EGIT_REPO_URI="https://github.com/venam/2bwm.git"
91 +else
92 + SRC_URI="https://github.com/venam/2bwm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
93 + KEYWORDS="~amd64"
94 +fi
95 +
96 +DESCRIPTION="A fast, floating window manager"
97 +HOMEPAGE="https://github.com/venam/2bwm"
98 +
99 +LICENSE="ISC"
100 +SLOT="0"
101 +
102 +DEPEND="
103 + x11-libs/libxcb
104 + x11-libs/xcb-util-keysyms
105 + x11-libs/xcb-util-wm
106 + x11-libs/xcb-util-xrm
107 +"
108 +RDEPEND="${DEPEND}"
109 +
110 +src_prepare() {
111 + default
112 + sed -i -e "s:-Os -s::" Makefile || die
113 + restore_config config.h
114 +}
115 +
116 +src_compile() {
117 + emake CC="$(tc-getCC)" all
118 +}
119 +
120 +src_install() {
121 + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
122 + dodoc README.md
123 + save_config config.h
124 +}
125
126 diff --git a/x11-wm/2bwm/Manifest b/x11-wm/2bwm/Manifest
127 new file mode 100644
128 index 00000000000..dc24b53eec2
129 --- /dev/null
130 +++ b/x11-wm/2bwm/Manifest
131 @@ -0,0 +1 @@
132 +DIST 2bwm-0.3.tar.gz 41032 BLAKE2B 41fb12dccef95221fc5b6cec1d6b740037e0842628aedea23d80980961a615a4e5cf32ee9bc6c57eec8a2e304560b5f54dec0f65462af602f70c467d8c4ebe83 SHA512 088a97e5245287890c72e2b0685f7348a4cc0fd49582893b7ce7a081f80a4d7454a3c0eadf4609589314351ded02fd8b75548019b782e797350ad5db5c939f92
133
134 diff --git a/x11-wm/2bwm/metadata.xml b/x11-wm/2bwm/metadata.xml
135 new file mode 100644
136 index 00000000000..d33f238de01
137 --- /dev/null
138 +++ b/x11-wm/2bwm/metadata.xml
139 @@ -0,0 +1,15 @@
140 +<?xml version="1.0" encoding="UTF-8"?>
141 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
142 +<pkgmetadata>
143 + <maintainer type="person">
144 + <email>lillyjsm@×××××.com</email>
145 + <description>Jake Lilly</description>
146 + </maintainer>
147 + <maintainer type="project">
148 + <email>proxy-maint@g.o</email>
149 + <name>Proxy Maintainers</name>
150 + </maintainer>
151 + <upstream>
152 + <remote-id type="github">venam/2bwm</remote-id>
153 + </upstream>
154 +</pkgmetadata>