version bump, proxy for fatzer2, bug 501808
authorYixun Lan <dlan@gentoo.org>
Fri, 14 Nov 2014 03:34:55 +0000 (03:34 +0000)
committerYixun Lan <dlan@gentoo.org>
Fri, 14 Nov 2014 03:34:55 +0000 (03:34 +0000)
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0xAABEFD55

net-im/qutim/ChangeLog
net-im/qutim/Manifest
net-im/qutim/files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch [new file with mode: 0644]
net-im/qutim/metadata.xml
net-im/qutim/qutim-0.3.2.ebuild [new file with mode: 0644]

index d45f81f16600bb5bf29355eb7cc99d30e4b81a08..cb3910a8f2df240398d9041185523a8d493ec9ec 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-im/qutim
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/ChangeLog,v 1.29 2014/11/06 11:47:38 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/ChangeLog,v 1.30 2014/11/14 03:34:46 dlan Exp $
+
+*qutim-0.3.2 (14 Nov 2014)
+
+  14 Nov 2014; Yixun Lan <dlan@gentoo.org> +qutim-0.3.2.ebuild,
+  +files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch, metadata.xml:
+  version bump, proxy for fatzer2, bug 501808
 
 *qutim-0.3.1-r1 (06 Nov 2014)
 
index 184aa4ff0c7075185a786e2be039e27b6a078cbd..aac2c80dffe03e88a3216cdf1434645cb9a77175 100644 (file)
@@ -3,18 +3,27 @@ Hash: SHA256
 
 AUX qutim-0.3.1-cmake-2.8.12-kde-build.patch 677 SHA256 5ab5117780d5260ed6be8a2853637196ac12f296b71dd2f7afbcc6d548d3d394 SHA512 e8a020d185cd776e6af614d2431c39358844c57f63fb7135ea76fd0cac7a98595b843053e9683dd1d4b7ccf56fe43f007233d0c8483a47e431029485831b8dc4 WHIRLPOOL 83a9867f348cf3a57d244b7084c696b39d31550dc934d0d242b876fccce86f3b757bb1343395cc8dd0a19fc7d4296858d94d9aa782aeb9afdf0e6bf40375e40c
 AUX qutim-0.3.1-cmake-2.8.12-qt-build.patch 4506 SHA256 c9354118436e71c978c0fca535342d0a682c87a124ec0055a2a547aae0abe58b SHA512 1750775dddb9ece43704f11cb76f00fe7fd750710ad5a27a27a1e45f6e244ec352e4714b5b47727fff27720b3f70e983fbca649f671498153f1ef1662c6cbfb0 WHIRLPOOL 555bf3c86232fbb9ff4cbb44138d9e326dca6751f1dcc74130ccef7c13212edccbeab3ba6a4e7ea6547ffd4a6ffd377746700b2a4ad08910f4fa76721d44d9f4
+AUX qutim-0.3.2-astral-migrate-qt-telepaphy.patch 5761 SHA256 865b38868e90a599b9123eb5d42e6946c39e98871ee5e39aea3fe4b08b82a956 SHA512 e930fe3f6d33fc27c5cc578fceb09280c72201290e0e3eb97f57d8fd08616e4234b526db1a0445f78ef0338b1b6c83f60ff8be1123a8a5639a5b9d58f51d2f26 WHIRLPOOL 7c16f5f04fa367e48da1e20242d20a4b7c84024a7aa860a6ab70f8b8b7102e3b9d965d13666083e275ff3232248faf1811393d64ff1f7bff3bf2957cfe87de60
 DIST qutim-0.3.1.tar.bz2 12056208 SHA256 a85f2bbb1d8010ee5506b0e82185a21a950d2fa36f72373a192070859e4944e1 SHA512 c3902aad605596bca943a2de706dcf1c35a0cf55df1309d8d0a7a4950a5900bc60829d6a785e408cbb66f21ba6ac3e5315d8d5140eed476ebee3bcb94cd3bc57 WHIRLPOOL 06a04a87f7cf24cf9440d263c835bb3273336838f9a927fc0debccec44861e057b5c97e5ab24d6f89c42edca6f183023396116fd0f5a32d04abfc01fdb27222a
+DIST qutim-0.3.2.tar.xz 10232436 SHA256 326bd4048cdee2913b6a01900d15736c54b431b4ec1a11c88e567920c2948849 SHA512 0767552e31d6e999f6622f14a48e2da7f4497b4a958550189dce38709689cb5f12e9b91a55b5d94d1a24f3e8149cf8453dea56b7e5a8c1758a6579c4142f01cb WHIRLPOOL dac2bb0c43e4bc195c2374aa885ae8174317eccb8e02d011902f4416b3808bf598507e1c74668f1ff04a53bd828d8695c93cc83e04342fdb92688b44236eb2a5
 EBUILD qutim-0.3.1-r1.ebuild 3588 SHA256 340fe50cf6c097675611b4d32631e6fdc596f0c52df84da02e5b4a839270ea5e SHA512 78d44f08be5bd78e916bd424ed1b3cef0fcd09c13ec1fcbb7e2136dacec1d71fd6c232bbb2a04f1b165695f2e43ee71ec3d3b1f052f6fdd5d2f5cb1510277f3f WHIRLPOOL 2d1a7cfb07b16aeed342f2dad79f13231ce174eec1a93197fddb8366739438f30bd5f9e0b8dc4a039c651de49b0906e554779b16590158db8cd0734580290fe6
-MISC ChangeLog 5039 SHA256 49df81c6bf2320ba80fba0ca818d40b8addd41b7b4e533996e3c6210606b5118 SHA512 d53cd91747c7a95648615e099817b2e19a42f8126e23b6ff53fc6f72c90ae93fad03afb55cfa77f147f88fe7b2ec26ec64384f9a05b5a5b3b24a6ad3c58d687e WHIRLPOOL f4d69078342ebbb46d166af0099d3dcb54d88987924df000c6685eae279f57ae0d28bf63ee683cf0bede66cfb7a83bbe4290e02d9c97bef2f0c9b34f7a449bbc
-MISC metadata.xml 1838 SHA256 dd864d15a95d6c78c41c259ab196a114f526fc46ce2d215824e749d2b0ebfeb7 SHA512 3ae8e8995bb9c0678f3de928472759f400e466c341b6e00bab12f14a9ed9b9faa56de5f46703c09d908d8f5871ff2845ede8d51bce4f5877c27e7252dda3f835 WHIRLPOOL 856c3c432bb61823bc5b3a8434643ae7b594aed9e55fb5cbdef7c2e08dd68d8475123ddf19c51edca2b785ca68776ac9cb59db5ccd9eaa85eb52ca4c5d7cc9e0
+EBUILD qutim-0.3.2.ebuild 5789 SHA256 bae393a6221ee546eff27954150467b1a17bbd3b0278cbcd2f3d0b8bc7e1e3ff SHA512 da7635cdda5537eef3ffd97f1475152d00e9cb985ba733611945216261458bb384daf4c3fb6ea0e102f14a129759b5f22a7d94e9f51c6c73022460b1cabbbe52 WHIRLPOOL 318ae889d2e15c29781b02b6a55e88d4b0fbb2b9c60b920a2671e34233bfa5e26f2d870d7c2652ee628ef3380e1409027d7c8af85f2f67f4f05efa10c533abf7
+MISC ChangeLog 5244 SHA256 3ca459a8140e77aefb9b740f48ef0d05a980c9d2b5f73ebdb2a975fbf95b947c SHA512 0776b07803b00e31bd7268444f58a74c89eada9038c0431a6fdaac6af76169485d861af823cd7a350719a99a2790468b51333c73f1fb4d1bd47ececf11e28983 WHIRLPOOL e6caf4cd8a00d9e631487596d82ae14138dfc969f5d83f7728f26bf1e179c818f600f6cb900b5b318db7dd1b57f1f6fb871b3af616d532ce293f2f458782f7d5
+MISC metadata.xml 2434 SHA256 8163be53590bdcb2b318e48c857443ee961b0eebe4135f5f0fa119f461035ce0 SHA512 cde8693f27225191a16c12be4766e349129571c278271fe6dcb3570278e255efde4535555f24415dcf682c2f4668b3a1b3eacdda5efef07d86182cb32641a602 WHIRLPOOL c0db1689640857ea6a6e6c64dfa1dc058dccc793d39ae77088dc4b959c57cb6d3b0c16983029be77ea1fc2a7cce228e4287f7cd6217768fda68c901d79d65b54
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2
 
-iQEcBAEBCAAGBQJUW1/aAAoJECo/aRed9267P2EIAIi5RtX+oPB0SuNwZ69rU/aG
-2qsYhRKH/SzHc7oFz82rM6uc9BLlrlMelwmCAS/bIWwZ01VNsHctmDLYUp9HTznC
-JrJoO1fZclmQ56LgI1n0Q6kQ/vIWIXaWvDrXYYQVcz21UL0xPB71JtCb2XI98TaE
-dObWdGFdDu4Cdz0uS7i0a5ftKvk46PoLDHwRmu4z1jAFf+yEksnSqIIQLz0NJbH/
-e2POVzIhhkmhA5qD+pRilFYq0IcdoYQoZo7XBvoTrNQq9PZa+tVgP/F7Pm+CCJ7s
-RO+cHbt+wxrDCRYpRjZaY/HE/PqiYATyerVL8jQCNQH0YyTaGXELk/ZOab2edt4=
-=1mtE
+iQIcBAEBCAAGBQJUZXheAAoJEJIMDbyqvv1VhtMP/Avw1FUapgzSlYTnAvyLDUV7
+sL+4B2wldEcupBi8CriXrz/w8MC55HVdsjGPWu5KsvAc+9Gdmk/yKkQhGFZBweuy
+MtvakLo4tyPRBHpPZwkStRwFdYR+UeFd/dIXhz+HFneA0AFbSbsCqaI38FZ8e6Z5
+uhnklf1xUVybR7tITbAC4gNrUEIfD1cxSuHAzlOX0txdZUI4uzRQvtq7g9efi3uV
+K2GNxrwe4lSmeE+nZUHpNt3Lcwfu3qTbGLW5MCQXWQRZs8AZmjJydm118u1FPKNw
+KXLyIGR5wX+V4xk8rdD/t7ZLpyW48YaLBLN1OLyXrcp5k5CnPOBPMIaCsJhIWSGL
+CVxcL6JHsq9PKRyobE9KdswHcna2S0bgA4uX06ROMgjLjLDDOpz1NeJkWic8itOj
+QqRJlZETrY8SDED6kJ3pKA7lbfVkfLBa1TZrJ19m72cSX1jlD4a4mIegTLVNWA8G
+6MAHnHI0VMldmHnLOQyHEqJn09YwLbHKB074GoQ3T2KEfwabam+jPGLwr5vEcLGj
+f3u8dI/9D2UlotGS6DMuNk9Ag45auUfPQV97Th9qzS8lhZ0VSS224fwXxVPcLpIn
+gxidsBoZLh9QUHT++aGRmTFaNoNIEtYEWZcdTqE5qpH5k8STb39KfKrNHbeophgN
+bogK9f7YcWS5E3FrniTO
+=DVfj
 -----END PGP SIGNATURE-----
diff --git a/net-im/qutim/files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch b/net-im/qutim/files/qutim-0.3.2-astral-migrate-qt-telepaphy.patch
new file mode 100644 (file)
index 0000000..dd1aba8
--- /dev/null
@@ -0,0 +1,151 @@
+From bb8654db870d983d5b6558d9f16b22f443315eaf Mon Sep 17 00:00:00 2001
+From: Alexander Golubev <fatzer2@gmail.com>
+Date: Mon, 3 Nov 2014 16:30:27 +0300
+Subject: [PATCH 3/3] protocol/astral: migrate to qt-telepaphy API v0.9
+
+---
+ protocols/astral/src/astralaccount.cpp | 12 ++++++------
+ protocols/astral/src/astralaccount.h   | 14 +++++++-------
+ protocols/astral/src/astralcontact.h   |  6 +++---
+ protocols/astral/src/astralplugin.cpp  |  6 +++---
+ protocols/astral/src/astralroster.cpp  | 14 +++++++-------
+ protocols/astral/src/astralsession.h   |  4 ++--
+ 6 files changed, 28 insertions(+), 28 deletions(-)
+
+diff --git a/protocols/astral/src/astralaccount.cpp b/protocols/astral/src/astralaccount.cpp
+index 1d51707..e9bf729 100644
+--- a/protocols/astral/src/astralaccount.cpp
++++ b/protocols/astral/src/astralaccount.cpp
+@@ -26,9 +26,9 @@
+ #include "astralprotocol.h"
+ #include "astralroster.h"
+ #include "astralsessionmanager.h"
+-#include <TelepathyQt4/Account>
+-#include <TelepathyQt4/AccountManager>
+-#include <TelepathyQt4/PendingChannel>
++#include <TelepathyQt/Account>
++#include <TelepathyQt/AccountManager>
++#include <TelepathyQt/PendingChannel>
+ #include <QDebug>
+ 
+ struct AstralAccountPrivate
+@@ -146,14 +146,14 @@ void AstralAccount::onNewChannels(const Tp::ChannelDetailsList &channels)
+       qDebug() << "AstralAccount::onNewChannels";
+       foreach (const Tp::ChannelDetails &details, channels)
+       {
+-              QString channelType = details.properties.value(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".ChannelType")).toString();
+-              bool requested = details.properties.value(QLatin1String(TELEPATHY_INTERFACE_CHANNEL ".Requested")).toBool();
++              QString channelType = details.properties.value(TP_QT_IFACE_CHANNEL + QLatin1String(".ChannelType")).toString();
++              bool requested = details.properties.value(TP_QT_IFACE_CHANNEL + QLatin1String(".Requested")).toBool();
+               qDebug() << " channelType:" << channelType;
+               qDebug() << " requested  :" << requested;
+               qDebug() << " channelPath:" << details.channel.path();
+               qDebug() << " properties :" << details.properties;
+ 
+-              if (channelType == TELEPATHY_INTERFACE_CHANNEL_TYPE_TEXT && !requested)
++              if (channelType == TP_QT_IFACE_CHANNEL_TYPE_TEXT && !requested)
+               {
+                       TextChannelPtr channel = TextChannel::create(p->conn,
+                                                                                                                details.channel.path(),
+diff --git a/protocols/astral/src/astralaccount.h b/protocols/astral/src/astralaccount.h
+index 2781fb9..6e4378d 100644
+--- a/protocols/astral/src/astralaccount.h
++++ b/protocols/astral/src/astralaccount.h
+@@ -26,13 +26,13 @@
+ #define ASTRALACCOUNT_H
+ 
+ #include <qutim/account.h>
+-#include <TelepathyQt4/ConnectionManager>
+-#include <TelepathyQt4/Connection>
+-#include <TelepathyQt4/TextChannel>
+-#include <TelepathyQt4/AccountManager>
+-#include <TelepathyQt4/PendingConnection>
+-#include <TelepathyQt4/PendingOperation>
+-#include <TelepathyQt4/PendingReady>
++#include <TelepathyQt/ConnectionManager>
++#include <TelepathyQt/Connection>
++#include <TelepathyQt/TextChannel>
++#include <TelepathyQt/AccountManager>
++#include <TelepathyQt/PendingConnection>
++#include <TelepathyQt/PendingOperation>
++#include <TelepathyQt/PendingReady>
+ 
+ #include "astralroster.h"
+ 
+diff --git a/protocols/astral/src/astralcontact.h b/protocols/astral/src/astralcontact.h
+index ce0e9dd..5adfb07 100644
+--- a/protocols/astral/src/astralcontact.h
++++ b/protocols/astral/src/astralcontact.h
+@@ -26,9 +26,9 @@
+ #define ASTRALCONTACT_H
+ 
+ #include <qutim/contact.h>
+-#include <TelepathyQt4/Types>
+-#include <TelepathyQt4/Contact>
+-#include <TelepathyQt4/Connection>
++#include <TelepathyQt/Types>
++#include <TelepathyQt/Contact>
++#include <TelepathyQt/Connection>
+ 
+ using namespace Tp;
+ using namespace qutim_sdk_0_3;
+diff --git a/protocols/astral/src/astralplugin.cpp b/protocols/astral/src/astralplugin.cpp
+index e907866..d79642e 100644
+--- a/protocols/astral/src/astralplugin.cpp
++++ b/protocols/astral/src/astralplugin.cpp
+@@ -24,9 +24,9 @@
+ ****************************************************************************/
+ #include "astralplugin.h"
+ #include <QtCore/QtDebug>
+-#include <TelepathyQt4/Debug>
+-#include <TelepathyQt4/Constants>
+-#include <TelepathyQt4/Types>
++#include <TelepathyQt/Debug>
++#include <TelepathyQt/Constants>
++#include <TelepathyQt/Types>
+ //#include <TelepathyQt4/ConnectionInterfaceAvatarsInterface>
+ 
+ AstralPlugin::AstralPlugin()
+diff --git a/protocols/astral/src/astralroster.cpp b/protocols/astral/src/astralroster.cpp
+index 9eb209f..588cc55 100644
+--- a/protocols/astral/src/astralroster.cpp
++++ b/protocols/astral/src/astralroster.cpp
+@@ -24,13 +24,13 @@
+ ****************************************************************************/
+ #include "astralroster.h"
+ #include "astralaccount.h"
+-#include <TelepathyQt4/Types>
+-#include <TelepathyQt4/Contact>
+-#include <TelepathyQt4/ContactManager>
+-#include <TelepathyQt4/PendingConnection>
+-#include <TelepathyQt4/PendingContacts>
+-#include <TelepathyQt4/PendingOperation>
+-#include <TelepathyQt4/PendingReady>
++#include <TelepathyQt/Types>
++#include <TelepathyQt/Contact>
++#include <TelepathyQt/ContactManager>
++#include <TelepathyQt/PendingConnection>
++#include <TelepathyQt/PendingContacts>
++#include <TelepathyQt/PendingOperation>
++#include <TelepathyQt/PendingReady>
+ 
+ struct AstralRosterPrivate
+ {
+diff --git a/protocols/astral/src/astralsession.h b/protocols/astral/src/astralsession.h
+index fa78e45..a5dd1c3 100644
+--- a/protocols/astral/src/astralsession.h
++++ b/protocols/astral/src/astralsession.h
+@@ -26,8 +26,8 @@
+ #define ASTRALSESSION_H
+ 
+ #include <qutim/chatunit.h>
+-#include <TelepathyQt4/TextChannel>
+-#include <TelepathyQt4/Message>
++#include <TelepathyQt/TextChannel>
++#include <TelepathyQt/Message>
+ 
+ using namespace qutim_sdk_0_3;
+ using namespace Tp;
+-- 
+2.0.4
+
index 68fc775ae7babd0072b04530c12ab449995a484d..b76ad74349b69a41fa8b881cd0ce0c0905c44b79 100644 (file)
        <flag name="vkontakte">Enable vkontakte protocol support</flag>
        <flag name="webkit">Enable Adium-like WebView plugin</flag>
        <flag name="xscreensaver">Use X screensaver protocol extension to monitor idle/active status based on mouse/keyboard events</flag>
+       <flag name="tools">Enable some extra tools for qt developers</flag>
+       <flag name="telepathy">Enable to connect various IMs through <pkg>net-im/telepathy-*</pkg></flag>
+       <flag name="antiboss">Enable support for the antiboss plugin</flag>
+       <flag name="espionage">!!Not recomended, contains privacy risk!! Enable control plugin that controls user by sending messages and roster to remote server</flag>
+       <flag name="mobility">Enable several mobility related plugins like vibro notification</flag>
+       <flag name="plugman">Enable downloadable content management with <pkg>dev-libs/libattica</pkg></flag>
 </use>
 </pkgmetadata>
diff --git a/net-im/qutim/qutim-0.3.2.ebuild b/net-im/qutim/qutim-0.3.2.ebuild
new file mode 100644 (file)
index 0000000..dd85a5e
--- /dev/null
@@ -0,0 +1,189 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/qutim/qutim-0.3.2.ebuild,v 1.1 2014/11/14 03:34:46 dlan Exp $
+
+EAPI=5
+
+LANGS="ar be bg cs de en_GB es fr he nds ru sk uk uz zh_CN"
+
+inherit qt4-r2 cmake-utils
+
+DESCRIPTION="Qt4-based multi-protocol instant messenger"
+HOMEPAGE="http://www.qutim.org"
+SRC_URI="http://www.qutim.org/dwnl/68/${P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# general USE
+IUSE="doc +sound tools"
+# protocol uses
+IUSE="$IUSE telepathy irc jabber jingle mrim oscar purple vkontakte"
+# plugins
+IUSE="$IUSE antiboss aspell ayatana awn crypt dbus debug -espionage histman hunspell
+       kde mobility otr plugman phonon purple qml sdl +ssl +xscreensaver webkit"
+
+REQUIRED_USE="
+       oscar? ( ssl )
+       jingle? ( jabber )
+       qml? ( webkit )
+"
+
+# Minimum Qt version required
+QT_PV="4.7.0:4"
+
+CDEPEND="
+       x11-libs/libqxt
+       >=dev-qt/qtcore-${QT_PV}[ssl?]
+       >=dev-qt/qtgui-${QT_PV}
+       >=dev-qt/qtscript-${QT_PV}
+
+       telepathy? ( >=net-libs/telepathy-qt-0.3 )
+       jabber? (
+               app-crypt/qca:2
+               >=net-libs/jreen-1.2.0
+       )
+       jingle? ( dev-qt/qt-mobility[multimedia] )
+       oscar? ( app-crypt/qca:2 )
+       purple? ( net-im/pidgin )
+       vkontakte? ( >=dev-qt/qtwebkit-${QT_PV} )
+
+       aspell? ( app-text/aspell )
+       awn? ( >=dev-qt/qtdbus-${QT_PV} )
+       crypt? ( app-crypt/qca:2 )
+       dbus? ( >=dev-qt/qtdbus-${QT_PV} )
+       debug? ( >=dev-qt/qtdeclarative-${QT_PV} )
+       espionage? ( app-crypt/qca:2 )
+       histman? ( >=dev-qt/qtsql-${QT_PV} )
+       ayatana? ( >=dev-libs/libindicate-qt-0.2.2 )
+       hunspell? ( app-text/hunspell )
+       kde? ( kde-base/kdelibs:4 )
+       mobility? (
+               dev-qt/qt-mobility[multimedia,feedback]
+               >=dev-qt/qtbearer-${QT_PV}
+       )
+       otr? (
+               >=net-libs/libotr-3.2.0
+               <net-libs/libotr-4.0.0
+       )
+       phonon? (
+               kde? ( media-libs/phonon )
+               !kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon ) )
+       )
+       plugman? (
+               dev-libs/libattica[qt4]
+               app-arch/libarchive
+               >=dev-qt/qtdeclarative-${QT_PV}
+       )
+       qml? (
+               >=dev-qt/qtdeclarative-${QT_PV}
+               >=dev-qt/qtopengl-${QT_PV}
+       )
+       sdl? ( media-libs/sdl-mixer )
+       xscreensaver? ( x11-libs/libXScrnSaver )
+       webkit? ( >=dev-qt/qtwebkit-${QT_PV} )
+"
+DEPEND="${CDEPEND}
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )
+       kde? ( dev-util/automoc )
+"
+RDEPEND="${CDEPEND}
+       jabber? ( app-crypt/qca-gnupg:2 )
+       oscar? ( app-crypt/qca-ossl:2 )
+       kde-base/oxygen-icons
+"
+
+DOCS=( AUTHORS INSTALL ChangeLog )
+PATCHES=(
+       "${FILESDIR}/${PN}-0.3.1-cmake-2.8.12-kde-build.patch"
+       "${FILESDIR}/${P}-astral-migrate-qt-telepaphy.patch"
+)
+
+src_prepare() {
+       # fix automagic dep on libXScrnSaver
+       if ! use xscreensaver; then
+               sed -i -e '/XSS xscrnsaver/d' \
+                       core/src/corelayers/idledetector/CMakeLists.txt || die
+       fi
+
+       # fix automagic dep on qt-mobility for jingle
+       if ! use jingle; then
+               sed -i -e '/find_package(QtMobility)/d' \
+                       protocols/jabber/CMakeLists.txt || die
+       fi
+
+       # remove unwanted translations
+       local lang
+       for lang in ${LANGS}; do
+               use linguas_${lang} || rm -f translations/modules/*/${lang}.{po,ts}
+       done
+
+       cmake-utils_src_prepare
+}
+
+src_configure() {
+       local mycmakeargs=(
+               -DSYSTEM_JREEN=ON
+               $(cmake-utils_use_with doc DOXYGEN)
+               $(cmake-utils_use doc     QUTIM_GENERATE_DOCS)
+               $(cmake-utils_use sound   QUTIM_INSTALL_SOUND_THEME  )
+               $(cmake-utils_use tools   QUTIM_DEVELOPER_BUILD      )
+
+               # protocols
+               $(cmake-utils_use telepathy ASTRAL )
+               $(cmake-utils_use irc              )
+               $(cmake-utils_use jabber           )
+               $(cmake-utils_use mrim             )
+               $(cmake-utils_use oscar            )
+               $(cmake-utils_use purple QUETZAL   )
+               $(cmake-utils_use vkontakte        )
+
+               # plugins
+               $(cmake-utils_use  webkit      ADIUMWEBVIEW      )
+               $(cmake-utils_use  crypt       AESCRYPTO         )
+               $(cmake-utils_use  antiboss    ANTIBOSS          )
+               $(cmake-utils_use  aspell      ASPELLER          )
+               $(cmake-utils_use  awn         AWN               )
+               $(cmake-utils_use  espionage   CONTROL           ) # Also requires -DENABLE_ESPIONAGE=ON (see bellow)
+               $(cmake-utils_use  dbus        DBUSAPI           )
+               $(cmake-utils_use  dbus        DBUSNOTIFICATIONS )
+               $(cmake-utils_use  histman     HISTMAN           )
+               $(cmake-utils_use  hunspell    HUNSPELLER        )
+               $(cmake-utils_use  ayatana     INDICATOR         )
+               $(cmake-utils_use  kde         KDEINTEGRATION    )
+               $(cmake-utils_use  qml         KINETICPOPUPS     )
+               $(cmake-utils_use  phonon      PHONONSOUND       )
+               $(cmake-utils_use  plugman     PLUGMAN           )
+               $(cmake-utils_use  debug       LOGGER            )
+               $(cmake-utils_use  mobility    MOBILITY          )
+               $(cmake-utils_use  dbus        NOWPLAYING        )
+               $(cmake-utils_use  otr         OFFTHERECORD      )
+               $(cmake-utils_use  qml         QMLCHAT           )
+               $(cmake-utils_use  sdl         SDLSOUND          )
+               $(cmake-utils_use_enable espionage               )
+               -DLINUXINTEGRATION=ON
+               -DDOCKTILE=OFF  # QtDockTile currenly supports only unity;
+                                               # consider to make it optional if it also support kde or whatever
+               -DUPDATER=OFF
+       )
+       # NOTE: Integration plugins are autodisabled:
+       # symbianintegration macintegration maemo5integration haikunotifications meegointegration winintegration
+
+       cmake-utils_src_configure
+}
+
+pkg_postinst () {
+       elog "Next qutim plugins are enabled by default:"
+       elog "  antispam autopaster autoreply birthdayreminder blogimprover clconf"
+       elog "  emoedit floaties formula highlighter imagepub massmessaging"
+       elog "  oldcontactdelegate qrcicons screenshoter scriptapi unreadmessageskeeper urlpreview"
+       elog "  weather webhistory yandexnarod"
+       elog "If you have strong reasons to make their build optional feel free to fill bugrepot."
+
+       if use espionage; then
+               ewarn "You have enabled the control (espionage) plugin. It may "
+               ewarn "deal negative security impact on the privacy of your client."
+       fi
+}