From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1183570-garchives=archives.gentoo.org@lists.gentoo.org>
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 BAF381382C5
	for <garchives@archives.gentoo.org>; Mon, 29 Jun 2020 23:40:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id B77E0E0960;
	Mon, 29 Jun 2020 23:40:30 +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-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id A2281E0960
	for <gentoo-commits@lists.gentoo.org>; Mon, 29 Jun 2020 23:40:30 +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 1F1FE34F34B
	for <gentoo-commits@lists.gentoo.org>; Mon, 29 Jun 2020 23:40:05 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id CE5F5292
	for <gentoo-commits@lists.gentoo.org>; Mon, 29 Jun 2020 23:39:59 +0000 (UTC)
From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Georgy Yakovlev" <gyakovlev@gentoo.org>
Message-ID: <1593473977.31db2fdad4759ac77b5d707f8b676b73a05c1d9d.gyakovlev@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libtgvoip/
X-VCS-Repository: repo/gentoo
X-VCS-Files: media-libs/libtgvoip/Manifest media-libs/libtgvoip/libtgvoip-2.4.4_p20200627.ebuild
X-VCS-Directories: media-libs/libtgvoip/
X-VCS-Committer: gyakovlev
X-VCS-Committer-Name: Georgy Yakovlev
X-VCS-Revision: 31db2fdad4759ac77b5d707f8b676b73a05c1d9d
X-VCS-Branch: master
Date: Mon, 29 Jun 2020 23:39:59 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 6494f7d9-e0e8-4e75-a119-b240ef7f3a8b
X-Archives-Hash: 85950b074b130a6da3332720d64c0119

commit:     31db2fdad4759ac77b5d707f8b676b73a05c1d9d
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 29 21:32:31 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jun 29 23:39:37 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31db2fda

media-libs/libtgvoip: bump to 2.4.4_p20200627

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/libtgvoip/Manifest                      |  1 +
 .../libtgvoip/libtgvoip-2.4.4_p20200627.ebuild     | 53 ++++++++++++++++++++++
 2 files changed, 54 insertions(+)

diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest
index 3706d81c31e..570522f059a 100644
--- a/media-libs/libtgvoip/Manifest
+++ b/media-libs/libtgvoip/Manifest
@@ -1,2 +1,3 @@
 DIST libtgvoip-2.4.4_p20200430.tar.gz 1481816 BLAKE2B 82bf6b880f28c9b63f547e473547298e25ea3b7e35b3a832a7375b0ae3a745ea3b5d55f5e635ec678e388a608532a14de85f50828da1dbc9ed77dc23be64b9e0 SHA512 f3130c50dfa7d3f710809bb72fb71d1b246bc91e9f8f413e704499011c8ff01f87a7226315f7cfd6edf2d2b8b6c875508185f516792ff5db74556aface33cdb4
 DIST libtgvoip-2.4.4_p20200525.tar.gz 1482357 BLAKE2B 9324165a2818f3d6907fb80403c8df83e196e7566161d781f5608c2bc4fc0f34a4b69883202ac1a9d20d783d363534c11436cedcd24fa93c092eaca97369734e SHA512 5c9fbbccde8fb7dbe8076cda53a3ec80f633493c9b3016627307463dca3426623703cd28ea7ad360bd9ff7c062edecd04787b9f8a32c439cc6622d8680d624c0
+DIST libtgvoip-2.4.4_p20200627.tar.gz 1090601 BLAKE2B 243ee9c85224f903579581c217c7cec818311bd77af0fedb937c1bdb64bf92441c5c0d72515e1fee31b4a89faf59d0a3e3447cdb458303116cfde887e333faa2 SHA512 73a861ea2dba9afcae061e5d8ac0e03d1c65dc7b5e65bcacb3a95d74e816fe96604f24e042e7cf0d67723281c39f85f4337eb2fde275d68e50b0104f29f42271

diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200627.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200627.ebuild
new file mode 100644
index 00000000000..2feb78fb5bb
--- /dev/null
+++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200627.ebuild
@@ -0,0 +1,53 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+EGIT_COMMIT="d40d077ddab10a81fe619477cea8380cfa7efcea"
+
+DESCRIPTION="VoIP library for Telegram clients"
+HOMEPAGE="https://github.com/telegramdesktop/libtgvoip"
+SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="+alsa +dsp libressl pulseaudio"
+
+DEPEND="
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )
+	media-libs/opus:=
+	alsa? ( media-libs/alsa-lib )
+	pulseaudio? ( media-sound/pulseaudio )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+REQUIRED_USE="|| ( alsa pulseaudio )"
+
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+src_prepare() {
+	default
+	sed -i 's/-std=gnu++0x/-std=gnu++17/' Makefile.am || die
+	eautoreconf
+}
+
+src_configure() {
+	local myconf=(
+		--disable-static
+		$(use_enable dsp)
+		$(use_with alsa)
+		$(use_with pulseaudio pulse)
+	)
+
+	econf "${myconf[@]}"
+}
+
+src_install() {
+	default
+	find "${D}" -name '*.la' -delete || die
+}