From 711161b4f92b744524299965e544293027bc8692 Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Thu, 13 Aug 2020 16:32:36 +0300 Subject: x11-wm/2bwm: Add package --- TODO.md | 2 +- x11-wm/2bwm/2bwm-0.3.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++++ x11-wm/2bwm/2bwm-9999.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++++ x11-wm/2bwm/Manifest | 1 + x11-wm/2bwm/metadata.xml | 8 ++++++++ 5 files changed, 96 insertions(+), 1 deletion(-) create mode 100644 x11-wm/2bwm/2bwm-0.3.ebuild create mode 100644 x11-wm/2bwm/2bwm-9999.ebuild create mode 100644 x11-wm/2bwm/Manifest create mode 100644 x11-wm/2bwm/metadata.xml diff --git a/TODO.md b/TODO.md index 998ff11..0751365 100644 --- a/TODO.md +++ b/TODO.md @@ -46,7 +46,7 @@ * [x11-misc/xbattmon](http://git.2f30.org/xbattmon/log.html) * [x11-misc/xremap](https://github.com/k0kubun/xremap) * [x11-terms/xst](https://github.com/neeasade/xst) -* [x11-wm/2bwm](https://github.com/venam/2bwm) +* [x11-wm/2bwm](https://github.com/venam/2bwm) -- _QA Notice: Pre-stripped files found_ * [x11-wm/9wm](https://github.com/9wm/9wm) * [x11-wm/custard](https://github.com/Sweets/custard) * [x11-wm/dwl](https://github.com/djpohly/dwl) diff --git a/x11-wm/2bwm/2bwm-0.3.ebuild b/x11-wm/2bwm/2bwm-0.3.ebuild new file mode 100644 index 0000000..51d6f46 --- /dev/null +++ b/x11-wm/2bwm/2bwm-0.3.ebuild @@ -0,0 +1,43 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/venam/2bwm" +fi + +inherit savedconfig ${SCM} + +DESCRIPTION="A fast floating WM written over the XCB library and derived from mcwm." +HOMEPAGE="https://github.com/venam/2bwm" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/venam/2bwm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/xcb-util + x11-libs/xcb-util-renderutil + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + 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 0000000..51d6f46 --- /dev/null +++ b/x11-wm/2bwm/2bwm-9999.ebuild @@ -0,0 +1,43 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +if [[ ${PV} == *9999 ]]; then + SCM="git-r3" + EGIT_REPO_URI="https://github.com/venam/2bwm" +fi + +inherit savedconfig ${SCM} + +DESCRIPTION="A fast floating WM written over the XCB library and derived from mcwm." +HOMEPAGE="https://github.com/venam/2bwm" + +if [[ ${PV} == *9999 ]]; then + SRC_URI="" + KEYWORDS="" +else + SRC_URI="https://github.com/venam/2bwm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="" + +DEPEND="x11-libs/xcb-util + x11-libs/xcb-util-renderutil + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm +" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_compile() { + restore_config config.h +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + save_config config.h +} diff --git a/x11-wm/2bwm/Manifest b/x11-wm/2bwm/Manifest new file mode 100644 index 0000000..dc24b53 --- /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 0000000..7869e07 --- /dev/null +++ b/x11-wm/2bwm/metadata.xml @@ -0,0 +1,8 @@ + + + + + azahi@teknik.io + azahi + + -- cgit 1.4.1