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 7ECD61382C5 for ; Thu, 25 Mar 2021 19:31:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 503D9E07D7; Thu, 25 Mar 2021 19:31:36 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 29DF7E07D7 for ; Thu, 25 Mar 2021 19:31:36 +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 D382F340CE7 for ; Thu, 25 Mar 2021 19:31:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EE5F9630 for ; Thu, 25 Mar 2021 19:31:32 +0000 (UTC) From: "Georgy Yakovlev" 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" Message-ID: <1616700521.ffdf3771fbb0c2bded87d6ce1d8912003a41ae62.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_p20210302.ebuild media-libs/libtgvoip/metadata.xml X-VCS-Directories: media-libs/libtgvoip/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: ffdf3771fbb0c2bded87d6ce1d8912003a41ae62 X-VCS-Branch: master Date: Thu, 25 Mar 2021 19:31:32 +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: a7987285-9bf3-4f0f-81c3-54af0f9afc59 X-Archives-Hash: 79a3c02fa43e0be23dacded413a31f1c commit: ffdf3771fbb0c2bded87d6ce1d8912003a41ae62 Author: Esteve Varela Colominas gmail com> AuthorDate: Thu Mar 25 17:33:31 2021 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Mar 25 19:28:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ffdf3771 media-libs/libtgvoip: Take maintainership, bump to 2.4.4_p20210302 Signed-off-by: Esteve Varela Colominas gmail.com> Signed-off-by: Georgy Yakovlev gentoo.org> media-libs/libtgvoip/Manifest | 1 + .../libtgvoip/libtgvoip-2.4.4_p20210302.ebuild | 63 ++++++++++++++++++++++ media-libs/libtgvoip/metadata.xml | 9 +++- 3 files changed, 72 insertions(+), 1 deletion(-) diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest index b8a1bb274bd..b5415adbd6c 100644 --- a/media-libs/libtgvoip/Manifest +++ b/media-libs/libtgvoip/Manifest @@ -1 +1,2 @@ DIST libtgvoip-2.4.4_p20201030.tar.gz 1091098 BLAKE2B 81815a0c9c7f62175493af8f3f56064f6a6a0167351d4f8baf5c846744dc03d325c106dfafb49589702e4f461865e5528395f379142af49b8722f490fdd57d1b SHA512 58dfd537c378c7e9772eab374f25b7d68d26b6db1f71bb9a88e6405e2f2e3cd0ebc2fc94733ce787288365ac9669fc50f8d5a3ab2f2900683c6399ca43172945 +DIST libtgvoip-2.4.4_p20210302.tar.gz 1097895 BLAKE2B 36551fb915ee5b5895d8ea68196be5a910739e46886c879bd9f932fa2294a94c22ec3215a94d9bad05a5d24519291676a686c594b74f513f594eb063c83de012 SHA512 d8e27be18e521f367a30c63665300496dbd8fe250261fddf5576325afc27d855e280ee31e46d5fcc2294d79a91c4003732e22f2bfb6db0472e357508b5053d29 diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20210302.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20210302.ebuild new file mode 100644 index 00000000000..eeb6ebb1cca --- /dev/null +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20210302.ebuild @@ -0,0 +1,63 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic autotools + +LIBTGVOIP_COMMIT="0c0a6e476df58ee441490da72ca7a32f83e68dbd" + +DESCRIPTION="VoIP library for Telegram clients" +HOMEPAGE="https://github.com/telegramdesktop/libtgvoip" +SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${LIBTGVOIP_COMMIT}.tar.gz -> ${P}.tar.gz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~ppc64" +IUSE="+dsp libressl pulseaudio" + +DEPEND=" + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + media-libs/opus:= + media-libs/alsa-lib + !pulseaudio? ( media-sound/apulse[sdk] ) + pulseaudio? ( media-sound/pulseaudio ) + dsp? ( media-libs/tg_owt ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${PN}-${LIBTGVOIP_COMMIT}" + +src_prepare() { + # Will be controlled by us + sed -i -e '/^CFLAGS += -DTGVOIP_NO_DSP/d' Makefile.am || die + default + # https://bugs.gentoo.org/717210 + echo 'libtgvoip_la_LIBTOOLFLAGS = --tag=CXX' >> Makefile.am || die + eautoreconf +} + +src_configure() { + local myconf=( + --disable-static + --with-alsa + --with-pulse + --disable-dsp # WebRTC is linked from tg_owt + ) + append-cppflags '-DNDEBUG' + if use dsp; then + append-cppflags '-I/usr/include/tg_owt' + append-cppflags '-I/usr/include/tg_owt/third_party/abseil-cpp' + append-libs '-ltg_owt' + else + append-cppflags '-DTGVOIP_NO_DSP' + fi + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} diff --git a/media-libs/libtgvoip/metadata.xml b/media-libs/libtgvoip/metadata.xml index 442b636ea78..d05783cd386 100644 --- a/media-libs/libtgvoip/metadata.xml +++ b/media-libs/libtgvoip/metadata.xml @@ -1,7 +1,14 @@ - + + esteve.varela@gmail.com + Esteve Varela Colominas + + + proxy-maint@gentoo.org + Proxy Maintainers + Enable signal processing (echo cancellation, noise suppression, and automatic gain control)