aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Zdanevich <zdanevich.vitaly@ya.ru>2023-04-14 00:34:27 +0400
committerVitaly Zdanevich <zdanevich.vitaly@ya.ru>2023-04-14 00:34:27 +0400
commit2b95e5b825c999535a525f72c0f87e16e3171736 (patch)
tree7d8f91bdb457396c59217db0094e4494a8440e4c /gui-apps
parentapp-misc/1password metadata.xml add about USE cli (diff)
downloadguru-2b95e5b825c999535a525f72c0f87e16e3171736.tar.gz
guru-2b95e5b825c999535a525f72c0f87e16e3171736.tar.bz2
guru-2b95e5b825c999535a525f72c0f87e16e3171736.zip
gui-apps/1password USE to optfeature
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru>
Diffstat (limited to 'gui-apps')
-rw-r--r--gui-apps/1password/1password-8.10.3.ebuild9
-rw-r--r--gui-apps/1password/metadata.xml3
2 files changed, 4 insertions, 8 deletions
diff --git a/gui-apps/1password/1password-8.10.3.ebuild b/gui-apps/1password/1password-8.10.3.ebuild
index b4f9bf99a..ebdb98bc2 100644
--- a/gui-apps/1password/1password-8.10.3.ebuild
+++ b/gui-apps/1password/1password-8.10.3.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit rpm xdg-utils
+inherit rpm xdg-utils optfeature
DESCRIPTION="The world’s most-loved password manager"
HOMEPAGE="https://1password.com"
@@ -15,13 +15,9 @@ KEYWORDS="~amd64"
RESTRICT="mirror strip test bindist"
-IUSE="+policykit +cli"
-
DEPEND="
x11-misc/xdg-utils
acct-group/1password
- policykit? ( sys-auth/polkit )
- cli? ( app-misc/1password-cli )
"
RDEPEND="${DEPEND}"
BDEPEND=""
@@ -54,6 +50,9 @@ pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
xdg_mimeinfo_database_update
+
+ optfeature "cli support" app-misc/1password-cli
+ optfeature "policykit support" sys-auth/polkit
}
pkg_postrm() {
diff --git a/gui-apps/1password/metadata.xml b/gui-apps/1password/metadata.xml
index d79ec03ed..4b0439172 100644
--- a/gui-apps/1password/metadata.xml
+++ b/gui-apps/1password/metadata.xml
@@ -5,7 +5,4 @@
<email>zdanevich.vitaly@ya.ru</email>
<name>Vitaly Zdanevich</name>
</maintainer>
- <use>
- <flag name="cli">Install app-misc/1password-cli</flag>
- </use>
</pkgmetadata>