commit:     9173b363554db8a5ff6897c458831f9d6837b03b
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
AuthorDate: Sun Mar  5 19:18:28 2017 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue Mar 21 22:22:51 2017 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=9173b363

kde-apps/kopete: Add USE=cryptography

See also:
https://docs.kde.org/trunk4/en/kdenetwork/kopete/plugins.html#plugins-cryptography

Gentoo-bug: 613434

 kde-apps/kopete/kopete-17.04.49.9999.ebuild | 23 +++++++++++++++--------
 kde-apps/kopete/kopete-9999.ebuild          | 23 +++++++++++++++--------
 kde-apps/kopete/metadata.xml                |  1 +
 3 files changed, 31 insertions(+), 16 deletions(-)

diff --git a/kde-apps/kopete/kopete-17.04.49.9999.ebuild 
b/kde-apps/kopete/kopete-17.04.49.9999.ebuild
index be4a117b89..72c5b2f385 100644
--- a/kde-apps/kopete/kopete-17.04.49.9999.ebuild
+++ b/kde-apps/kopete/kopete-17.04.49.9999.ebuild
@@ -20,6 +20,7 @@ RESTRICT+=" test"
 #      alias: NO DEPS (disabled upstream)
 #      autoreplace: NO DEPS
 #      contactnotes: NO DEPS
+#      cryptography: kde-apps/kdepim-common-libs:4 or kde-apps/libkleo:4
 #      highlight: NO DEPS
 #      history: NO DEPS
 #      latex: virtual/latex as RDEPEND
@@ -33,9 +34,9 @@ RESTRICT+=" test"
 #      urlpicpreview: NO DEPS
 #      webpresence: libxml2 libxslt
 # NOTE: By default we enable all plugins that don't have any dependencies
-PLUGINS="+addbookmarks +autoreplace +contactnotes +highlight +history latex
-+nowlistening otr +pipes +privacy +statistics +texteffect +translator
-+urlpicpreview webpresence"
+PLUGINS="+addbookmarks +autoreplace +contactnotes cryptography +highlight
++history latex +nowlistening otr +pipes +privacy +statistics +texteffect
++translator +urlpicpreview webpresence"
 
 # Available protocols
 #
@@ -46,8 +47,8 @@ PLUGINS="+addbookmarks +autoreplace +contactnotes +highlight 
+history latex
 #      jingle: media-libs/speex net-libs/ortp DISABLED BY UPSTREAM
 #      meanwhile: net-libs/meanwhile
 #      oscar: NO DEPS
-#   telepathy: net-libs/decibel
-#   testbed: NO DEPS
+#      telepathy: net-libs/decibel
+#      testbed: NO DEPS
 #      winpopup: NO DEPS (we're adding samba as RDEPEND so it works)
 #      yahoo: media-libs/jasper
 #      zeroconf (bonjour): NO DEPS
@@ -55,9 +56,9 @@ PROTOCOLS="gadu groupwise jingle meanwhile oscar skype
 testbed winpopup +xmpp yahoo zeroconf"
 
 # disabled protocols
-#   telepathy: net-libs/decibel
-#   irc: NO DEPS
-#   msn: net-libs/libmsn
+#      telepathy: net-libs/decibel
+#      irc: NO DEPS
+#      msn: net-libs/libmsn
 #      qq: NO DEPS
 
 IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
@@ -73,6 +74,12 @@ COMMONDEPEND="
                x11-libs/libX11
                x11-libs/libXScrnSaver
        )
+       cryptography? (
+               || (
+                       $(add_kdeapps_dep kdepim-common-libs)
+                       $(add_kdeapps_dep libkleo '' 4.4.2016.01-r1)
+               )
+       )
        gadu? ( >=net-libs/libgadu-1.8.0[threads] )
        groupwise? ( app-crypt/qca:2[qt4(+)] )
        jingle? (

diff --git a/kde-apps/kopete/kopete-9999.ebuild 
b/kde-apps/kopete/kopete-9999.ebuild
index be4a117b89..72c5b2f385 100644
--- a/kde-apps/kopete/kopete-9999.ebuild
+++ b/kde-apps/kopete/kopete-9999.ebuild
@@ -20,6 +20,7 @@ RESTRICT+=" test"
 #      alias: NO DEPS (disabled upstream)
 #      autoreplace: NO DEPS
 #      contactnotes: NO DEPS
+#      cryptography: kde-apps/kdepim-common-libs:4 or kde-apps/libkleo:4
 #      highlight: NO DEPS
 #      history: NO DEPS
 #      latex: virtual/latex as RDEPEND
@@ -33,9 +34,9 @@ RESTRICT+=" test"
 #      urlpicpreview: NO DEPS
 #      webpresence: libxml2 libxslt
 # NOTE: By default we enable all plugins that don't have any dependencies
-PLUGINS="+addbookmarks +autoreplace +contactnotes +highlight +history latex
-+nowlistening otr +pipes +privacy +statistics +texteffect +translator
-+urlpicpreview webpresence"
+PLUGINS="+addbookmarks +autoreplace +contactnotes cryptography +highlight
++history latex +nowlistening otr +pipes +privacy +statistics +texteffect
++translator +urlpicpreview webpresence"
 
 # Available protocols
 #
@@ -46,8 +47,8 @@ PLUGINS="+addbookmarks +autoreplace +contactnotes +highlight 
+history latex
 #      jingle: media-libs/speex net-libs/ortp DISABLED BY UPSTREAM
 #      meanwhile: net-libs/meanwhile
 #      oscar: NO DEPS
-#   telepathy: net-libs/decibel
-#   testbed: NO DEPS
+#      telepathy: net-libs/decibel
+#      testbed: NO DEPS
 #      winpopup: NO DEPS (we're adding samba as RDEPEND so it works)
 #      yahoo: media-libs/jasper
 #      zeroconf (bonjour): NO DEPS
@@ -55,9 +56,9 @@ PROTOCOLS="gadu groupwise jingle meanwhile oscar skype
 testbed winpopup +xmpp yahoo zeroconf"
 
 # disabled protocols
-#   telepathy: net-libs/decibel
-#   irc: NO DEPS
-#   msn: net-libs/libmsn
+#      telepathy: net-libs/decibel
+#      irc: NO DEPS
+#      msn: net-libs/libmsn
 #      qq: NO DEPS
 
 IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
@@ -73,6 +74,12 @@ COMMONDEPEND="
                x11-libs/libX11
                x11-libs/libXScrnSaver
        )
+       cryptography? (
+               || (
+                       $(add_kdeapps_dep kdepim-common-libs)
+                       $(add_kdeapps_dep libkleo '' 4.4.2016.01-r1)
+               )
+       )
        gadu? ( >=net-libs/libgadu-1.8.0[threads] )
        groupwise? ( app-crypt/qca:2[qt4(+)] )
        jingle? (

diff --git a/kde-apps/kopete/metadata.xml b/kde-apps/kopete/metadata.xml
index 2e164b6c6e..8c349e7b46 100644
--- a/kde-apps/kopete/metadata.xml
+++ b/kde-apps/kopete/metadata.xml
@@ -6,6 +6,7 @@
                <flag name="addbookmarks">Automatically add incoming urls to 
bookmarks.</flag>
                <flag name="autoreplace">Automatically replace selected 
text</flag>
                <flag name="contactnotes">Enables writing personal notes for 
contacts.</flag>
+               <flag name="cryptography">Enable cryptography plugin</flag>
                <flag name="highlight">Allows you to specify highlights on 
specific events.</flag>
                <flag name="history">Enables saving chat history.</flag>
                <flag name="latex">Embed latex formatted text into 
messages.</flag>

Reply via email to