public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: x11-wm/2bwm/
@ 2020-02-19 13:32 Joonas Niilola
  0 siblings, 0 replies; 2+ messages in thread
From: Joonas Niilola @ 2020-02-19 13:32 UTC (permalink / raw
  To: gentoo-commits

commit:     5660053c47e3d25e9ce39c57bb1101356af40aa8
Author:     Jake Lilly <lillyjsm <AT> gmail <DOT> com>
AuthorDate: Thu Oct 17 03:44:43 2019 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Feb 19 13:32:19 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5660053c

x11-wm/2bwm: new package

A fast, floating window manager

Bug: https://bugs.gentoo.org/697904
Signed-off-by: Jake Lilly <lillyjsm <AT> gmail.com>
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Closes: https://github.com/gentoo/gentoo/pull/13321
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 x11-wm/2bwm/2bwm-0.3.ebuild  | 44 ++++++++++++++++++++++++++++++++++++++++++++
 x11-wm/2bwm/2bwm-9999.ebuild | 44 ++++++++++++++++++++++++++++++++++++++++++++
 x11-wm/2bwm/Manifest         |  1 +
 x11-wm/2bwm/metadata.xml     | 15 +++++++++++++++
 4 files changed, 104 insertions(+)

diff --git a/x11-wm/2bwm/2bwm-0.3.ebuild b/x11-wm/2bwm/2bwm-0.3.ebuild
new file mode 100644
index 00000000000..3f6bd230aa5
--- /dev/null
+++ b/x11-wm/2bwm/2bwm-0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit savedconfig toolchain-funcs
+
+if [[ ${PV} == *9999 ]]; then
+		inherit git-r3
+		EGIT_REPO_URI="https://github.com/venam/2bwm.git"
+else
+		SRC_URI="https://github.com/venam/2bwm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+		KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A fast, floating window manager"
+HOMEPAGE="https://github.com/venam/2bwm"
+
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="
+	x11-libs/libxcb
+	x11-libs/xcb-util-keysyms
+	x11-libs/xcb-util-wm
+	x11-libs/xcb-util-xrm
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	sed -i -e "s:-Os -s::" Makefile || die
+	restore_config config.h
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" all
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	dodoc README.md
+	save_config config.h
+}

diff --git a/x11-wm/2bwm/2bwm-9999.ebuild b/x11-wm/2bwm/2bwm-9999.ebuild
new file mode 100644
index 00000000000..3f6bd230aa5
--- /dev/null
+++ b/x11-wm/2bwm/2bwm-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit savedconfig toolchain-funcs
+
+if [[ ${PV} == *9999 ]]; then
+		inherit git-r3
+		EGIT_REPO_URI="https://github.com/venam/2bwm.git"
+else
+		SRC_URI="https://github.com/venam/2bwm/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+		KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="A fast, floating window manager"
+HOMEPAGE="https://github.com/venam/2bwm"
+
+LICENSE="ISC"
+SLOT="0"
+
+DEPEND="
+	x11-libs/libxcb
+	x11-libs/xcb-util-keysyms
+	x11-libs/xcb-util-wm
+	x11-libs/xcb-util-xrm
+"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+	default
+	sed -i -e "s:-Os -s::" Makefile || die
+	restore_config config.h
+}
+
+src_compile() {
+	emake CC="$(tc-getCC)" all
+}
+
+src_install() {
+	emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+	dodoc README.md
+	save_config config.h
+}

diff --git a/x11-wm/2bwm/Manifest b/x11-wm/2bwm/Manifest
new file mode 100644
index 00000000000..dc24b53eec2
--- /dev/null
+++ b/x11-wm/2bwm/Manifest
@@ -0,0 +1 @@
+DIST 2bwm-0.3.tar.gz 41032 BLAKE2B 41fb12dccef95221fc5b6cec1d6b740037e0842628aedea23d80980961a615a4e5cf32ee9bc6c57eec8a2e304560b5f54dec0f65462af602f70c467d8c4ebe83 SHA512 088a97e5245287890c72e2b0685f7348a4cc0fd49582893b7ce7a081f80a4d7454a3c0eadf4609589314351ded02fd8b75548019b782e797350ad5db5c939f92

diff --git a/x11-wm/2bwm/metadata.xml b/x11-wm/2bwm/metadata.xml
new file mode 100644
index 00000000000..d33f238de01
--- /dev/null
+++ b/x11-wm/2bwm/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>lillyjsm@gmail.com</email>
+		<description>Jake Lilly</description>
+	</maintainer>
+	<maintainer type="project">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">venam/2bwm</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: x11-wm/2bwm/
@ 2020-12-21 21:24 Jonas Stein
  0 siblings, 0 replies; 2+ messages in thread
From: Jonas Stein @ 2020-12-21 21:24 UTC (permalink / raw
  To: gentoo-commits

commit:     5beb2d9fba6317cd6ea8f5d02ec1ff842fc303a7
Author:     Jonas Stein <jstein <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 21 21:24:13 2020 +0000
Commit:     Jonas Stein <jstein <AT> gentoo <DOT> org>
CommitDate: Mon Dec 21 21:24:13 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5beb2d9f

x11-wm/2bwm: fix metadata

description should be name here.

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Jonas Stein <jstein <AT> gentoo.org>

 x11-wm/2bwm/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-wm/2bwm/metadata.xml b/x11-wm/2bwm/metadata.xml
index d33f238de01..2ca6d1100cf 100644
--- a/x11-wm/2bwm/metadata.xml
+++ b/x11-wm/2bwm/metadata.xml
@@ -3,7 +3,7 @@
 <pkgmetadata>
 	<maintainer type="person">
 		<email>lillyjsm@gmail.com</email>
-		<description>Jake Lilly</description>
+		<name>Jake Lilly</name>
 	</maintainer>
 	<maintainer type="project">
 		<email>proxy-maint@gentoo.org</email>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-12-21 21:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-21 21:24 [gentoo-commits] repo/gentoo:master commit in: x11-wm/2bwm/ Jonas Stein
  -- strict thread matches above, loose matches on Subject: below --
2020-02-19 13:32 Joonas Niilola

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox