Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/qutim/, net-im/qutim/files/
Date: Sat, 09 Sep 2017 12:34:14
Message-Id: 1504960429.c4f99911dd00fa3ffb80277d2b56a9c0a97157a2.asturm@gentoo
1 commit: c4f99911dd00fa3ffb80277d2b56a9c0a97157a2
2 Author: Alexander Golubev <fatzer2 <AT> gmail <DOT> com>
3 AuthorDate: Thu Jul 20 11:44:51 2017 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 9 12:33:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4f99911
7
8 net-im/qutim: Remove old
9
10 Closes: https://github.com/gentoo/gentoo/pull/5147
11
12 .../files/qutim-0.3.1-cmake-2.8.12-kde-build.patch | 25 ---
13 net-im/qutim/qutim-0.3.2.ebuild | 185 ---------------------
14 2 files changed, 210 deletions(-)
15
16 diff --git a/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-kde-build.patch b/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-kde-build.patch
17 deleted file mode 100644
18 index f3237966241..00000000000
19 --- a/net-im/qutim/files/qutim-0.3.1-cmake-2.8.12-kde-build.patch
20 +++ /dev/null
21 @@ -1,25 +0,0 @@
22 -From 984d4af9568de9c54a44e4cf96cca76e0cea256a Mon Sep 17 00:00:00 2001
23 -From: Ruslan Nigmatullin <euroelessar@××××××.ru>
24 -Date: Mon, 24 Feb 2014 18:09:20 +0300
25 -Subject: [PATCH 2/2] Fixed compilation with the newest cmake
26 -
27 ----
28 - plugins/kdeintegration/CMakeLists.txt | 2 ++
29 - 1 file changed, 2 insertions(+)
30 -
31 -diff --git a/plugins/kdeintegration/CMakeLists.txt b/plugins/kdeintegration/CMakeLists.txt
32 -index 6f1a9f8..805ad80 100644
33 ---- a/plugins/kdeintegration/CMakeLists.txt
34 -+++ b/plugins/kdeintegration/CMakeLists.txt
35 -@@ -8,6 +8,8 @@ endif()
36 -
37 - include(KDE4Defaults)
38 -
39 -+set(CMAKE_AUTOMOC true)
40 -+
41 - add_definitions( ${KDE4_DEFINITIONS} )
42 -
43 - qutim_add_plugin(kdeintegration
44 ---
45 -2.0.4
46 -
47
48 diff --git a/net-im/qutim/qutim-0.3.2.ebuild b/net-im/qutim/qutim-0.3.2.ebuild
49 deleted file mode 100644
50 index 84c0d151ae0..00000000000
51 --- a/net-im/qutim/qutim-0.3.2.ebuild
52 +++ /dev/null
53 @@ -1,185 +0,0 @@
54 -# Copyright 1999-2017 Gentoo Foundation
55 -# Distributed under the terms of the GNU General Public License v2
56 -
57 -EAPI=5
58 -
59 -LANGS="ar be bg cs de en_GB es fr he nds ru sk uk uz zh_CN"
60 -
61 -inherit qt4-r2 cmake-utils
62 -
63 -DESCRIPTION="Qt4-based multi-protocol instant messenger"
64 -HOMEPAGE="http://www.qutim.org"
65 -SRC_URI="http://www.qutim.org/dwnl/68/${P}.tar.xz"
66 -
67 -LICENSE="GPL-3"
68 -SLOT="0"
69 -KEYWORDS="~amd64 ~x86"
70 -
71 -# general USE
72 -IUSE="doc +sound tools"
73 -# protocol uses
74 -IUSE="$IUSE telepathy irc xmpp jingle mrim oscar purple vkontakte"
75 -# plugins
76 -IUSE="$IUSE antiboss aspell ayatana awn crypt dbus debug -espionage histman hunspell
77 - kde mobility plugman phonon purple qml sdl +ssl +xscreensaver webkit"
78 -# NOTE: otr support was removed due to remove of net-libs/libotr-3.x
79 -
80 -REQUIRED_USE="
81 - oscar? ( ssl )
82 - jingle? ( xmpp )
83 - qml? ( webkit )
84 -"
85 -
86 -# Minimum Qt version required
87 -QT_PV="4.7.0:4"
88 -
89 -CDEPEND="
90 - x11-libs/libqxt
91 - >=dev-qt/qtcore-${QT_PV}[ssl?]
92 - >=dev-qt/qtgui-${QT_PV}
93 - >=dev-qt/qtscript-${QT_PV}
94 - >=dev-qt/qtdeclarative-${QT_PV}
95 -
96 - telepathy? ( >=net-libs/telepathy-qt-0.3 )
97 - xmpp? (
98 - app-crypt/qca:2[qt4(+)]
99 - >=net-libs/jreen-1.2.0[qt4]
100 - )
101 - jingle? ( dev-qt/qt-mobility[multimedia] )
102 - oscar? ( app-crypt/qca:2[qt4(+)] )
103 - purple? ( net-im/pidgin )
104 - vkontakte? ( >=dev-qt/qtwebkit-${QT_PV} )
105 -
106 - aspell? ( app-text/aspell )
107 - awn? ( >=dev-qt/qtdbus-${QT_PV} )
108 - crypt? ( app-crypt/qca:2[qt4(+)] )
109 - dbus? ( >=dev-qt/qtdbus-${QT_PV} )
110 - espionage? ( app-crypt/qca:2[qt4(+)] )
111 - histman? ( >=dev-qt/qtsql-${QT_PV} )
112 - ayatana? ( >=dev-libs/libindicate-qt-0.2.2 )
113 - hunspell? ( app-text/hunspell )
114 - kde? ( kde-frameworks/kdelibs:4 )
115 - mobility? (
116 - dev-qt/qt-mobility[multimedia,feedback]
117 - >=dev-qt/qtbearer-${QT_PV}
118 - )
119 - phonon? ( media-libs/phonon[qt4] )
120 - plugman? (
121 - dev-libs/libattica
122 - app-arch/libarchive
123 - )
124 - qml? (
125 - >=dev-qt/qtopengl-${QT_PV}
126 - )
127 - sdl? ( media-libs/sdl-mixer )
128 - xscreensaver? ( x11-libs/libXScrnSaver )
129 - webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
130 -"
131 -# otr? (
132 -# >=net-libs/libotr-3.2.0
133 -# <net-libs/libotr-4.0.0
134 -# )
135 -
136 -DEPEND="${CDEPEND}
137 - virtual/pkgconfig
138 - doc? ( app-doc/doxygen )
139 - kde? ( dev-util/automoc )
140 -"
141 -RDEPEND="${CDEPEND}
142 - xmpp? ( app-crypt/qca:2[gpg] )
143 - oscar? ( app-crypt/qca:2[ssl] )
144 - kde-frameworks/oxygen-icons
145 -"
146 -
147 -DOCS=( AUTHORS INSTALL ChangeLog )
148 -PATCHES=(
149 - "${FILESDIR}/${PN}-0.3.1-cmake-2.8.12-kde-build.patch"
150 - "${FILESDIR}/${P}-astral-migrate-qt-telepaphy.patch"
151 -)
152 -
153 -src_prepare() {
154 - # fix automagic dep on libXScrnSaver
155 - if ! use xscreensaver; then
156 - sed -i -e '/XSS xscrnsaver/d' \
157 - core/src/corelayers/idledetector/CMakeLists.txt || die
158 - fi
159 -
160 - # fix automagic dep on qt-mobility for jingle
161 - if ! use jingle; then
162 - sed -i -e '/find_package(QtMobility)/d' \
163 - protocols/jabber/CMakeLists.txt || die
164 - fi
165 -
166 - # remove unwanted translations
167 - local lang
168 - for lang in ${LANGS}; do
169 - use linguas_${lang} || rm -f translations/modules/*/${lang}.{po,ts}
170 - done
171 -
172 - cmake-utils_src_prepare
173 -}
174 -
175 -src_configure() {
176 - local mycmakeargs=(
177 - -DSYSTEM_JREEN=ON
178 - $(cmake-utils_use_with doc DOXYGEN)
179 - $(cmake-utils_use doc QUTIM_GENERATE_DOCS)
180 - $(cmake-utils_use sound QUTIM_INSTALL_SOUND_THEME )
181 - $(cmake-utils_use tools QUTIM_DEVELOPER_BUILD )
182 -
183 - # protocols
184 - $(cmake-utils_use telepathy ASTRAL )
185 - $(cmake-utils_use irc )
186 - $(cmake-utils_use xmpp JABBER )
187 - $(cmake-utils_use mrim )
188 - $(cmake-utils_use oscar )
189 - $(cmake-utils_use purple QUETZAL )
190 - $(cmake-utils_use vkontakte )
191 -
192 - # plugins
193 - $(cmake-utils_use webkit ADIUMWEBVIEW )
194 - $(cmake-utils_use crypt AESCRYPTO )
195 - $(cmake-utils_use antiboss ANTIBOSS )
196 - $(cmake-utils_use aspell ASPELLER )
197 - $(cmake-utils_use awn AWN )
198 - $(cmake-utils_use espionage CONTROL ) # Also requires -DENABLE_ESPIONAGE=ON (see bellow)
199 - $(cmake-utils_use dbus DBUSAPI )
200 - $(cmake-utils_use dbus DBUSNOTIFICATIONS )
201 - $(cmake-utils_use histman HISTMAN )
202 - $(cmake-utils_use hunspell HUNSPELLER )
203 - $(cmake-utils_use ayatana INDICATOR )
204 - $(cmake-utils_use kde KDEINTEGRATION )
205 - $(cmake-utils_use qml KINETICPOPUPS )
206 - $(cmake-utils_use phonon PHONONSOUND )
207 - $(cmake-utils_use plugman PLUGMAN )
208 - $(cmake-utils_use debug LOGGER )
209 - $(cmake-utils_use mobility MOBILITY )
210 - $(cmake-utils_use dbus NOWPLAYING )
211 - # $(cmake-utils_use otr OFFTHERECORD )
212 - $(cmake-utils_use qml QMLCHAT )
213 - $(cmake-utils_use sdl SDLSOUND )
214 - $(cmake-utils_use_enable espionage )
215 - -DLINUXINTEGRATION=ON
216 - -DDOCKTILE=OFF # QtDockTile currenly supports only unity;
217 - # consider to make it optional if it also support kde or whatever
218 - -DUPDATER=OFF
219 - )
220 - # NOTE: Integration plugins are autodisabled:
221 - # symbianintegration macintegration maemo5integration haikunotifications meegointegration winintegration
222 -
223 - cmake-utils_src_configure
224 -}
225 -
226 -pkg_postinst () {
227 - elog "Next qutim plugins are enabled by default:"
228 - elog " antispam autopaster autoreply birthdayreminder blogimprover clconf"
229 - elog " emoedit floaties formula highlighter imagepub massmessaging"
230 - elog " oldcontactdelegate qrcicons screenshoter scriptapi unreadmessageskeeper urlpreview"
231 - elog " weather webhistory yandexnarod"
232 - elog "If you have strong reasons to make their build optional feel free to fill bugrepot."
233 -
234 - if use espionage; then
235 - ewarn "You have enabled the control (espionage) plugin. It may "
236 - ewarn "deal negative security impact on the privacy of your client."
237 - fi
238 -}