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 1ED93138334 for ; Thu, 8 Nov 2018 22:49:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 84FA0E0B13; Thu, 8 Nov 2018 22:49:44 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 423FEE0B13 for ; Thu, 8 Nov 2018 22:49:44 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 01C86335CE9 for ; Thu, 8 Nov 2018 22:49:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9091F46F for ; Thu, 8 Nov 2018 22:49:38 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1541716891.13813ec13f56dc45d52c74298ccb09537bb1bde5.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-plugins/pidgin-telegram/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-plugins/pidgin-telegram/metadata.xml x11-plugins/pidgin-telegram/pidgin-telegram-1.3.1-r1.ebuild X-VCS-Directories: x11-plugins/pidgin-telegram/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 13813ec13f56dc45d52c74298ccb09537bb1bde5 X-VCS-Branch: master Date: Thu, 8 Nov 2018 22:49:38 +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: dd4ea5f5-83cb-408c-95e4-2b12cb2f580b X-Archives-Hash: a15fa5ab4979a02c6d25085cf8bb1c68 commit: 13813ec13f56dc45d52c74298ccb09537bb1bde5 Author: Conrad Kostecki kostecki com> AuthorDate: Sat Oct 27 10:48:04 2018 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Nov 8 22:41:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13813ec1 x11-plugins/pidgin-telegram: bump to EAPI=7. Also updated metadata.xml. Closes: https://bugs.gentoo.org/669764 Signed-off-by: Conrad Kostecki kostecki.com> Package-Manager: Portage-2.3.51, Repoman-2.3.11 Closes: https://github.com/gentoo/gentoo/pull/10252 Signed-off-by: Patrice Clement gentoo.org> x11-plugins/pidgin-telegram/metadata.xml | 4 ++ .../pidgin-telegram-1.3.1-r1.ebuild | 51 ++++++++++++++++++++++ 2 files changed, 55 insertions(+) diff --git a/x11-plugins/pidgin-telegram/metadata.xml b/x11-plugins/pidgin-telegram/metadata.xml index c8fb36cb1a7..e23b905712c 100644 --- a/x11-plugins/pidgin-telegram/metadata.xml +++ b/x11-plugins/pidgin-telegram/metadata.xml @@ -14,6 +14,10 @@ which can be used directly in net-im/pidgin. Telegram is a cloud-based instant messaging and voice over IP service. + + https://github.com/majn/telegram-purple/issues + majn/telegram-purple + Use dev-libs/libgcrypt instead of dev-libs/openssl. diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.3.1-r1.ebuild b/x11-plugins/pidgin-telegram/pidgin-telegram-1.3.1-r1.ebuild new file mode 100644 index 00000000000..9624bde7b85 --- /dev/null +++ b/x11-plugins/pidgin-telegram/pidgin-telegram-1.3.1-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +DESCRIPTION="A libpurple protocol plugin that adds support for the Telegram messenger" +HOMEPAGE="https://github.com/majn/telegram-purple" +SRC_URI="https://github.com/majn/telegram-purple/releases/download/v${PV}/telegram-purple_${PV}.orig.tar.gz" + +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="gcrypt libressl +nls +webp" + +RDEPEND=" + net-im/pidgin + sys-libs/zlib:= + gcrypt? ( dev-libs/libgcrypt:0= ) + !gcrypt? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) + nls? ( sys-devel/gettext ) + webp? ( media-libs/libwebp:= ) +" + +DEPEND=" + ${RDEPEND} + virtual/pkgconfig +" + +S="${WORKDIR}/telegram-purple" + +DOCS=( "AUTHORS" "CHANGELOG.md" "HACKING.md" "HACKING.BUILD.md" "README.md" ) + +src_prepare() { + default + + # Remove '-Werror' to make it compile + find -name 'Makefile*' -exec sed -i -e 's/-Werror //' {} + || die +} + +src_configure() { + local myeconfargs=( + $(use_enable gcrypt) + $(use_enable nls translation) + $(use_enable webp libwebp) + ) + + econf "${myeconfargs[@]}" +}