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