commit:     db48d515084bfc2e16295f2fafba8463446e7cf3
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  2 11:27:50 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug  2 11:27:50 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db48d515

xfce-extra/xfce4-whiskermenu-plugin: Add accountsservice flag

Closes: https://bugs.gentoo.org/910565
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 xfce-extra/xfce4-whiskermenu-plugin/metadata.xml             |  5 +++++
 .../xfce4-whiskermenu-plugin-2.7.3.ebuild                    | 12 ++++++++----
 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

Reply via email to