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 AA6C713933E for ; Wed, 21 Jul 2021 23:06:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BFE0EE0931; Wed, 21 Jul 2021 23:06:40 +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 A83D5E0931 for ; Wed, 21 Jul 2021 23:06:40 +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 AB4CB342B48 for ; Wed, 21 Jul 2021 23:06:38 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E69927D5 for ; Wed, 21 Jul 2021 23:06:36 +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: <1626908781.c2582f8b0bf99a83da52965776abf73e502427f9.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.7.ebuild X-VCS-Directories: x11-plugins/pidgin-telegram/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: c2582f8b0bf99a83da52965776abf73e502427f9 X-VCS-Branch: master Date: Wed, 21 Jul 2021 23:06:36 +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: dfcb60d4-e60e-4575-b63a-9d1b94f50968 X-Archives-Hash: 189eecb4658ea58faa2689507c4dddc9 commit: c2582f8b0bf99a83da52965776abf73e502427f9 Author: Conrad Kostecki gentoo org> AuthorDate: Wed Jul 21 23:06:21 2021 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Wed Jul 21 23:06:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2582f8b x11-plugins/pidgin-telegram: bump to version 1.4.7 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Conrad Kostecki gentoo.org> x11-plugins/pidgin-telegram/Manifest | 1 + .../pidgin-telegram/pidgin-telegram-1.4.7.ebuild | 50 ++++++++++++++++++++++ 2 files changed, 51 insertions(+) diff --git a/x11-plugins/pidgin-telegram/Manifest b/x11-plugins/pidgin-telegram/Manifest index 7f44531286f..8ef79638a3a 100644 --- a/x11-plugins/pidgin-telegram/Manifest +++ b/x11-plugins/pidgin-telegram/Manifest @@ -1 +1,2 @@ DIST telegram-purple_1.4.6.orig.tar.gz 497757 BLAKE2B 1f666aaf4ef1913420cf735e3d85e1d91be8a2f07932785d55bc0be37e2cd8cabaf6b0be2b520afafc6636a692086be180d3bd4438215f8b14ae867da9891e18 SHA512 bf3e14a2d1dec7382833011ea891ba5bce81820766b3d6adee582bf0257baadeb7aa7eab7aa6e20adf8dd7728eb653db35b1d8f56bfffe7a92f9bf7506401e6e +DIST telegram-purple_1.4.7.orig.tar.gz 498573 BLAKE2B 37f741f1e2106db55eaadab70e2bf226609ebd85fa3df28a60b686e207c341f7279ea36ef87137d465b5bedac63e6ec0388714171dd5a594fb28ae02f66bebc4 SHA512 ae3032b33bd2a20b58b2d66c83fbc405f43c38c0e93b00394ad3165b0bc5d5aba02a8e1946872e4bd082894679737fa20f3e1991e9bb16c3c3aba4c7abbbf7d8 diff --git a/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.7.ebuild b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.7.ebuild new file mode 100644 index 00000000000..5cb4ffba69c --- /dev/null +++ b/x11-plugins/pidgin-telegram/pidgin-telegram-1.4.7.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2021 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" +S="${WORKDIR}/telegram-purple" + +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="gcrypt +nls +png +webp" + +RDEPEND=" + net-im/pidgin + sys-libs/zlib:= + gcrypt? ( dev-libs/libgcrypt:0= ) + !gcrypt? ( dev-libs/openssl:0= ) + png? ( media-libs/libpng:0= ) + webp? ( media-libs/libwebp:= ) +" + +DEPEND="${RDEPEND}" + +BDEPEND=" + nls? ( sys-devel/gettext ) + virtual/pkgconfig +" + +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 png libpng) + $(use_enable webp libwebp) + ) + + econf "${myeconfargs[@]}" +}