diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-06-03 15:36:57 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-06-03 18:35:32 -0700 |
commit | 7d1c40d8b493b6f9bf416892a9f289fdb848cd68 (patch) | |
tree | 18275c1914c25c57a15113062e40f31970b4e593 /media-libs/libtgvoip | |
parent | profiles/package.mask: mask dev-python/kid (diff) | |
download | gentoo-7d1c40d8b493b6f9bf416892a9f289fdb848cd68.tar.gz gentoo-7d1c40d8b493b6f9bf416892a9f289fdb848cd68.tar.bz2 gentoo-7d1c40d8b493b6f9bf416892a9f289fdb848cd68.zip |
media-libs/libtgvoip: bump to 20200525 snapshot
Package-Manager: Portage-2.3.100, Repoman-2.3.22
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_p20200525.ebuild | 53 |
2 files changed, 54 insertions, 0 deletions
diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest index 41ca1bc2fe88..3706d81c31e4 100644 --- a/media-libs/libtgvoip/Manifest +++ b/media-libs/libtgvoip/Manifest @@ -1 +1,2 @@ DIST libtgvoip-2.4.4_p20200430.tar.gz 1481816 BLAKE2B 82bf6b880f28c9b63f547e473547298e25ea3b7e35b3a832a7375b0ae3a745ea3b5d55f5e635ec678e388a608532a14de85f50828da1dbc9ed77dc23be64b9e0 SHA512 f3130c50dfa7d3f710809bb72fb71d1b246bc91e9f8f413e704499011c8ff01f87a7226315f7cfd6edf2d2b8b6c875508185f516792ff5db74556aface33cdb4 +DIST libtgvoip-2.4.4_p20200525.tar.gz 1482357 BLAKE2B 9324165a2818f3d6907fb80403c8df83e196e7566161d781f5608c2bc4fc0f34a4b69883202ac1a9d20d783d363534c11436cedcd24fa93c092eaca97369734e SHA512 5c9fbbccde8fb7dbe8076cda53a3ec80f633493c9b3016627307463dca3426623703cd28ea7ad360bd9ff7c062edecd04787b9f8a32c439cc6622d8680d624c0 diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200525.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200525.ebuild new file mode 100644 index 000000000000..89791a76dd27 --- /dev/null +++ b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200525.ebuild @@ -0,0 +1,53 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +EGIT_COMMIT="d2e63429ec94ee178a62b55be01f1cca98e9de83" + +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) + ) + + econf "${myconf[@]}" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die +} |