summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-10-29 00:19:01 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-10-29 00:56:01 -0700
commit913db55e2d9963c59f47634a2cdc634d11f9aee1 (patch)
tree3b591dc89d7977d2ae999d43ce8eb8e66eab73f2 /media-libs/libtgvoip
parentnet-im/zoom: Re-add bundled-libjpeg-turbo flag. (diff)
downloadgentoo-913db55e2d9963c59f47634a2cdc634d11f9aee1.tar.gz
gentoo-913db55e2d9963c59f47634a2cdc634d11f9aee1.tar.bz2
gentoo-913db55e2d9963c59f47634a2cdc634d11f9aee1.zip
media-libs/libtgvoip: add apulse/pulse support
Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'media-libs/libtgvoip')
-rw-r--r--media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild12
1 files 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 0d2b8dd39aaa..ee4be14591e4 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[@]}"