From: "Georgy Yakovlev" <gyakovlev@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
Date: Thu, 25 Mar 2021 19:31:32 +0000 (UTC) [thread overview]
Message-ID: <1616700516.2bf7ec990e647dd5d6ba0599a8cda3a5289a2c20.gyakovlev@gentoo> (raw)
commit: 2bf7ec990e647dd5d6ba0599a8cda3a5289a2c20
Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Thu Mar 25 17:28:33 2021 +0000
Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 19:28:36 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2bf7ec99
media-libs/tg_owt: Take maintainership, bump to 0_pre20210309
Closes: https://bugs.gentoo.org/754012
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>
media-libs/tg_owt/Manifest | 3 ++
media-libs/tg_owt/metadata.xml | 9 +++-
media-libs/tg_owt/tg_owt-0_pre20210309.ebuild | 76 +++++++++++++++++++++++++++
3 files changed, 87 insertions(+), 1 deletion(-)
diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index bc40b05702a..bc7d4d6f847 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,2 +1,5 @@
+DIST libvpx-5b63f0f821e94f8072eb483014cfc33b05978bb9.tar.gz 5337558 BLAKE2B 795f613cee5efc4f6382b09063978b772ebb283fb1f5f621f5fbac018a6aca4721319de89dba02cf66202fe92bf9df681c27b94657a67acea66293b9cf3e1b0c SHA512 ad151972dc6077ddc520d7b6aa14d64e3183e010ceddd5acc6e2d9407f3476006a92461f61662b826feab623a65e748df60d5478af56bd657fbacbdb71dddec6
+DIST libyuv-ad890067f661dc747a975bc55ba3767fe30d4452.tar.gz 473845 BLAKE2B 664be51c166440e6b03fa98f65d907efc446800804058a5ea7fdf944e12cb1237a1487e83fbe9a2f1ce4c73521234e43632f921ad0333507737d81e1cb23ce8f SHA512 f97529b80a786e2e92443caabebd6d85a42641e10c3d2940b0f69bedf3b8a96c69c3247abddd059c4ddd6f78107ab7214222a4267a559fc2086c8edf5ea1afbc
DIST tg_owt-0_pre20201105.tar.gz 18390526 BLAKE2B 115e93eb9dfd158779d2a521de9bca8cf0e0a38cff7d7a470b59d2941212a79cc7c33abf330c348ad70321486cd80d44644ceea61f9a86bbaee3ef6463a9e23d SHA512 de9d4490c3e68f17dd75e523596683395e67e91b51c5c7af61c0a51517779129cc965bc97d63b5054bdddb76d385ab33d6995d72b08316941fa2a72a93d1c3fa
DIST tg_owt-0_pre20201112.tar.gz 18391959 BLAKE2B 85ad2880e9067daad94389708c0cb3638c090fa8281b8bf55d990dcdbf8eb898a70a930a0c0e904b0a682b9ebdb021134e18270ab760191b12cccba12dae95d5 SHA512 10f6ca1a6a82e9bd9af9e815b4d849fdace39332df61d32a9b706bffc3e8647b20f58e63a2fcc4e714e1480768ddd8f7ad21588f1e9762b3c056b205abfd5806
+DIST tg_owt-0_pre20210309.tar.gz 16159542 BLAKE2B 354992fca17f6217daa7294a8b60aa96f16b1198a07c79599ce676770cde068bf3ebf83c3935613ab181d4f7f23abbf2e4dd3ba41988b7505f27f537ada87fc2 SHA512 eca2c249d4837f8564218ea969390579b7f07c40879a80249310d978ba6d8865b85ec12e324fdba92af2d0b9bd501f2328fad5475028211013239dc35f508bb0
diff --git a/media-libs/tg_owt/metadata.xml b/media-libs/tg_owt/metadata.xml
index 7a38bb90096..631cf5ff785 100644
--- a/media-libs/tg_owt/metadata.xml
+++ b/media-libs/tg_owt/metadata.xml
@@ -1,5 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person" proxied="yes">
+ <email>esteve.varela@gmail.com</email>
+ <name>Esteve Varela Colominas</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
</pkgmetadata>
diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
new file mode 100644
index 00000000000..9b9e8fe2fc6
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
@@ -0,0 +1,76 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+TG_OWT_COMMIT="7f965710b93c4dadd7e6f1ac739e708694df7929"
+LIBVPX_COMMIT="5b63f0f821e94f8072eb483014cfc33b05978bb9"
+LIBYUV_COMMIT="ad890067f661dc747a975bc55ba3767fe30d4452"
+
+DESCRIPTION="WebRTC build for Telegram"
+HOMEPAGE="https://github.com/desktop-app/tg_owt"
+SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
+ https://github.com/webmproject/libvpx/archive/${LIBVPX_COMMIT}.tar.gz -> libvpx-${LIBVPX_COMMIT}.tar.gz
+ https://archive.org/download/libyuv-${LIBYUV_COMMIT}.tar/libyuv-${LIBYUV_COMMIT}.tar.gz"
+# Fetch libyuv archive from: https://chromium.googlesource.com/libyuv/libyuv/+archive/${LIBYUV_COMMIT}.tar.gz
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="pulseaudio"
+
+# Bundled libs:
+# - libvpx (media-libs/libvpx, requires git version, post v1.9.0)
+# - libyuv (no stable versioning)
+# - libsrtp (project uses private APIs)
+# - pffft (no stable versioning, patched)
+# Bundled libs that will be unbundled at a later date (upstream support is in the works):
+# - net-libs/usrsctp
+# - dev-libs/libevent:=
+# - dev-cpp/abseil-cpp
+# - media-libs/openh264:=
+# dev-lang/yasm is required for libvpx
+# media-libs/libjpeg-turbo is required for libyuv
+DEPEND="
+ dev-libs/openssl:=
+ dev-libs/protobuf:=
+ media-libs/alsa-lib
+ media-libs/libjpeg-turbo:=
+ media-libs/opus
+ media-video/ffmpeg:=
+ !pulseaudio? ( media-sound/apulse[sdk] )
+ pulseaudio? ( media-sound/pulseaudio )
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ virtual/pkgconfig
+ amd64? ( dev-lang/yasm )
+"
+
+S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
+
+src_unpack() {
+ unpack "${P}.tar.gz"
+ unpack "libvpx-${LIBVPX_COMMIT}.tar.gz"
+ mv -T "libvpx-${LIBVPX_COMMIT}" "$S/src/third_party/libvpx/source/libvpx" || die
+ cd "$S/src/third_party/libyuv" || die
+ unpack "libyuv-${LIBYUV_COMMIT}.tar.gz"
+}
+
+src_prepare() {
+ # Can cause race conditions when no webcam is available or webcam is blocked
+ # See https://bugs.debian.org/982556
+ sed -i -e 's/#ifndef NO_MAIN_THREAD_WRAPPING/#if 0/' src/rtc_base/thread.cc || die
+ cmake_src_prepare
+}
+
+src_configure() {
+ # Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
+ # see https://bugs.gentoo.org/754012
+ append-cppflags '-DNDEBUG'
+
+ append-flags '-fPIC'
+ cmake_src_configure
+}
next reply other threads:[~2021-03-25 19:31 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-25 19:31 Georgy Yakovlev [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-23 10:49 [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/ Yixun Lan
2024-09-07 23:36 Yixun Lan
2024-09-04 2:32 Yixun Lan
2024-03-03 22:12 Sam James
2024-01-02 6:06 WANG Xuerui
2023-10-31 1:07 Yixun Lan
2023-10-07 22:26 Ionen Wolkens
2023-05-18 7:12 Joonas Niilola
2023-05-18 7:12 Joonas Niilola
2023-05-07 7:22 Sam James
2023-03-30 17:57 Arthur Zamarin
2023-01-22 23:36 Georgy Yakovlev
2023-01-21 16:53 Sam James
2022-12-02 22:49 Georgy Yakovlev
2022-08-03 17:40 Georgy Yakovlev
2022-07-20 5:15 Sam James
2022-03-20 20:40 Arthur Zamarin
2022-02-07 6:32 Sam James
2022-01-10 8:38 Agostino Sarubbo
2022-01-07 17:01 Georgy Yakovlev
2022-01-07 17:01 Georgy Yakovlev
2022-01-07 17:01 Georgy Yakovlev
2021-12-10 21:31 Georgy Yakovlev
2021-11-16 10:08 Jakov Smolić
2021-09-24 17:33 Georgy Yakovlev
2021-08-24 18:41 Georgy Yakovlev
2021-08-04 6:39 Agostino Sarubbo
2021-06-28 8:38 Georgy Yakovlev
2021-06-28 8:38 Georgy Yakovlev
2021-06-28 8:38 Georgy Yakovlev
2021-06-12 1:18 Sam James
2021-05-03 17:01 Georgy Yakovlev
2021-04-23 19:06 Georgy Yakovlev
2021-04-22 12:08 Sam James
2021-03-26 21:30 Georgy Yakovlev
2021-03-26 0:04 Sam James
2021-03-25 21:54 Georgy Yakovlev
2021-03-25 21:48 Georgy Yakovlev
2021-03-25 19:31 Georgy Yakovlev
2021-02-28 20:26 Georgy Yakovlev
2020-11-24 5:53 Georgy Yakovlev
2020-11-10 21:20 Georgy Yakovlev
2020-11-10 21:20 Georgy Yakovlev
2020-11-05 17:54 Georgy Yakovlev
2020-11-01 5:30 Sam James
2020-10-31 0:40 Georgy Yakovlev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1616700516.2bf7ec990e647dd5d6ba0599a8cda3a5289a2c20.gyakovlev@gentoo \
--to=gyakovlev@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox