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