diff --git a/gui-apps/wofi/metadata.xml b/gui-apps/wofi/metadata.xml index 2a28f311d5..f757c20f5e 100644 --- a/gui-apps/wofi/metadata.xml +++ b/gui-apps/wofi/metadata.xml @@ -9,4 +9,9 @@ https://todo.sr.ht/~scoopta/wofi https://cloudninja.pw/docs/wofi.html + + Enable run mode + Enable drun mode + Enable dmenu mode + diff --git a/gui-apps/wofi/wofi-1.2.1.ebuild b/gui-apps/wofi/wofi-1.2.1.ebuild index eabf32d5c2..c982631dfd 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 eabf32d5c2..c982631dfd 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 eabf32d5c2..c982631dfd 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 eabf32d5c2..c982631dfd 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 +}