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 E9A9D138359 for ; Thu, 29 Oct 2020 07:58:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F15FDE097E; Thu, 29 Oct 2020 07:58:27 +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 D5645E097E for ; Thu, 29 Oct 2020 07:58:27 +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 87FFD340A5C for ; Thu, 29 Oct 2020 07:58:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBBC839F for ; Thu, 29 Oct 2020 07:58:24 +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: <1603958161.913db55e2d9963c59f47634a2cdc634d11f9aee1.gyakovlev@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libtgvoip/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild X-VCS-Directories: media-libs/libtgvoip/ X-VCS-Committer: gyakovlev X-VCS-Committer-Name: Georgy Yakovlev X-VCS-Revision: 913db55e2d9963c59f47634a2cdc634d11f9aee1 X-VCS-Branch: master Date: Thu, 29 Oct 2020 07:58:24 +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: 8f96fc28-b83c-44ca-9de3-8cf0a2be5f6e X-Archives-Hash: 7cc2f82a95a34023bd781947770b0b0b commit: 913db55e2d9963c59f47634a2cdc634d11f9aee1 Author: Georgy Yakovlev gentoo org> AuthorDate: Thu Oct 29 07:19:01 2020 +0000 Commit: Georgy Yakovlev gentoo org> CommitDate: Thu Oct 29 07:56:01 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=913db55e media-libs/libtgvoip: add apulse/pulse support Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev gentoo.org> media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild index 0d2b8dd39aa..ee4be14591e 100644 --- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild @@ -14,20 +14,18 @@ SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${EGIT_COMMIT}.tar LICENSE="Unlicense" SLOT="0" KEYWORDS="~amd64 ~ppc64" -IUSE="+alsa +dsp libressl pulseaudio" +IUSE="+dsp libressl" DEPEND=" !libressl? ( dev-libs/openssl:0= ) libressl? ( dev-libs/libressl:0= ) media-libs/opus:= - alsa? ( media-libs/alsa-lib ) - pulseaudio? ( media-sound/pulseaudio ) + media-libs/alsa-lib + || ( media-sound/pulseaudio media-sound/apulse[sdk] ) " RDEPEND="${DEPEND}" BDEPEND="virtual/pkgconfig" -REQUIRED_USE="|| ( alsa pulseaudio )" - S="${WORKDIR}/${PN}-${EGIT_COMMIT}" src_prepare() { @@ -41,9 +39,9 @@ src_prepare() { src_configure() { local myconf=( --disable-static + --with-alsa + --with-pulse $(use_enable dsp) - $(use_with alsa) - $(use_with pulseaudio pulse) ) use dsp && append-cxxflags '-DTGVOIP_USE_DESKTOP_DSP_BUNDLED' econf "${myconf[@]}"