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 A13801382C5 for ; Mon, 30 Nov 2020 00:28:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BA0C3E0822; Mon, 30 Nov 2020 00:28:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 9D223E0822 for ; Mon, 30 Nov 2020 00:28:58 +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 38780340D92 for ; Mon, 30 Nov 2020 00:28:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B1988448 for ; Mon, 30 Nov 2020 00:28:55 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1606696072.5e64617ba6261e97adddc3348c18a30ae7675164.conikost@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/Manifest x11-plugins/pidgin-telegram/pidgin-telegram-1.4.4.ebuild X-VCS-Directories: x11-plugins/pidgin-telegram/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 5e64617ba6261e97adddc3348c18a30ae7675164 X-VCS-Branch: master Date: Mon, 30 Nov 2020 00:28:55 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2e7301ee-1dea-4213-9502-36eb9596451e X-Archives-Hash: 84a4e19e8630c9d17a17ff12ed933fb7 commit: 5e64617ba6261e97adddc3348c18a30ae7675164 Author: Conrad Kostecki gentoo org> AuthorDate: Mon Nov 30 00:27:52 2020 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Mon Nov 30 00:27:52 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e64617b x11-plugins/pidgin-telegram: bump to version 1.4.4 Closes: https://bugs.gentoo.org/757690 Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Conrad Kostecki gentoo.org> x11-plugins/pidgin-telegram/Manifest | 1 + .../pidgin-telegram/pidgin-telegram-1.4.4.ebuild | 56 ++++++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/x11-plugins/pidgin-telegram/Manifest b/x11-plugins/pidgin-telegram/Manifest index b7e7757ecfc..1f2e5e31fdd 100644 --- a/x11-plugins/pidgin-telegram/Manifest +++ b/x11-plugins/pidgin-telegram/Manifest @@ -1 +1,2 @@ DIST telegram-purple_1.4.3.orig.tar.gz 491997 BLAKE2B 30d42b34525c6553498c67f8a28cfe789442555a3a135a116195edc982611b8ccae6d7c53006358ebdca679258ae6a40b29a1d2ebb764e082bc2ee77d39584db SHA512 697d070da5c6671dd54a1709b37153d4b569ae1cd19d574a2d92a777a89ebd7884596b35829564a7f6fd49104f5d26e35cbe9634f64c678b5f061af8197fba16 +DIST telegram-purple_1.4.4.orig.tar.gz 495386 BLAKE2B 7ecac3a334f88f3d9c0367c5910d3de03b1e6749f18628a58f90c0ae3602dd04d0a1bec79b1016af236375bfe3eb7d4c40437c31fbbee0e9648e5425e40bb43d SHA512 9907da48b978294749f0697313cc7dbf26358535d6528190d8b61cdce5e478af8e756528a212af806025eb75b7f7ec90054ee763eea327f101ef469d0f4fd43e diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.4.ebuild b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.4.ebuild new file mode 100644 index 00000000000..653d01bdc92 --- /dev/null +++ b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.4.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2020 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 +png +webp" + +RDEPEND=" + net-im/pidgin + sys-libs/zlib:= + gcrypt? ( dev-libs/libgcrypt:0= ) + !gcrypt? ( + libressl? ( dev-libs/libressl:0= ) + !libressl? ( dev-libs/openssl:0= ) + ) + png? ( media-libs/libpng:0= ) + webp? ( media-libs/libwebp:= ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + nls? ( sys-devel/gettext ) + virtual/pkgconfig +" + +S="${WORKDIR}/telegram-purple" + +DOCS=( "AUTHORS" "CHANGELOG.md" "HACKING.md" "HACKING.BUILD.md" "README.md" ) + +PATCHES=( "${FILESDIR}/${PN}-1.4.3-clang.patch" ) + +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 png libpng) + $(use_enable webp libwebp) + ) + + econf "${myeconfargs[@]}" +}