From 45c55720222cad0e573921d6b32a52ecbfcbb20b Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Sat, 24 Apr 2021 18:54:10 +0300 Subject: x11-wm/wmutils-contrib: Fix USE flags Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Azat Bahawi --- x11-wm/wmutils-contrib/metadata.xml | 4 +- .../wmutils-contrib/wmutils-contrib-9999-r1.ebuild | 66 ++++++++++++++++++++++ x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild | 66 ---------------------- 3 files changed, 68 insertions(+), 68 deletions(-) create mode 100644 x11-wm/wmutils-contrib/wmutils-contrib-9999-r1.ebuild delete mode 100644 x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild (limited to 'x11-wm') diff --git a/x11-wm/wmutils-contrib/metadata.xml b/x11-wm/wmutils-contrib/metadata.xml index 666e647..81de340 100644 --- a/x11-wm/wmutils-contrib/metadata.xml +++ b/x11-wm/wmutils-contrib/metadata.xml @@ -9,13 +9,13 @@ Install deletelock.sh - + Install focus_watcher.sh Install killwa - + Install switch_grid.sh diff --git a/x11-wm/wmutils-contrib/wmutils-contrib-9999-r1.ebuild b/x11-wm/wmutils-contrib/wmutils-contrib-9999-r1.ebuild new file mode 100644 index 0000000..8d65a98 --- /dev/null +++ b/x11-wm/wmutils-contrib/wmutils-contrib-9999-r1.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit git-r3 + +DESCRIPTION="Useful bits and pieces for wmutils" +HOMEPAGE="https://github.com/wmutils/contrib" +EGIT_REPO_URI="https://github.com/wmutils/contrib.git" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="" +IUSE="+deletelock +focus-watcher +killwa +switch-grid" + +DEPEND=" + x11-wm/wmutils + killwa? ( + x11-libs/libxcb + x11-libs/xcb-util-wm + ) +" +RDEPEND="${DEPEND} + deletelock? ( x11-apps/xprop ) + focus-watcher? ( x11-wm/wmutils-opt ) + switch-grid? ( x11-wm/wmutils-opt ) +" +BDEPEND="" + +DOCS=( README.md ) + +src_prepare() { + default + if use killwa; then + local S="${S}/killwa" + sed -e 's/-Os//g' -i "${S}/config.mk" || die + fi +} + +src_compile() { + if use killwa; then + local S="${S}/killwa" + emake -C "${S}" + fi +} + +src_install() { + dobin closest.sh + dobin focus.sh + dobin fullscreen.sh + dobin groups.sh + dobin rainbow.sh + dobin snap.sh + dobin tile.sh + dobin underneath.sh + dobin wmenu.sh + dobin workspace.sh + use focus-watcher && dobin focus_watcher.sh + use switch-grid && dobin switch_grid.sh + use deletelock && dobin deletelock.sh + if use killwa; then + local S="${S}/killwa" + emake -C "${S}" DESTDIR="${D}" install + fi +} diff --git a/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild b/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild deleted file mode 100644 index 2557b44..0000000 --- a/x11-wm/wmutils-contrib/wmutils-contrib-9999.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit git-r3 - -DESCRIPTION="Useful bits and pieces for wmutils" -HOMEPAGE="https://github.com/wmutils/contrib" -EGIT_REPO_URI="https://github.com/wmutils/contrib.git" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="" -IUSE="+deletelock +focus_watcher +killwa +switch_grid" - -DEPEND=" - x11-wm/wmutils - killwa? ( - x11-libs/libxcb - x11-libs/xcb-util-wm - ) -" -RDEPEND="${DEPEND} - deletelock? ( x11-apps/xprop ) - focus_watcher? ( x11-wm/wmutils-opt ) - switch_grid? ( x11-wm/wmutils-opt ) -" -BDEPEND="" - -DOCS=( README.md ) - -src_prepare() { - default - if use killwa; then - local S="${S}/killwa" - sed -e 's/-Os//g' -i "${S}/config.mk" || die - fi -} - -src_compile() { - if use killwa; then - local S="${S}/killwa" - emake -C "${S}" - fi -} - -src_install() { - dobin closest.sh - dobin focus.sh - dobin fullscreen.sh - dobin groups.sh - dobin rainbow.sh - dobin snap.sh - dobin tile.sh - dobin underneath.sh - dobin wmenu.sh - dobin workspace.sh - use focus_watcher && dobin focus_watcher.sh - use switch_grid && dobin switch_grid.sh - use deletelock && dobin deletelock.sh - if use killwa; then - local S="${S}/killwa" - emake -C "${S}" DESTDIR="${D}" install - fi -} -- cgit 1.4.1