# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ 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 xmpp jingle mrim oscar purple vkontakte" # plugins IUSE="$IUSE antiboss aspell ayatana awn crypt dbus debug -espionage histman hunspell kde mobility plugman phonon purple qml sdl +ssl +xscreensaver webkit" # NOTE: otr support was removed due to remove of net-libs/libotr-3.x REQUIRED_USE=" oscar? ( ssl ) jingle? ( xmpp ) 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} >=dev-qt/qtdeclarative-${QT_PV} telepathy? ( >=net-libs/telepathy-qt-0.3 ) xmpp? ( app-crypt/qca:2[qt4(+)] >=net-libs/jreen-1.2.0[qt4] ) jingle? ( dev-qt/qt-mobility[multimedia] ) oscar? ( app-crypt/qca:2[qt4(+)] ) 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[qt4(+)] ) dbus? ( >=dev-qt/qtdbus-${QT_PV} ) espionage? ( app-crypt/qca:2[qt4(+)] ) histman? ( >=dev-qt/qtsql-${QT_PV} ) ayatana? ( >=dev-libs/libindicate-qt-0.2.2 ) hunspell? ( app-text/hunspell ) kde? ( kde-frameworks/kdelibs:4 ) mobility? ( dev-qt/qt-mobility[multimedia,feedback] >=dev-qt/qtbearer-${QT_PV} ) phonon? ( kde? ( media-libs/phonon[qt4] ) !kde? ( || ( >=dev-qt/qtphonon-${QT_PV} media-libs/phonon[qt4] ) ) ) plugman? ( dev-libs/libattica app-arch/libarchive ) qml? ( >=dev-qt/qtopengl-${QT_PV} ) sdl? ( media-libs/sdl-mixer ) xscreensaver? ( x11-libs/libXScrnSaver ) webkit? ( >=dev-qt/qtwebkit-${QT_PV} ) " # otr? ( # >=net-libs/libotr-3.2.0 #