Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kopete/
Date: Sun, 19 Nov 2017 19:10:53
Message-Id: 1511118627.96a1879e2c42cecb371dae0c59f91be5cc55c1fb.asturm@gentoo
1 commit: 96a1879e2c42cecb371dae0c59f91be5cc55c1fb
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 19 19:00:38 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 19 19:10:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96a1879e
7
8 kde-apps/kopete: Import 17.08.3_p20171029 kf5-based snapshot
9
10 Tested-by: Nils Freydank <holgersson <AT> posteo.de>
11 Bug: https://bugs.gentoo.org/634138
12 Package-Manager: Portage-2.3.14, Repoman-2.3.6
13
14 kde-apps/kopete/Manifest | 1 +
15 kde-apps/kopete/kopete-17.08.3_p20171029.ebuild | 169 ++++++++++++++++++++++++
16 2 files changed, 170 insertions(+)
17
18 diff --git a/kde-apps/kopete/Manifest b/kde-apps/kopete/Manifest
19 index 3e60e3b0785..e431ffd4872 100644
20 --- a/kde-apps/kopete/Manifest
21 +++ b/kde-apps/kopete/Manifest
22 @@ -1,2 +1,3 @@
23 DIST kopete-17.04.3.tar.xz 6343664 SHA256 ec48462a464ce9ab724f503813311d9dd3aafc0124972410ac2afe14133be43f SHA512 d9c2ccec7f72e68090cd72632884b86f6b5a9cdd7fd3d23c1dedf3fe0331296d0b750c48050b80f36a58b92815e240983ab2c96eebb18997235c2a22bc4d2b26 WHIRLPOOL 2dffbb43e2eb63aa008ede23322d223436310fc85df4d8d38eec12e6ee7fe3549689beffde4e66ab2a3892ce0433e677f8d913c5ba9d9498264ec2b525815dd3
24 DIST kopete-17.08.3.tar.xz 6344464 SHA256 f86ccc1ca809c723d1baf2eed745f158337059263555f6fafa23ea200aacafec SHA512 0c069ec3208bb499ea2ffb92ba5a448980a0190b26a579903b126b7e72bf2c61e59c1ebc90065fc478415aed11aee67d7b4ef0f9d240c18a84e14d6163899f25 WHIRLPOOL 19290b3a238a8c39e2d961d28d32cc4f3590c5b31f52f9a6824ad8e4eafbf012017944d41f1531a6e32cf9d8c253eb759bb36798190843c0bb782285c44c5e90
25 +DIST kopete-17.08.3_p20171029.tar.gz 8004208 SHA256 d990006cc05cde0346d13781e9069db92904c52a73c63d411f44ff0633e01ae4 SHA512 bb70dac4f1336502fb79564e132785d3d6faf01520126441e7cde902b75ae8ac36ae796e0d24318f16e6fffeaa0ec1833a6582731ec734a86fd495dd7252fcb8 WHIRLPOOL e39b5cb909150ba2c2fd907928fe9d1fb71caa8ebcdd299b18860335b6be29b0a02bf7ba980eb39f2603eb3d6c5c952682e1aeca54ca423ec8b0e58e987a835b
26
27 diff --git a/kde-apps/kopete/kopete-17.08.3_p20171029.ebuild b/kde-apps/kopete/kopete-17.08.3_p20171029.ebuild
28 new file mode 100644
29 index 00000000000..066724406ec
30 --- /dev/null
31 +++ b/kde-apps/kopete/kopete-17.08.3_p20171029.ebuild
32 @@ -0,0 +1,169 @@
33 +# Copyright 1999-2017 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +
38 +COMMIT=d7dbacb483124d5d6a8ad30586ec126c8514a715
39 +KDE_HANDBOOK="forceoptional"
40 +KDE_TEST="forceoptional"
41 +inherit kde5 vcs-snapshot
42 +
43 +DESCRIPTION="Multi-protocol IM client based on KDE Frameworks"
44 +HOMEPAGE="https://kopete.kde.org https://www.kde.org/applications/internet/kopete"
45 +SRC_URI="https://github.com/KDE/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
46 +
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE="ssl v4l"
49 +
50 +# tests hang, last checked for 4.2.96
51 +RESTRICT+=" test"
52 +
53 +# Available plugins
54 +#
55 +# addbookmarks: NO DEPS
56 +# alias: NO DEPS (disabled upstream)
57 +# autoreplace: NO DEPS
58 +# contactnotes: NO DEPS
59 +# highlight: NO DEPS
60 +# history: NO DEPS
61 +# latex: virtual/latex as RDEPEND
62 +# nowlistening: NO DEPS
63 +# otr: libotr
64 +# pipes: NO DEPS
65 +# privacy: NO DEPS
66 +# statistics: dev-db/sqlite:3
67 +# texteffect: NO DEPS
68 +# translator: NO DEPS
69 +# urlpicpreview: NO DEPS
70 +# webpresence: libxml2 libxslt
71 +# NOTE: By default we enable all plugins that don't have any dependencies
72 +PLUGINS="+addbookmarks +autoreplace +contactnotes +highlight history latex nowlistening
73 +otr pipes +privacy +statistics +texteffect translator +urlpicpreview webpresence"
74 +
75 +# Available protocols
76 +#
77 +# gadu: net-libs/libgadu @since 4.3
78 +# groupwise: app-crypt/qca:2
79 +# irc: NO DEPS, probably will fail so inform user about it
80 +# xmpp: net-dns/libidn app-crypt/qca:2 ENABLED BY DEFAULT NETWORK
81 +# meanwhile: net-libs/meanwhile
82 +# oscar: NO DEPS
83 +# telepathy: net-libs/decibel
84 +# testbed: NO DEPS
85 +# winpopup: NO DEPS (we're adding samba as RDEPEND so it works)
86 +# yahoo: media-libs/jasper
87 +# zeroconf (bonjour): NO DEPS
88 +# DISABLED until fixed: skype sms
89 +PROTOCOLS="gadu groupwise meanwhile oscar testbed winpopup +xmpp yahoo zeroconf"
90 +
91 +# disabled protocols
92 +# telepathy: net-libs/decibel
93 +# irc: NO DEPS
94 +# msn: net-libs/libmsn
95 +# qq: NO DEPS
96 +
97 +IUSE="${IUSE} ${PLUGINS} ${PROTOCOLS}"
98 +
99 +COMMONDEPEND="
100 + $(add_frameworks_dep kcmutils)
101 + $(add_frameworks_dep kconfig)
102 + $(add_frameworks_dep kcrash)
103 + $(add_frameworks_dep kdbusaddons)
104 + $(add_frameworks_dep khtml)
105 + $(add_frameworks_dep kcoreaddons)
106 + $(add_frameworks_dep kdbusaddons)
107 + $(add_frameworks_dep kdelibs4support)
108 + $(add_frameworks_dep kemoticons)
109 + $(add_frameworks_dep khtml)
110 + $(add_frameworks_dep ki18n)
111 + $(add_frameworks_dep knotifyconfig)
112 + $(add_frameworks_dep kparts)
113 + $(add_frameworks_dep ktexteditor)
114 + $(add_kdeapps_dep kcontacts)
115 + $(add_kdeapps_dep kidentitymanagement)
116 + $(add_kdeapps_dep libkleo)
117 + $(add_qt_dep qtgui)
118 + $(add_qt_dep qtsql)
119 + $(add_qt_dep qtwidgets)
120 + $(add_qt_dep qtxml)
121 + app-crypt/gpgme[cxx,qt5]
122 + dev-libs/libpcre
123 + media-libs/phonon[qt5(+)]
124 + x11-libs/libX11
125 + x11-libs/libXScrnSaver
126 + gadu? ( >=net-libs/libgadu-1.8.0[threads] )
127 + groupwise? ( app-crypt/qca:2[qt5] )
128 + meanwhile? ( net-libs/meanwhile )
129 + otr? ( >=net-libs/libotr-4.0.0 )
130 + statistics? ( dev-db/sqlite:3 )
131 + v4l? ( media-libs/libv4l )
132 + webpresence? (
133 + dev-libs/libxml2
134 + dev-libs/libxslt
135 + )
136 + xmpp? (
137 + app-crypt/qca:2[qt5]
138 + net-dns/libidn
139 + sys-libs/zlib
140 + )
141 + yahoo? ( media-libs/jasper )
142 + zeroconf? (
143 + $(add_frameworks_dep kdnssd)
144 + $(add_kdeapps_dep kidentitymanagement)
145 + )
146 +"
147 +RDEPEND="${COMMONDEPEND}
148 + latex? (
149 + || (
150 + media-gfx/imagemagick
151 + media-gfx/graphicsmagick[imagemagick]
152 + )
153 + virtual/latex-base
154 + )
155 + ssl? ( app-crypt/qca:2[ssl] )
156 +"
157 +DEPEND="${COMMONDEPEND}
158 + x11-proto/scrnsaverproto
159 +"
160 +
161 +src_configure() {
162 + local x x2
163 + # Handle common stuff
164 + local mycmakeargs=(
165 + -DCMAKE_DISABLE_FIND_PACKAGE_Libmsn=ON
166 + -DWITH_qq=OFF
167 + -DDISABLE_VIDEOSUPPORT=$(usex !v4l)
168 + )
169 + # enable protocols
170 + for x in ${PROTOCOLS}; do
171 + case ${x/+/} in
172 + xmpp) x2=jabber ;;
173 + zeroconf) x2=bonjour ;;
174 + *) x2=${x/+/} ;;
175 + esac
176 + mycmakeargs+=( -DWITH_${x2}=$(usex ${x/+/}) )
177 + done
178 +
179 + # disable until fixed:
180 + mycmakeargs+=( -DWITH_{cryptography,libjingle,skype,sms}=OFF )
181 +
182 + # enable plugins
183 + for x in ${PLUGINS}; do
184 + mycmakeargs+=( -DWITH_${x/+/}=$(usex ${x/+/}) )
185 + done
186 +
187 + kde5_src_configure
188 +}
189 +
190 +pkg_postinst() {
191 + kde5_pkg_postinst
192 +
193 + if ! use ssl; then
194 + if use xmpp ; then
195 + if ! has_version "app-crypt/qca:2[ssl]" ; then
196 + elog "In order to use ssl in xmpp you'll need to"
197 + elog "install app-crypt/qca package with USE=ssl."
198 + fi
199 + fi
200 + fi
201 +}