diff options
Diffstat (limited to 'media-libs/libtgvoip')
-rw-r--r-- | media-libs/libtgvoip/Manifest | 2 | ||||
-rw-r--r-- | media-libs/libtgvoip/libtgvoip-2.4.4_p20220503.ebuild | 63 |
2 files changed, 0 insertions, 65 deletions
diff --git a/media-libs/libtgvoip/Manifest b/media-libs/libtgvoip/Manifest index 55dba2c27309..ddd8ca237a6a 100644 --- a/media-libs/libtgvoip/Manifest +++ b/media-libs/libtgvoip/Manifest @@ -1,5 +1,3 @@ DIST libtgvoip-2.4.4_p20220117.tar.gz 1098045 BLAKE2B 752b3b26f511316b8261d9ebb833e2b74df91377daca255fbbeefb18b3ab3811b97eaee1d9965e95ed9d215467e6ff5dc857369d381d470570cb87c3bfec33af SHA512 b9d8e354e9b8f9226d5e06397fdf3c91f71fee890db7d180dffae2e3fb6f74bca1c31b7f87049257c3edf44c2171780ed5781877cf8f2d40b2d56c1f5385ef77 -DIST libtgvoip-2.4.4_p20220503.tar.gz 1098061 BLAKE2B 5389a3783fa5179d10a18ef0282ab65d1526c829852095718384c2ba476ebfb1ee1f997f71b47424ef60a826055bc63d0d2dde7980de98c978860d72717ffefb SHA512 68f1e5b46df3b974d39333949e586ed00243044ff4bcac31937cba7eced6266fdacfd6ff3c6453f7dfa64ec82dd3aeafa251411dc85de0aae26b2cd0d8a79013 EBUILD libtgvoip-2.4.4_p20220117.ebuild 1586 BLAKE2B 8ee4658a921472e3c5aaa2cccb6059620041f71ee4c8fb24fdcf3759b4f5bbb99c481c888f71300cc82a49ec4037fec96065f89c36145b57b293a9818cba3e54 SHA512 0159bdc29c80a8c2ac03783bded57b68908d814a1113431db85b62042b1c00b433f9bce4359201ec43a79205e27463c84b33a33254cf3aa3b25a9343fe1039e2 -EBUILD libtgvoip-2.4.4_p20220503.ebuild 1587 BLAKE2B 63114d768dc02b5be4b5916c88c50cbba051444ce155820ccced9d5dd3fa35eafa8dcb508b75d8a0ea411d34bab34ae5a6b89f63c5abcff6abfc3f7e9380e249 SHA512 848122f1180dfecfb4bd67cf347a75fca9d4520ae56d865d7cd246541b9fa2bb70443511739304b8b747f2f3340b9fe24178871c1bb1fc8dcf592aba6f5cfed8 MISC metadata.xml 543 BLAKE2B 56f3e74859e09ff7ecaa4f068e1872257213a7239cd946c920c0b2e7e12cfc0bdb314ca1fb0a75b489abd5ae5c4e5b4218ced1b3ee78e60a4e82558100d68e1f SHA512 83e39833446eb97c76280a81e428bdd64b5c46a052e1b87bdc19a5db31478f1004e3ae6f323c7983992541bf9d15f155037523990964ccae4ad8653396f7534b diff --git a/media-libs/libtgvoip/libtgvoip-2.4.4_p20220503.ebuild b/media-libs/libtgvoip/libtgvoip-2.4.4_p20220503.ebuild deleted file mode 100644 index 14fae24d7ae3..000000000000 --- a/media-libs/libtgvoip/libtgvoip-2.4.4_p20220503.ebuild +++ /dev/null @@ -1,63 +0,0 @@ -# Copyright 2020-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic autotools - -DESCRIPTION="VoIP library for Telegram clients" -HOMEPAGE="https://github.com/telegramdesktop/libtgvoip" - -LIBTGVOIP_COMMIT="78a8e22bedb0d06004da8bafeba88b7474cb89a4" -SRC_URI="https://github.com/telegramdesktop/libtgvoip/archive/${LIBTGVOIP_COMMIT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${LIBTGVOIP_COMMIT}" - -LICENSE="Unlicense" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv" -IUSE="+dsp +alsa pulseaudio" - -DEPEND=" - dev-libs/openssl:= - media-libs/opus - alsa? ( media-libs/alsa-lib ) - dsp? ( media-libs/tg_owt:= ) - pulseaudio? ( media-sound/pulseaudio ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" -REQUIRED_USE=" - || ( alsa pulseaudio ) -" - -src_prepare() { - # Will be controlled by us - sed -i -e '/^CFLAGS += -DTGVOIP_NO_DSP/d' Makefile.am || die - # https://bugs.gentoo.org/717210 - echo 'libtgvoip_la_LIBTOOLFLAGS = --tag=CXX' >> Makefile.am || die - default - eautoreconf -} - -src_configure() { - # Not using the CMake build despite being the preferred one, because - # it's lacking relevant configure options. - local myconf=( - --disable-dsp # WebRTC is linked from tg_owt - $(use_with alsa) - $(use_with pulseaudio pulse) - ) - if use dsp; then - append-cppflags "-I${ESYSROOT}/usr/include/tg_owt" - append-cppflags "-I${ESYSROOT}/usr/include/tg_owt/third_party/abseil-cpp" - append-libs '-ltg_owt' - else - append-cppflags '-DTGVOIP_NO_DSP' - fi - econf "${myconf[@]}" -} - -src_install() { - default - find "${D}" -name '*.la' -delete || die -} |