commit: 725a8067ca0f4b525699f39db31caaa8353d4031
Author: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
AuthorDate: Mon Jan 18 14:59:36 2021 +0000
Commit: Matthias Coppens <coppens.matthias.abc <AT> gmail <DOT> com>
CommitDate: Mon Jan 18 15:00:33 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=725a8067
gui-apps/wofi: Add USE flags
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Matthias Coppens <coppens.matthias.abc <AT> gmail.com>
gui-apps/wofi/metadata.xml | 5 +++++
gui-apps/wofi/wofi-1.2.1.ebuild | 11 +++++++++++
gui-apps/wofi/wofi-1.2.2.ebuild | 11 +++++++++++
gui-apps/wofi/wofi-1.2.3.ebuild | 11 +++++++++++
gui-apps/wofi/wofi-9999.ebuild | 11 +++++++++++
5 files changed, 49 insertions(+)
diff --git a/gui-apps/wofi/metadata.xml b/gui-apps/wofi/metadata.xml
index 2a28f311..f757c20f 100644
--- a/gui-apps/wofi/metadata.xml
+++ b/gui-apps/wofi/metadata.xml
@@ -9,4 +9,9 @@
<bugs-to>https://todo.sr.ht/~scoopta/wofi</bugs-to>
<doc>https://cloudninja.pw/docs/wofi.html</doc>
</upstream>
+ <use>
+ <flag name="run">Enable run mode</flag>
+ <flag name="drun">Enable drun mode</flag>
+ <flag name="dmenu">Enable dmenu mode</flag>
+ </use>
</pkgmetadata>
diff --git a/gui-apps/wofi/wofi-1.2.1.ebuild b/gui-apps/wofi/wofi-1.2.1.ebuild
index eabf32d5..c982631d 100644
--- a/gui-apps/wofi/wofi-1.2.1.ebuild
+++ b/gui-apps/wofi/wofi-1.2.1.ebuild
@@ -18,6 +18,8 @@ DESCRIPTION="Wofi is a launcher/menu program for wlroots
based wayland composito
HOMEPAGE="https://hg.sr.ht/~scoopta/wofi"
LICENSE="GPL-3"
+IUSE="+run +drun +dmenu"
+
DEPEND="
dev-libs/wayland
x11-libs/gtk+[wayland]"
@@ -27,3 +29,12 @@ BDEPEND="virtual/pkgconfig"
RESTRICT="test mirror"
SLOT="0"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use run enable_run)
+ $(meson_use drun enable_drun)
+ $(meson_use dmenu enable_dmenu)
+ )
+ meson_src_configure
+}
diff --git a/gui-apps/wofi/wofi-1.2.2.ebuild b/gui-apps/wofi/wofi-1.2.2.ebuild
index eabf32d5..c982631d 100644
--- a/gui-apps/wofi/wofi-1.2.2.ebuild
+++ b/gui-apps/wofi/wofi-1.2.2.ebuild
@@ -18,6 +18,8 @@ DESCRIPTION="Wofi is a launcher/menu program for wlroots
based wayland composito
HOMEPAGE="https://hg.sr.ht/~scoopta/wofi"
LICENSE="GPL-3"
+IUSE="+run +drun +dmenu"
+
DEPEND="
dev-libs/wayland
x11-libs/gtk+[wayland]"
@@ -27,3 +29,12 @@ BDEPEND="virtual/pkgconfig"
RESTRICT="test mirror"
SLOT="0"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use run enable_run)
+ $(meson_use drun enable_drun)
+ $(meson_use dmenu enable_dmenu)
+ )
+ meson_src_configure
+}
diff --git a/gui-apps/wofi/wofi-1.2.3.ebuild b/gui-apps/wofi/wofi-1.2.3.ebuild
index eabf32d5..c982631d 100644
--- a/gui-apps/wofi/wofi-1.2.3.ebuild
+++ b/gui-apps/wofi/wofi-1.2.3.ebuild
@@ -18,6 +18,8 @@ DESCRIPTION="Wofi is a launcher/menu program for wlroots
based wayland composito
HOMEPAGE="https://hg.sr.ht/~scoopta/wofi"
LICENSE="GPL-3"
+IUSE="+run +drun +dmenu"
+
DEPEND="
dev-libs/wayland
x11-libs/gtk+[wayland]"
@@ -27,3 +29,12 @@ BDEPEND="virtual/pkgconfig"
RESTRICT="test mirror"
SLOT="0"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use run enable_run)
+ $(meson_use drun enable_drun)
+ $(meson_use dmenu enable_dmenu)
+ )
+ meson_src_configure
+}
diff --git a/gui-apps/wofi/wofi-9999.ebuild b/gui-apps/wofi/wofi-9999.ebuild
index eabf32d5..c982631d 100644
--- a/gui-apps/wofi/wofi-9999.ebuild
+++ b/gui-apps/wofi/wofi-9999.ebuild
@@ -18,6 +18,8 @@ DESCRIPTION="Wofi is a launcher/menu program for wlroots
based wayland composito
HOMEPAGE="https://hg.sr.ht/~scoopta/wofi"
LICENSE="GPL-3"
+IUSE="+run +drun +dmenu"
+
DEPEND="
dev-libs/wayland
x11-libs/gtk+[wayland]"
@@ -27,3 +29,12 @@ BDEPEND="virtual/pkgconfig"
RESTRICT="test mirror"
SLOT="0"
+
+src_configure() {
+ local emesonargs=(
+ $(meson_use run enable_run)
+ $(meson_use drun enable_drun)
+ $(meson_use dmenu enable_dmenu)
+ )
+ meson_src_configure
+}