From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 405F7139695 for ; Sun, 11 Jun 2017 11:47:48 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 764D321C08A; Sun, 11 Jun 2017 11:47:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 465CE21C08A for ; Sun, 11 Jun 2017 11:47:46 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D17023419C2 for ; Sun, 11 Jun 2017 11:47:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 24380747B for ; Sun, 11 Jun 2017 11:47:43 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1497181636.587d678c91611b441030de7f0ee19657bc15356e.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-im/kadu/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-im/kadu/kadu-4.3-r1.ebuild X-VCS-Directories: net-im/kadu/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 587d678c91611b441030de7f0ee19657bc15356e X-VCS-Branch: master Date: Sun, 11 Jun 2017 11:47:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c9e796e8-0cb5-47fa-afd2-9e8466ec4aca X-Archives-Hash: 90a60727fd354112a0bb440283a14e9f commit: 587d678c91611b441030de7f0ee19657bc15356e Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun May 28 19:47:50 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Jun 11 11:47:16 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=587d678c net-im/kadu: Fix DEPEND on net-libs/qxmpp, cleanup old Qt5 version dep Package-Manager: Portage-2.3.5, Repoman-2.3.1 net-im/kadu/kadu-4.3-r1.ebuild | 130 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 130 insertions(+) diff --git a/net-im/kadu/kadu-4.3-r1.ebuild b/net-im/kadu/kadu-4.3-r1.ebuild new file mode 100644 index 00000000000..b3e45cf121e --- /dev/null +++ b/net-im/kadu/kadu-4.3-r1.ebuild @@ -0,0 +1,130 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +inherit cmake-utils flag-o-matic + +MY_P="${P/_/-}" + +DESCRIPTION="An open source Gadu-Gadu and Jabber/XMPP protocol Instant Messenger client" +HOMEPAGE="http://www.kadu.net" +SRC_URI="http://download.kadu.im/stable/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="+gadu mpd otr sdk speech spell xmpp" +REQUIRED_USE=" + || ( + gadu + xmpp + ) +" +COMMON_DEPEND=" + >=app-arch/libarchive-2.6[lzma] + >=dev-libs/injeqt-1.1.0 + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtmultimedia:5 + dev-qt/qtnetwork:5 + dev-qt/qtscript:5 + dev-qt/qtsql:5 + dev-qt/qtsvg:5 + dev-qt/qttest:5 + dev-qt/qtwebkit:5 + dev-qt/qtwidgets:5 + dev-qt/qtx11extras:5 + dev-qt/qtxml:5 + dev-qt/qtxmlpatterns:5 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXScrnSaver + gadu? ( >=net-libs/libgadu-1.11.1[threads] ) + mpd? ( media-libs/libmpdclient ) + otr? ( + >=dev-libs/libgcrypt-1.2.2:0 + >=net-libs/libotr-4.1.0 + ) + spell? ( app-text/enchant ) + xmpp? ( + net-dns/libidn + >=net-libs/qxmpp-0.9.3-r1 + sys-libs/zlib + ) +" +DEPEND="${COMMON_DEPEND} + dev-qt/linguist-tools:5 + x11-proto/scrnsaverproto + x11-proto/xextproto + x11-proto/xproto +" +RDEPEND="${COMMON_DEPEND} + speech? ( app-accessibility/powiedz ) +" + +PLUGINS=' +antistring +auto_hide +autoaway +autoresponder +autostatus +cenzor +chat_notify +config_wizard +docking +docking_notify +emoticons +exec_notify +ext_sound +filedesc +firewall +freedesktop_notify +hints +history +idle +imagelink +last_seen +mediaplayer +mprisplayer_mediaplayer +pcspeaker +screenshot +simpleview +single_window +sms +sound +sql_history +tabs +word_fix +' + +src_configure() { + # Filter out dangerous flags + filter-flags -fno-rtti + strip-unsupported-flags + + # Ensure -DQT_NO_DEBUG is added + append-cppflags -DQT_NO_DEBUG + + # Plugin selection + use gadu && PLUGINS+=' gadu_protocol' + use mpd && PLUGINS+=' mpd_mediaplayer' + use otr && PLUGINS+=' encryption_otr' + use speech && PLUGINS+=' speech' + use spell && PLUGINS+=' spellchecker' + use xmpp && PLUGINS+=' jabber_protocol' + + # Configure package + local mycmakeargs=( + -DCOMPILE_PLUGINS="${PLUGINS}" + -DENABLE_TESTS=OFF + -DNETWORK_IMPLEMENTATION="Qt" + -DINSTALL_SDK=$(usex sdk) + -DWITH_ENCHANT=$(usex spell) + ) + unset PLUGINS + + cmake-utils_src_configure +}