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 2E720138359 for ; Sat, 31 Oct 2020 00:40:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 34B5AE0825; Sat, 31 Oct 2020 00:40:04 +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 099DCE0825 for ; Sat, 31 Oct 2020 00:40:03 +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 AED14340754 for ; Sat, 31 Oct 2020 00:40:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F3F463F0 for ; Sat, 31 Oct 2020 00:40:00 +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: <1604104713.705a5aec66df93b0d55e8538df0fd8177554bdad.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_p20201030.ebuild X-VCS-Directories: media-libs/libtgvoip/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 705a5aec66df93b0d55e8538df0fd8177554bdad X-VCS-Branch: master Date: Sat, 31 Oct 2020 00:40:00 +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: 4cf05a20-c101-4c7c-8b4d-aa43e65a1cca X-Archives-Hash: 47eebb301521453f5958fddc08753293 commit: 705a5aec66df93b0d55e8538df0fd8177554bdad Author: Georgy Yakovlev gentoo org> AuthorDate: Sat Oct 31 00:22:37 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Sat Oct 31 00:38:33 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=705a5aec media-libs/libtgvoip: bump to 20201030 snapshot added pulseaudio flag back for forcing consistent headers Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> media-libs/libtgvoip/Manifest | 1 + .../libtgvoip/libtgvoip-2.4.4_p20201030.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest index 4045bbc7ba3..77cc97e2fab 100644 --- a/media-libs/libtgvoip/Manifest +++ b/media-libs/libtgvoip/Manifest @@ -1,2 +1,3 @@ DIST libtgvoip-2.4.4_p20200704.tar.gz 1090620 BLAKE2B 27880d296eef108613cb9330344bfc133efcd7b3fc82b7e793cf623187ff491f44021d1a47703949a0b830ae50106ed2d5b41e26cb6f5849b69b836a592112ff SHA512 ffff8ce9b991e03a2b0fb9b71e04311151081b7c682f728ae7d50a88a87470249d9f6841b24df3264245c5027a06da004d9022bf3652c4f11d03b2058e00d895 DIST libtgvoip-2.4.4_p20200818.tar.gz 1091068 BLAKE2B 541b099a82bd628c027a546d9d3f979d3b46af9be09eaa9441ed78c2dc1588cf88f961848685a6e0d213c9dc17688e8ca5dd29a1510b0c49210cf81410159d7d SHA512 d0b18720fb6453375bda56e29b3ef110598a308ff2ee8b358e0a7cfc1cc5161ad36ac2e0e6e9007fa191b5a4f3819a0170b4f53e211780b5916a8555f2599687 +DIST libtgvoip-2.4.4_p20201030.tar.gz 1091098 BLAKE2B 81815a0c9c7f62175493af8f3f56064f6a6a0167351d4f8baf5c846744dc03d325c106dfafb49589702e4f461865e5528395f379142af49b8722f490fdd57d1b SHA512 58dfd537c378c7e9772eab374f25b7d68d26b6db1f71bb9a88e6405e2f2e3cd0ebc2fc94733ce787288365ac9669fc50f8d5a3ab2f2900683c6399ca43172945 diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20201030.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20201030.ebuild new file mode 100644 index 00000000000..ce73f74205b --- /dev/null +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20201030.ebuild @@ -0,0 +1,53 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools flag-o-matic + +EGIT_COMMIT="fdabfb671d818d0d4d08cb1aeef6058d4a96882b" + +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="+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 ) +" +RDEPEND="${DEPEND}" +BDEPEND="virtual/pkgconfig" + +S="${WORKDIR}/${PN}-${EGIT_COMMIT}" + +src_prepare() { + 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 + $(use_enable dsp) + ) + use dsp && append-cxxflags '-DTGVOIP_USE_DESKTOP_DSP_BUNDLED' + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +}