diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-10-25 23:52:38 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-10-26 01:01:19 -0700 |
commit | 1c42d0d77e7735a70889e2c357d37f8067eb2307 (patch) | |
tree | d6efaf52139e52940179e2f1c6ecfd1db48199a5 /media-libs/libtgvoip | |
parent | package.mask: Last rite sci-geosciences/mapnik-world-boundaries (diff) | |
download | gentoo-1c42d0d77e7735a70889e2c357d37f8067eb2307.tar.gz gentoo-1c42d0d77e7735a70889e2c357d37f8067eb2307.tar.bz2 gentoo-1c42d0d77e7735a70889e2c357d37f8067eb2307.zip |
media-libs/libtgvoip: bump to new snapshot
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/Manifest | 1 | ||||
-rw-r--r-- | media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest index e55717b0fb51..4045bbc7ba39 100644 --- a/media-libs/libtgvoip/Manifest +++ b/media-libs/libtgvoip/Manifest @@ -1 +1,2 @@ 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 diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.ebuild new file mode 100644 index 000000000000..04ac80855ec9 --- /dev/null +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200818.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="7563a96b8f8e86b7a5fd1ce783388adf29bf4cf9" + +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) + ) + use dsp && append-cxxflags '-DTGVOIP_USE_DESKTOP_DSP_BUNDLED' + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |