summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2023-08-02 13:27:50 +0200
committerMichał Górny <mgorny@gentoo.org>2023-08-02 13:27:50 +0200
commitdb48d515084bfc2e16295f2fafba8463446e7cf3 (patch)
tree47d0d1e4b630fcb8f3b05f5bb83d898e1396f2f5 /xfce-extra/xfce4-whiskermenu-plugin
parentxfce-extra/xfce4-whiskermenu-plugin: drop maintainership (diff)
downloadgentoo-db48d515084bfc2e16295f2fafba8463446e7cf3.tar.gz
gentoo-db48d515084bfc2e16295f2fafba8463446e7cf3.tar.bz2
gentoo-db48d515084bfc2e16295f2fafba8463446e7cf3.zip
xfce-extra/xfce4-whiskermenu-plugin: Add accountsservice flag
Closes: https://bugs.gentoo.org/910565 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'xfce-extra/xfce4-whiskermenu-plugin')
-rw-r--r--xfce-extra/xfce4-whiskermenu-plugin/metadata.xml5
-rw-r--r--xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.7.3.ebuild12
2 files changed, 13 insertions, 4 deletions
diff --git a/xfce-extra/xfce4-whiskermenu-plugin/metadata.xml b/xfce-extra/xfce4-whiskermenu-plugin/metadata.xml
index d3aa6cf2486b..fc07d9e44173 100644
--- a/xfce-extra/xfce4-whiskermenu-plugin/metadata.xml
+++ b/xfce-extra/xfce4-whiskermenu-plugin/metadata.xml
@@ -37,4 +37,9 @@
<changelog>https://gottcode.org/xfce4-whiskermenu-plugin/#releasenotes</changelog>
<remote-id type="github">gottcode/xfce4-whiskermenu-plugin</remote-id>
</upstream>
+ <use>
+ <flag name="accountsservice">
+ Enable support for AccountsService.
+ </flag>
+ </use>
</pkgmetadata>
diff --git a/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.7.3.ebuild b/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.7.3.ebuild
index 0b68d5606c70..3e49f21f2042 100644
--- a/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.7.3.ebuild
+++ b/xfce-extra/xfce4-whiskermenu-plugin/xfce4-whiskermenu-plugin-2.7.3.ebuild
@@ -11,9 +11,9 @@ SRC_URI="https://archive.xfce.org/src/panel-plugins/${PN}/${PV%.*}/${P}.tar.bz2"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~riscv x86"
-IUSE=""
+IUSE="accountsservice"
-RDEPEND="
+DEPEND="
virtual/libintl
x11-libs/gtk+:3
xfce-base/exo:=
@@ -21,9 +21,12 @@ RDEPEND="
xfce-base/libxfce4ui:=
xfce-base/libxfce4util:=
xfce-base/xfce4-panel:=
+ accountsservice? (
+ sys-apps/accountsservice
+ )
"
-DEPEND="
- ${RDEPEND}
+RDEPEND="
+ ${DEPEND}
"
BDEPEND="
sys-devel/gettext
@@ -39,6 +42,7 @@ src_configure() {
-DENABLE_LINKER_OPTIMIZED_HASH_TABLES=OFF
-DENABLE_DEVELOPER_MODE=OFF
-DENABLE_LINK_TIME_OPTIMIZATION=OFF
+ -DENABLE_ACCOUNTSSERVICE=$(usex accountsservice)
)
cmake_src_configure