gui-apps/wofi: Add USE flags

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Matthias Coppens <coppens.matthias.abc@gmail.com>
This commit is contained in:
Matthias Coppens
2021-01-18 15:59:36 +01:00
parent 7dae45ab10
commit 725a8067ca
5 changed files with 49 additions and 0 deletions

View File

@@ -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>

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}