summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2020-07-08 14:34:57 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2020-07-08 14:48:04 -0700
commitb332cd33213aaf7e4aaf2dd9c37b445e2f60fe6a (patch)
treea48ed21c0885eb89d1d4bb85754936bc8c13b86f /media-libs
parentnet-im/telegram-desktop: drop old beta (diff)
downloadgentoo-b332cd33213aaf7e4aaf2dd9c37b445e2f60fe6a.tar.gz
gentoo-b332cd33213aaf7e4aaf2dd9c37b445e2f60fe6a.tar.bz2
gentoo-b332cd33213aaf7e4aaf2dd9c37b445e2f60fe6a.zip
media-libs/libtgvoip: drop old
Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libtgvoip/Manifest1
-rw-r--r--media-libs/libtgvoip/files/configure-bashisms.patch83
-rw-r--r--media-libs/libtgvoip/libtgvoip-2.4.4_p20200701-r1.ebuild55
3 files changed, 0 insertions, 139 deletions
diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest
index 96b844c88af7..bcce992d6067 100644
--- a/media-libs/libtgvoip/Manifest
+++ b/media-libs/libtgvoip/Manifest
@@ -1,4 +1,3 @@
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
-DIST libtgvoip-2.4.4_p20200701.tar.gz 1090571 BLAKE2B e1e3bf129e124aa907e15afaefb1ea2ae44fcb7ab6670e7727ac388ef498c21978f668760022ec002fafecdf51b85d872364025f2282acc88532ef3b994c4e14 SHA512 44f650509d0c6d15adcb5bb5a4af66432c808fece5169844f37d4eb3fb25f729a1caa1c2cf68a6764d134e187b156a86e93b383984f2d4dd86a69cb3e9b2b888
DIST libtgvoip-2.4.4_p20200704.tar.gz 1090620 BLAKE2B 27880d296eef108613cb9330344bfc133efcd7b3fc82b7e793cf623187ff491f44021d1a47703949a0b830ae50106ed2d5b41e26cb6f5849b69b836a592112ff SHA512 ffff8ce9b991e03a2b0fb9b71e04311151081b7c682f728ae7d50a88a87470249d9f6841b24df3264245c5027a06da004d9022bf3652c4f11d03b2058e00d895
diff --git a/media-libs/libtgvoip/files/configure-bashisms.patch b/media-libs/libtgvoip/files/configure-bashisms.patch
deleted file mode 100644
index 2ebdf8a2799c..000000000000
--- a/media-libs/libtgvoip/files/configure-bashisms.patch
+++ /dev/null
@@ -1,83 +0,0 @@
-From 601c2b7e4336357f49ad2dcf93bc59e5944975a4 Mon Sep 17 00:00:00 2001
-From: Georgy Yakovlev <gyakovlev@gentoo.org>
-Date: Sat, 4 Jul 2020 17:11:24 -0700
-Subject: [PATCH] configure.ac: use POSIX test syntax
-
-with == syntax configure fails on some shells (dash fish)
-
-./configure: 17913: test: xyes: unexpected operator
-./configure: 17921: test: x: unexpected operator
-./configure: 17929: test: x: unexpected operator
-Detected OS: linux-gnu
-./configure: 17946: test: x: unexpected operator
-./configure: 17962: test: xno: unexpected operator
-checking for dlopen in -ldl... yes
-./configure: 18036: test: xyes: unexpected operator
-checking for libpulse... yes
-checking for alsa... yes
-./configure: 18251: test: xyes: unexpected operator
-./configure: 18259: test: xyes: unexpected operator
-./configure: 18275: test: xyes: unexpected operator
-checking for size_t... yes
-
-Downstream-bug: https://bugs.gentoo.org/729034
-Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
----
- configure.ac | 18 +++++++++---------
- 1 file changed, 9 insertions(+), 9 deletions(-)
-
-diff --git a/configure.ac b/configure.ac
-index 37ee7a1..17789c2 100644
---- a/configure.ac
-+++ b/configure.ac
-@@ -46,18 +46,18 @@ AS_CASE([$host_cpu],
- [armv7*], [cpu_armv7=yes]
- )
- AS_ECHO("Detected CPU: $host_cpu")
--AM_CONDITIONAL(TARGET_CPU_X86, test "x$cpu_x86" == xyes)
--AM_CONDITIONAL(TARGET_CPU_ARM, test "x$cpu_arm" == xyes)
--AM_CONDITIONAL(TARGET_CPU_ARMV7, test "x$cpu_armv7" == xyes)
-+AM_CONDITIONAL(TARGET_CPU_X86, test "x$cpu_x86" = xyes)
-+AM_CONDITIONAL(TARGET_CPU_ARM, test "x$cpu_arm" = xyes)
-+AM_CONDITIONAL(TARGET_CPU_ARMV7, test "x$cpu_armv7" = xyes)
- AS_ECHO("Detected OS: $host_os")
-
- AS_CASE([$host_os],
- [darwin*], [os_osx=yes]
- )
--AM_CONDITIONAL(TARGET_OS_OSX, test "x$os_osx" == xyes)
-+AM_CONDITIONAL(TARGET_OS_OSX, test "x$os_osx" = xyes)
-
- AC_ARG_ENABLE([audio-callback], [AS_HELP_STRING([--enable-audio-callback], [enable callback-based audio I/O])], [], [enable_audio_callback=no])
--AM_CONDITIONAL(ENABLE_AUDIO_CALLBACK, test "x$enable_audio_callback" == xyes)
-+AM_CONDITIONAL(ENABLE_AUDIO_CALLBACK, test "x$enable_audio_callback" = xyes)
-
- AS_IF([test "x$os_osx" != xyes && test "x$enable_audio_callback" != xyes], [ # Linux
- AC_CHECK_LIB([dl], [dlopen])
-@@ -65,7 +65,7 @@ AS_IF([test "x$os_osx" != xyes && test "x$enable_audio_callback" != xyes], [ # L
- AC_ARG_WITH([pulse], [AS_HELP_STRING([--without-pulse], [disable PulseAudio support])], [], [with_pulse=yes])
- AC_ARG_WITH([alsa], [AS_HELP_STRING([--without-alsa], [disable ALSA support])], [], [with_alsa=yes])
-
-- AS_IF([test "x$with_pulse" == xno && test "x$with_alsa" == xno], [
-+ AS_IF([test "x$with_pulse" = xno && test "x$with_alsa" = xno], [
- AC_MSG_FAILURE([You can only disable either ALSA or PulseAudio, not both]);
- ])
-
-@@ -82,11 +82,11 @@ AS_IF([test "x$os_osx" != xyes && test "x$enable_audio_callback" != xyes], [ # L
- ])
- ]);
-
--AM_CONDITIONAL(WITH_PULSE, test "x$with_pulse" == xyes)
--AM_CONDITIONAL(WITH_ALSA, test "x$with_alsa" == xyes)
-+AM_CONDITIONAL(WITH_PULSE, test "x$with_pulse" = xyes)
-+AM_CONDITIONAL(WITH_ALSA, test "x$with_alsa" = xyes)
-
- AC_ARG_ENABLE([dsp], [AS_HELP_STRING([--disable-dsp], [disable signal processing (echo cancellation, noise suppression, and automatic gain control)])], [], [enable_dsp=yes])
--AM_CONDITIONAL(ENABLE_DSP, test "x$enable_dsp" == xyes)
-+AM_CONDITIONAL(ENABLE_DSP, test "x$enable_dsp" = xyes)
-
- # Checks for header files.
- AC_FUNC_ALLOCA
---
-2.27.0
-
diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200701-r1.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20200701-r1.ebuild
deleted file mode 100644
index 0271d86572a6..000000000000
--- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20200701-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-EGIT_COMMIT="ad55e7403ab7f268304ae9045eddef479a574ae5"
-
-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}"
-
-PATCHES=( "${FILESDIR}/configure-bashisms.patch" )
-
-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
-}