public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2020-10-31  0:40 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2020-10-31  0:40 UTC (permalink / raw
  To: gentoo-commits

commit:     02022f11d28ef0041133ad3877182d9cddeb2de3
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 31 00:25:04 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sat Oct 31 00:38:38 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02022f11

media-libs/tg_owt: new package (webrtc for telegram-desktop)

Package-Manager: Portage-3.0.8, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |  1 +
 media-libs/tg_owt/metadata.xml                |  8 +++++
 media-libs/tg_owt/tg_owt-0_pre20201030.ebuild | 47 +++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
new file mode 100644
index 00000000000..6b888ca56b1
--- /dev/null
+++ b/media-libs/tg_owt/Manifest
@@ -0,0 +1 @@
+DIST tg_owt-0_pre20201030.tar.gz 18391433 BLAKE2B 518f1a0cba8615348b6757cc3d40c6f78c7ccfcb3943a39aef9ac712e1520b7d2c9b52419bb1f22966ee8210021d684df64e593403ee86a55bbf4622826a7bcb SHA512 4f8c9fdcf3f5a2086bcb00c1434ab5c0ff398de99c32166e8479dc8482cf598ed20bcd93a98c92f30e0f0d16e1cee4dbe28d4cd21feb602fc937079d487326dd

diff --git a/media-libs/tg_owt/metadata.xml b/media-libs/tg_owt/metadata.xml
new file mode 100644
index 00000000000..efcd58fe0b9
--- /dev/null
+++ b/media-libs/tg_owt/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>gyakovlev@gentoo.org</email>
+		<name>Georgy Yakovlev</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
new file mode 100644
index 00000000000..0732044bf8e
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+TG_OWT_COMMIT="1d4f7d74ff1a627db6e45682efd0e3b85738e426"
+
+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"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="pulseaudio"
+
+# some things from this list are bundled
+# work on unbundling in progress
+DEPEND="
+	dev-libs/openssl:=
+	media-libs/alsa-lib
+	media-libs/libjpeg-turbo:=
+	media-libs/libvpx:=
+	media-libs/openh264:=
+	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_configure() {
+	local mycmakeargs=(
+		-DTG_OWT_PACKAGED_BUILD=TRUE
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2020-11-01  5:30 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2020-11-01  5:30 UTC (permalink / raw
  To: gentoo-commits

commit:     b9591951cf2c54151d3cad26464f764570864741
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Nov  1 05:30:11 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Nov  1 05:30:11 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9591951

media-libs/tg_owt: Stabilize 0_pre20201030 amd64, #749288

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20201030.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
index 0732044bf8e..fb4c5c7c321 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="pulseaudio"
 
 # some things from this list are bundled


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2020-11-05 17:54 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2020-11-05 17:54 UTC (permalink / raw
  To: gentoo-commits

commit:     9469f8ccc1353bafa0e8c03934f34f3aa403ec69
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  5 17:47:29 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Nov  5 17:52:09 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9469f8cc

media-libs/tg_owt: bump 0_pre20201105

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |  1 +
 media-libs/tg_owt/tg_owt-0_pre20201105.ebuild | 52 +++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 6b888ca56b1..92037b22495 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1 +1,2 @@
 DIST tg_owt-0_pre20201030.tar.gz 18391433 BLAKE2B 518f1a0cba8615348b6757cc3d40c6f78c7ccfcb3943a39aef9ac712e1520b7d2c9b52419bb1f22966ee8210021d684df64e593403ee86a55bbf4622826a7bcb SHA512 4f8c9fdcf3f5a2086bcb00c1434ab5c0ff398de99c32166e8479dc8482cf598ed20bcd93a98c92f30e0f0d16e1cee4dbe28d4cd21feb602fc937079d487326dd
+DIST tg_owt-0_pre20201105.tar.gz 18390526 BLAKE2B 115e93eb9dfd158779d2a521de9bca8cf0e0a38cff7d7a470b59d2941212a79cc7c33abf330c348ad70321486cd80d44644ceea61f9a86bbaee3ef6463a9e23d SHA512 de9d4490c3e68f17dd75e523596683395e67e91b51c5c7af61c0a51517779129cc965bc97d63b5054bdddb76d385ab33d6995d72b08316941fa2a72a93d1c3fa

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild
new file mode 100644
index 00000000000..b6d1ca7ad72
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+TG_OWT_COMMIT="12f4a27f2f02f9dd40f9891d8ec6e58bc1ff5263"
+
+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"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="pulseaudio"
+
+# some things from this list are bundled
+# work on unbundling in progress
+DEPEND="
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	media-libs/alsa-lib
+	media-libs/libjpeg-turbo:=
+	media-libs/libvpx:=
+	media-libs/openh264:=
+	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_configure() {
+	# lacks nop, can't restore toc
+	append-flags '-fPIC'
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=TRUE
+		-DTG_OWT_PACKAGED_BUILD=TRUE
+		-DTG_OWT_USE_PROTOBUF=TRUE
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2020-11-10 21:20 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2020-11-10 21:20 UTC (permalink / raw
  To: gentoo-commits

commit:     50e8a99980129fe9833ad956b5e00213efd6ae81
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 10 20:50:15 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 21:19:57 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=50e8a999

media-libs/tg_owt: drop old

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |  1 -
 media-libs/tg_owt/tg_owt-0_pre20201030.ebuild | 47 ---------------------------
 2 files changed, 48 deletions(-)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 92037b22495..4db6a7faa52 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,2 +1 @@
-DIST tg_owt-0_pre20201030.tar.gz 18391433 BLAKE2B 518f1a0cba8615348b6757cc3d40c6f78c7ccfcb3943a39aef9ac712e1520b7d2c9b52419bb1f22966ee8210021d684df64e593403ee86a55bbf4622826a7bcb SHA512 4f8c9fdcf3f5a2086bcb00c1434ab5c0ff398de99c32166e8479dc8482cf598ed20bcd93a98c92f30e0f0d16e1cee4dbe28d4cd21feb602fc937079d487326dd
 DIST tg_owt-0_pre20201105.tar.gz 18390526 BLAKE2B 115e93eb9dfd158779d2a521de9bca8cf0e0a38cff7d7a470b59d2941212a79cc7c33abf330c348ad70321486cd80d44644ceea61f9a86bbaee3ef6463a9e23d SHA512 de9d4490c3e68f17dd75e523596683395e67e91b51c5c7af61c0a51517779129cc965bc97d63b5054bdddb76d385ab33d6995d72b08316941fa2a72a93d1c3fa

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
deleted file mode 100644
index fb4c5c7c321..00000000000
--- a/media-libs/tg_owt/tg_owt-0_pre20201030.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-TG_OWT_COMMIT="1d4f7d74ff1a627db6e45682efd0e3b85738e426"
-
-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"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64"
-IUSE="pulseaudio"
-
-# some things from this list are bundled
-# work on unbundling in progress
-DEPEND="
-	dev-libs/openssl:=
-	media-libs/alsa-lib
-	media-libs/libjpeg-turbo:=
-	media-libs/libvpx:=
-	media-libs/openh264:=
-	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_configure() {
-	local mycmakeargs=(
-		-DTG_OWT_PACKAGED_BUILD=TRUE
-	)
-	cmake_src_configure
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2020-11-10 21:20 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2020-11-10 21:20 UTC (permalink / raw
  To: gentoo-commits

commit:     e5f7b60ae49c656f0c5c930e21ca6a62f09f233d
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 10 20:45:15 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Nov 10 21:19:54 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e5f7b60a

media-libs/tg_owt: stabilize latest

same code, just minor fixes

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20201105.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild
index b6d1ca7ad72..b385716b413 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="pulseaudio"
 
 # some things from this list are bundled


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2020-11-24  5:53 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2020-11-24  5:53 UTC (permalink / raw
  To: gentoo-commits

commit:     b50d960b3ecec030e387df687877c78bf9519ed6
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 24 05:36:39 2020 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Nov 24 05:53:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50d960b

media-libs/tg_owt: bump to new snapshot

Package-Manager: Portage-3.0.10, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |  1 +
 media-libs/tg_owt/tg_owt-0_pre20201112.ebuild | 52 +++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 4db6a7faa52..bc40b05702a 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1 +1,2 @@
 DIST tg_owt-0_pre20201105.tar.gz 18390526 BLAKE2B 115e93eb9dfd158779d2a521de9bca8cf0e0a38cff7d7a470b59d2941212a79cc7c33abf330c348ad70321486cd80d44644ceea61f9a86bbaee3ef6463a9e23d SHA512 de9d4490c3e68f17dd75e523596683395e67e91b51c5c7af61c0a51517779129cc965bc97d63b5054bdddb76d385ab33d6995d72b08316941fa2a72a93d1c3fa
+DIST tg_owt-0_pre20201112.tar.gz 18391959 BLAKE2B 85ad2880e9067daad94389708c0cb3638c090fa8281b8bf55d990dcdbf8eb898a70a930a0c0e904b0a682b9ebdb021134e18270ab760191b12cccba12dae95d5 SHA512 10f6ca1a6a82e9bd9af9e815b4d849fdace39332df61d32a9b706bffc3e8647b20f58e63a2fcc4e714e1480768ddd8f7ad21588f1e9762b3c056b205abfd5806

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild
new file mode 100644
index 00000000000..d962696ed69
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake flag-o-matic
+
+TG_OWT_COMMIT="10b988aa9111fd25358443ac34d0d422b5108029"
+
+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"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc64"
+IUSE="pulseaudio"
+
+# some things from this list are bundled
+# work on unbundling in progress
+DEPEND="
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	media-libs/alsa-lib
+	media-libs/libjpeg-turbo:=
+	media-libs/libvpx:=
+	media-libs/openh264:=
+	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_configure() {
+	# lacks nop, can't restore toc
+	append-flags '-fPIC'
+	local mycmakeargs=(
+		-DBUILD_SHARED_LIBS=TRUE
+		-DTG_OWT_PACKAGED_BUILD=TRUE
+		-DTG_OWT_USE_PROTOBUF=TRUE
+	)
+	cmake_src_configure
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-02-28 20:26 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-02-28 20:26 UTC (permalink / raw
  To: gentoo-commits

commit:     6265b1277999c28dbdb910de31b8e7ef817c204d
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 20:25:58 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 20:26:43 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6265b127

media-libs/tg_owt: unmaintain

Package-Manager: Portage-3.0.15, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/metadata.xml | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/media-libs/tg_owt/metadata.xml b/media-libs/tg_owt/metadata.xml
index efcd58fe0b9..7a38bb90096 100644
--- a/media-libs/tg_owt/metadata.xml
+++ b/media-libs/tg_owt/metadata.xml
@@ -1,8 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<maintainer type="person">
-		<email>gyakovlev@gentoo.org</email>
-		<name>Georgy Yakovlev</name>
-	</maintainer>
+	<!-- maintainer-needed -->
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-03-25 19:31 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-03-25 19:31 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-03-25 19:31 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-03-25 19:31 UTC (permalink / raw
  To: gentoo-commits

commit:     96daf7311fef02995de51e9f4df97fc9b81dadc3
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 19:14:20 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 19:30:50 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96daf731

media-libs/tg_owt: strip desktop_capture module from build

This allows to build tg on platforms without SSE2.
desktop_capture module is for mac only anyway.

See-also: https://github.com/desktop-app/tg_owt/pull/57
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210309.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
index 9b9e8fe2fc6..6401fb3d793 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -63,6 +63,11 @@ 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
+
+	# Causes forced inclusion of SSE2, only needed on MAC
+	# https://github.com/desktop-app/tg_owt/pull/57
+	sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die
+
 	cmake_src_prepare
 }
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-03-25 21:48 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-03-25 21:48 UTC (permalink / raw
  To: gentoo-commits

commit:     6613d2a62615472b707aa33c9ff8160084313add
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 21:47:52 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 21:48:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6613d2a6

media-libs/tg_owt: fix SSE2 build of latest snapshot

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210309.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
index 6401fb3d793..0aa7644fe08 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
@@ -64,9 +64,9 @@ src_prepare() {
 	# See https://bugs.debian.org/982556
 	sed -i -e 's/#ifndef NO_MAIN_THREAD_WRAPPING/#if 0/' src/rtc_base/thread.cc || die
 
-	# Causes forced inclusion of SSE2, only needed on MAC
+	# Causes forced inclusion of SSE2, so we strip it out on non-amd64 arches
 	# https://github.com/desktop-app/tg_owt/pull/57
-	sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die
+	use amd64 || sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die
 
 	cmake_src_prepare
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-03-25 21:54 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-03-25 21:54 UTC (permalink / raw
  To: gentoo-commits

commit:     60a43bbe3ad871d4129056d0942a1d33edb92e94
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 21:54:00 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Thu Mar 25 21:54:21 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60a43bbe

media-libs/tg_owt: fix SSE2 build even better

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210309.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
index 0aa7644fe08..43dd4267f6c 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
@@ -64,9 +64,11 @@ src_prepare() {
 	# See https://bugs.debian.org/982556
 	sed -i -e 's/#ifndef NO_MAIN_THREAD_WRAPPING/#if 0/' src/rtc_base/thread.cc || die
 
-	# Causes forced inclusion of SSE2, so we strip it out on non-amd64 arches
+	# Causes forced inclusion of SSE2, so we strip it out on x86* arches
 	# https://github.com/desktop-app/tg_owt/pull/57
-	use amd64 || sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die
+	if ! use amd64 && ! use x86; then
+		sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die
+	fi
 
 	cmake_src_prepare
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-03-26  0:04 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2021-03-26  0:04 UTC (permalink / raw
  To: gentoo-commits

commit:     02f19f51add6f95d5774c99c41e2c144e81b1176
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 25 23:46:12 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 00:02:49 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02f19f51

media-libs/tg_owt: Stabilize 0_pre20201112 amd64, #771684

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20201112.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild
index d962696ed69..51716d538a9 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="pulseaudio"
 
 # some things from this list are bundled


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-03-26 21:30 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-03-26 21:30 UTC (permalink / raw
  To: gentoo-commits

commit:     fd31d3e56808e649f4cbbad3e9e74fa134094559
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Fri Mar 26 11:16:52 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Mar 26 21:30:02 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fd31d3e5

media-libs/tg_owt: Add missing libXtst dependency

Will probably be removed by the next time it's updated, but for now...

Closes: https://bugs.gentoo.org/778302
Closes: https://github.com/gentoo/gentoo/pull/20123
Thanks-to: Agostino Sarubbo <ago <AT> gentoo.org>
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 .../{tg_owt-0_pre20210309.ebuild => tg_owt-0_pre20210309-r1.ebuild}      | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
similarity index 99%
rename from media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
rename to media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
index 43dd4267f6c..579a610a571 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
@@ -40,6 +40,7 @@ DEPEND="
 	media-libs/libjpeg-turbo:=
 	media-libs/opus
 	media-video/ffmpeg:=
+	x11-libs/libXtst
 	!pulseaudio? ( media-sound/apulse[sdk] )
 	pulseaudio? ( media-sound/pulseaudio )
 "


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-04-22 12:08 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2021-04-22 12:08 UTC (permalink / raw
  To: gentoo-commits

commit:     fe20c68c60d049055be28ab6ca0e878f78defcff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Apr 22 12:05:40 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Apr 22 12:07:48 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fe20c68c

media-libs/tg_owt: Stabilize 0_pre20210309-r1 amd64, #784185

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
index 579a610a571..8a01480de92 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
@@ -18,7 +18,7 @@ SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="pulseaudio"
 
 # Bundled libs:


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-04-23 19:06 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-04-23 19:06 UTC (permalink / raw
  To: gentoo-commits

commit:     fbdf3fae629c791341f13376b52b81cd19e90727
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Thu Apr 22 16:28:10 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Apr 23 19:06:23 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbdf3fae

media-libs/tg_owt: drop old

Closes: https://github.com/gentoo/gentoo/pull/20502
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                    |  2 --
 media-libs/tg_owt/tg_owt-0_pre20201105.ebuild | 52 ---------------------------
 media-libs/tg_owt/tg_owt-0_pre20201112.ebuild | 52 ---------------------------
 3 files changed, 106 deletions(-)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index bc7d4d6f847..024105bd32d 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,5 +1,3 @@
 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/tg_owt-0_pre20201105.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild
deleted file mode 100644
index b385716b413..00000000000
--- a/media-libs/tg_owt/tg_owt-0_pre20201105.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-TG_OWT_COMMIT="12f4a27f2f02f9dd40f9891d8ec6e58bc1ff5263"
-
-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"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64"
-IUSE="pulseaudio"
-
-# some things from this list are bundled
-# work on unbundling in progress
-DEPEND="
-	dev-libs/openssl:=
-	dev-libs/protobuf:=
-	media-libs/alsa-lib
-	media-libs/libjpeg-turbo:=
-	media-libs/libvpx:=
-	media-libs/openh264:=
-	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_configure() {
-	# lacks nop, can't restore toc
-	append-flags '-fPIC'
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=TRUE
-		-DTG_OWT_PACKAGED_BUILD=TRUE
-		-DTG_OWT_USE_PROTOBUF=TRUE
-	)
-	cmake_src_configure
-}

diff --git a/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild b/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild
deleted file mode 100644
index 51716d538a9..00000000000
--- a/media-libs/tg_owt/tg_owt-0_pre20201112.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-TG_OWT_COMMIT="10b988aa9111fd25358443ac34d0d422b5108029"
-
-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"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~ppc64"
-IUSE="pulseaudio"
-
-# some things from this list are bundled
-# work on unbundling in progress
-DEPEND="
-	dev-libs/openssl:=
-	dev-libs/protobuf:=
-	media-libs/alsa-lib
-	media-libs/libjpeg-turbo:=
-	media-libs/libvpx:=
-	media-libs/openh264:=
-	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_configure() {
-	# lacks nop, can't restore toc
-	append-flags '-fPIC'
-	local mycmakeargs=(
-		-DBUILD_SHARED_LIBS=TRUE
-		-DTG_OWT_PACKAGED_BUILD=TRUE
-		-DTG_OWT_USE_PROTOBUF=TRUE
-	)
-	cmake_src_configure
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-05-03 17:01 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-05-03 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     b69c36acab3ef74df82fe39d81b36feac34b23bc
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon May  3 15:55:48 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon May  3 17:01:39 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b69c36ac

media-libs/tg_owt: alter sse2 workaround

upstream added some logic here, but not enough for ppc64
hack it around

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210422.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
index 0c5ed6f7895..c7df11e1b9c 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
@@ -62,9 +62,12 @@ src_prepare() {
 	sed -i -e '/desktop_capture\/screen_drawer\.cc/d' \
 		-e '/desktop_capture\/screen_drawer_lock_posix\.cc/d' CMakeLists.txt || die
 
-	# Causes forced inclusion of SSE2, so we strip it out on x86* arches
-	if ! use amd64 && ! use x86; then
-		sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die
+	# HACK
+	# build/headers don't have ppc64 condition and force SSE2.
+	# sed it out and force C version on ppc64
+	# without this linking tdesktop will fail with undef reference to `webrtc::VectorDifference_SSE2_W32
+	if use ppc64; then
+		sed -i 's/VectorDifference_SSE2_W.*/VectorDifference_C;/g' src/modules/desktop_capture/differ_block.cc || die
 	fi
 
 	cmake_src_prepare


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-06-12  1:18 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2021-06-12  1:18 UTC (permalink / raw
  To: gentoo-commits

commit:     c3b5c219e51e3d3d10bc810849cf09b46a4e216f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 12 01:17:41 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 12 01:17:41 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3b5c219

media-libs/tg_owt: Stabilize 0_pre20210422 amd64, #793890

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210422.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
index c7df11e1b9c..3e8e01ec1d2 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 
 # Bundled libs:
 # - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-06-28  8:38 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-06-28  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     da17f5dd69d29fe76c8be4d30571bec6c748352d
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Sun Jun 27 22:21:39 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 08:38:36 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da17f5dd

media-libs/tg_owt: Drop old

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                       |  2 -
 media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild | 84 ------------------------
 2 files changed, 86 deletions(-)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 65e17f6b8a8..bbbe5598d59 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,5 +1,3 @@
-DIST libvpx-5b63f0f821e94f8072eb483014cfc33b05978bb9.tar.gz 5337558 BLAKE2B 795f613cee5efc4f6382b09063978b772ebb283fb1f5f621f5fbac018a6aca4721319de89dba02cf66202fe92bf9df681c27b94657a67acea66293b9cf3e1b0c SHA512 ad151972dc6077ddc520d7b6aa14d64e3183e010ceddd5acc6e2d9407f3476006a92461f61662b826feab623a65e748df60d5478af56bd657fbacbdb71dddec6
 DIST libyuv-ad890067f661dc747a975bc55ba3767fe30d4452.tar.gz 473845 BLAKE2B 664be51c166440e6b03fa98f65d907efc446800804058a5ea7fdf944e12cb1237a1487e83fbe9a2f1ce4c73521234e43632f921ad0333507737d81e1cb23ce8f SHA512 f97529b80a786e2e92443caabebd6d85a42641e10c3d2940b0f69bedf3b8a96c69c3247abddd059c4ddd6f78107ab7214222a4267a559fc2086c8edf5ea1afbc
-DIST tg_owt-0_pre20210309.tar.gz 16159542 BLAKE2B 354992fca17f6217daa7294a8b60aa96f16b1198a07c79599ce676770cde068bf3ebf83c3935613ab181d4f7f23abbf2e4dd3ba41988b7505f27f537ada87fc2 SHA512 eca2c249d4837f8564218ea969390579b7f07c40879a80249310d978ba6d8865b85ec12e324fdba92af2d0b9bd501f2328fad5475028211013239dc35f508bb0
 DIST tg_owt-0_pre20210422.tar.gz 16156802 BLAKE2B 823248e31d7abc91402c32aa0f062f1a77a3d8c4ebf63b4e73a8f290a5691e002a6ec09a5b7ffed1087565b9a419646924030dfb3eb3d0d6aec8cfc51cf1bf73 SHA512 24b66840a54d102b96bc32636dc8b85d31f74b344244985be929db4e14b13ee60f1fbc43269526352064cee8066839c886fae1aff95276089ab60d0a14de9ec6
 DIST tg_owt-0_pre20210626.tar.gz 16264716 BLAKE2B de500e02789516527c814d0aba87cf1d0e772747f06acff7ac9295508c6e6bce1915cd3a703df618ff17ba8e04dc194538a6ef859fa85b301bb63eceab2c339a SHA512 a5d10011c427d8685bcf0743c356ff8c58c3cad6c59ac2409298b30b15cb04233889a5ed0a18107ac5b3477eee96741fdc85176d4330c866e8e3329753be7d73

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
deleted file mode 100644
index 8a01480de92..00000000000
--- a/media-libs/tg_owt/tg_owt-0_pre20210309-r1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 2020-2021 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:=
-	x11-libs/libXtst
-	!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
-
-	# Causes forced inclusion of SSE2, so we strip it out on x86* arches
-	# https://github.com/desktop-app/tg_owt/pull/57
-	if ! use amd64 && ! use x86; then
-		sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die
-	fi
-
-	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
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-06-28  8:38 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-06-28  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     e7ebbf0b2677b8e5b5a0618e120eedb3c04a42b1
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 05:30:55 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 08:38:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7ebbf0b

media-libs/tg_owt: auto-determine subslot value

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210626.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
index 443dc1f7f79..bb09043f4c2 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 # Fetch libyuv archive from: https://chromium.googlesource.com/libyuv/libyuv/+archive/${LIBYUV_COMMIT}.tar.gz
 
 LICENSE="BSD"
-SLOT="0/20210626"
+SLOT="0/${PV##*pre}"
 KEYWORDS="~amd64 ~ppc64"
 IUSE="+alsa pulseaudio screencast +X"
 REQUIRED_USE="pulseaudio? ( alsa )"


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-06-28  8:38 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-06-28  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     32646bb6824abf79648643a564fdf6eca00ae911
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Mon Jun 28 05:35:31 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Mon Jun 28 08:38:33 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32646bb6

media-libs/tg_owt: fix patch names

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210626.ebuild | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
index bb09043f4c2..e07ba6135d9 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
@@ -58,10 +58,10 @@ RDEPEND="${DEPEND}"
 BDEPEND="virtual/pkgconfig"
 
 PATCHES=(
-	"${FILESDIR}/tg_owt-0_pre20210604-allow-disabling-pipewire.patch"
-	"${FILESDIR}/tg_owt-0_pre20210604-allow-disabling-X11.patch"
-	"${FILESDIR}/tg_owt-0_pre20210604-allow-disabling-pulseaudio.patch"
-	"${FILESDIR}/tg_owt-0_pre20210604-expose-set_allow_pipewire.patch"
+	"${FILESDIR}/tg_owt-0_pre20210626-allow-disabling-pipewire.patch"
+	"${FILESDIR}/tg_owt-0_pre20210626-allow-disabling-X11.patch"
+	"${FILESDIR}/tg_owt-0_pre20210626-allow-disabling-pulseaudio.patch"
+	"${FILESDIR}/tg_owt-0_pre20210626-expose-set_allow_pipewire.patch"
 )
 
 src_unpack() {


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-08-04  6:39 Agostino Sarubbo
  0 siblings, 0 replies; 46+ messages in thread
From: Agostino Sarubbo @ 2021-08-04  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     fbbe27fa14378e17ba514efcef231480b8ee235d
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  4 06:38:45 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Aug  4 06:38:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbbe27fa

media-libs/tg_owt: amd64 stable wrt bug #802537

Package-Manager: Portage-3.0.20, Repoman-3.0.2
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210626.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
index e07ba6135d9..6fd83cb3e00 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210626.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="+alsa pulseaudio screencast +X"
 REQUIRED_USE="pulseaudio? ( alsa )"
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-08-24 18:41 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-08-24 18:41 UTC (permalink / raw
  To: gentoo-commits

commit:     76778b76c741054a2aa791c349deb20e8f417045
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Tue Aug 24 16:14:52 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Tue Aug 24 18:32:55 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76778b76

media-libs/tg_owt: Fix building without YASM

I just don't get CMake

Closes: https://bugs.gentoo.org/809002
Thanks-to: Mike Hiretsky <mh <AT> calculate.ru>
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/22093
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
index 6b1f91230c1..8f7f9f6f3d3 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
@@ -74,6 +74,11 @@ src_prepare() {
 	# libvpx source files aren't included in the repository
 	sed -i '/include(cmake\/libvpx.cmake)/d' CMakeLists.txt || die
 
+	# libopenh264 has GENERATED files with yasm that aren't excluded by
+	# EXCLUDE_FROM_ALL, and I have no clue how to avoid this.
+	# These source files aren't used with system-openh264, anyway.
+	sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die
+
 	cmake_src_prepare
 }
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-09-24 17:33 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-09-24 17:33 UTC (permalink / raw
  To: gentoo-commits

commit:     06c9558162b42b733bae875c755dfb747f2b77db
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Mon Sep 20 17:02:44 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Sep 24 17:33:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06c95581

media-libs/tg_owt: Bump to 0_pre20210914

Also removed some more useless headers...

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                                    |  1 +
 media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild              |  4 ++--
 ...wt-0_pre20210626-r1.ebuild => tg_owt-0_pre20210914.ebuild} | 11 +++++++----
 3 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index e5610fd04b7..6342eb38fb9 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,2 +1,3 @@
 DIST libyuv-ad890067f661dc747a975bc55ba3767fe30d4452.tar.gz 473845 BLAKE2B 664be51c166440e6b03fa98f65d907efc446800804058a5ea7fdf944e12cb1237a1487e83fbe9a2f1ce4c73521234e43632f921ad0333507737d81e1cb23ce8f SHA512 f97529b80a786e2e92443caabebd6d85a42641e10c3d2940b0f69bedf3b8a96c69c3247abddd059c4ddd6f78107ab7214222a4267a559fc2086c8edf5ea1afbc
 DIST tg_owt-0_pre20210626.tar.gz 16264716 BLAKE2B de500e02789516527c814d0aba87cf1d0e772747f06acff7ac9295508c6e6bce1915cd3a703df618ff17ba8e04dc194538a6ef859fa85b301bb63eceab2c339a SHA512 a5d10011c427d8685bcf0743c356ff8c58c3cad6c59ac2409298b30b15cb04233889a5ed0a18107ac5b3477eee96741fdc85176d4330c866e8e3329753be7d73
+DIST tg_owt-0_pre20210914.tar.gz 16266351 BLAKE2B 048d6a77046b10af63f4e5c1530b6aeb9d423702a6e34e6e0082a10b06262e19c30aa766cc9ea38549605d8d2cc08bfcd5a4e715ab53c46031c23938f94af27e SHA512 bd46393d9a85fa38fcd560af4f68a4868b25528b134731070e8578217cb0b9bb8b5cf7b3990f619d321ba373e5630a52e467e14d93f71b24de3a5b3e591b8866

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
index 8f7f9f6f3d3..5a261d38d4b 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
@@ -108,6 +108,6 @@ src_install() {
 
 	# Install third_party/libyuv anyway...
 	dodir /usr/include/tg_owt/third_party/libyuv/include
-	cd "${S}/src/third_party/libyuv/include"
-	find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/third_party/libyuv/include/{}" \;
+	cd "${S}/src/third_party/libyuv/include" || die
+	find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/third_party/libyuv/include/{}" \; || die
 }

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
similarity index 89%
copy from media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
copy to media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
index 8f7f9f6f3d3..44dc8909be7 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
@@ -8,7 +8,7 @@ inherit cmake
 DESCRIPTION="WebRTC build for Telegram"
 HOMEPAGE="https://github.com/desktop-app/tg_owt"
 
-TG_OWT_COMMIT="91d836dc84a16584c6ac52b36c04c0de504d9c34"
+TG_OWT_COMMIT="575fb17d2853c43329e45f6693370f5e41668055"
 LIBYUV_COMMIT="ad890067f661dc747a975bc55ba3767fe30d4452"
 SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
 	https://archive.org/download/libyuv-${LIBYUV_COMMIT}.tar/libyuv-${LIBYUV_COMMIT}.tar.gz"
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="amd64 ~ppc64"
+KEYWORDS="~amd64 ~ppc64"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of
@@ -104,10 +104,13 @@ src_install() {
 	cmake_src_install
 
 	# Save about 15MB of useless headers
+	rm -r "${ED}/usr/include/tg_owt/base/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die
 	rm -r "${ED}/usr/include/tg_owt/third_party" || die
 
 	# Install third_party/libyuv anyway...
 	dodir /usr/include/tg_owt/third_party/libyuv/include
-	cd "${S}/src/third_party/libyuv/include"
-	find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/third_party/libyuv/include/{}" \;
+	cd "${S}/src/third_party/libyuv/include" || die
+	find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/third_party/libyuv/include/{}" \; || die
 }


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-11-16 10:08 Jakov Smolić
  0 siblings, 0 replies; 46+ messages in thread
From: Jakov Smolić @ 2021-11-16 10:08 UTC (permalink / raw
  To: gentoo-commits

commit:     8c94857119f0b0263f0285d87150fb4c6d34f63a
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 16 10:08:09 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Tue Nov 16 10:08:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8c948571

media-libs/tg_owt: Stabilize 0_pre20210914 amd64, #823870

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210914.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
index 44dc8909be7b..7b86c6adb9d5 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="amd64 ~ppc64"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2021-12-10 21:31 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2021-12-10 21:31 UTC (permalink / raw
  To: gentoo-commits

commit:     8752a72ac657fa92ccb22dde4d24e939917171ab
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Fri Dec 10 15:15:19 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Dec 10 21:29:35 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8752a72a

media-libs/tg_owt: Drop old

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                       |   1 -
 media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild | 113 -----------------------
 2 files changed, 114 deletions(-)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 6342eb38fb94..70bfd2264067 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,3 +1,2 @@
 DIST libyuv-ad890067f661dc747a975bc55ba3767fe30d4452.tar.gz 473845 BLAKE2B 664be51c166440e6b03fa98f65d907efc446800804058a5ea7fdf944e12cb1237a1487e83fbe9a2f1ce4c73521234e43632f921ad0333507737d81e1cb23ce8f SHA512 f97529b80a786e2e92443caabebd6d85a42641e10c3d2940b0f69bedf3b8a96c69c3247abddd059c4ddd6f78107ab7214222a4267a559fc2086c8edf5ea1afbc
-DIST tg_owt-0_pre20210626.tar.gz 16264716 BLAKE2B de500e02789516527c814d0aba87cf1d0e772747f06acff7ac9295508c6e6bce1915cd3a703df618ff17ba8e04dc194538a6ef859fa85b301bb63eceab2c339a SHA512 a5d10011c427d8685bcf0743c356ff8c58c3cad6c59ac2409298b30b15cb04233889a5ed0a18107ac5b3477eee96741fdc85176d4330c866e8e3329753be7d73
 DIST tg_owt-0_pre20210914.tar.gz 16266351 BLAKE2B 048d6a77046b10af63f4e5c1530b6aeb9d423702a6e34e6e0082a10b06262e19c30aa766cc9ea38549605d8d2cc08bfcd5a4e715ab53c46031c23938f94af27e SHA512 bd46393d9a85fa38fcd560af4f68a4868b25528b134731070e8578217cb0b9bb8b5cf7b3990f619d321ba373e5630a52e467e14d93f71b24de3a5b3e591b8866

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
deleted file mode 100644
index 5a261d38d4b2..000000000000
--- a/media-libs/tg_owt/tg_owt-0_pre20210626-r1.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 2020-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="WebRTC build for Telegram"
-HOMEPAGE="https://github.com/desktop-app/tg_owt"
-
-TG_OWT_COMMIT="91d836dc84a16584c6ac52b36c04c0de504d9c34"
-LIBYUV_COMMIT="ad890067f661dc747a975bc55ba3767fe30d4452"
-SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
-	https://archive.org/download/libyuv-${LIBYUV_COMMIT}.tar/libyuv-${LIBYUV_COMMIT}.tar.gz"
-S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
-# Fetch libyuv archive from: https://chromium.googlesource.com/libyuv/libyuv/+archive/${LIBYUV_COMMIT}.tar.gz
-
-LICENSE="BSD"
-SLOT="0/${PV##*pre}"
-KEYWORDS="amd64 ~ppc64"
-IUSE="screencast +X"
-
-# This package's USE flags may change the ABI and require a rebuild of
-#  dependent pacakges. As such, one should make sure to depend on
-#  media-libs/tg_owt[x=,y=,z=] for any package that uses this.
-
-# Bundled libs:
-# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
-# - libsrtp (project uses private APIs)
-# - pffft (no stable versioning, patched)
-# media-libs/libjpeg-turbo is required for libyuv
-DEPEND="
-	dev-cpp/abseil-cpp:=[cxx17(+)]
-	dev-libs/libevent:=
-	dev-libs/openssl:=
-	dev-libs/protobuf:=
-	media-libs/libjpeg-turbo:=
-	>=media-libs/libvpx-1.10.0:=
-	media-libs/openh264:=
-	media-libs/opus
-	media-video/ffmpeg:=
-	net-libs/usrsctp
-	screencast? (
-		dev-libs/glib:2
-		media-video/pipewire:=
-	)
-	X? (
-		x11-libs/libX11
-		x11-libs/libXcomposite
-		x11-libs/libXdamage
-		x11-libs/libXext
-		x11-libs/libXfixes
-		x11-libs/libXrender
-		x11-libs/libXrandr
-		x11-libs/libXtst
-	)
-"
-RDEPEND="${DEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}/tg_owt-0_pre20210626-allow-disabling-pipewire.patch"
-	"${FILESDIR}/tg_owt-0_pre20210626-allow-disabling-X11.patch"
-	"${FILESDIR}/tg_owt-0_pre20210626-allow-disabling-pulseaudio.patch"
-)
-
-src_unpack() {
-	unpack "${P}.tar.gz"
-	cd "${S}/src/third_party/libyuv" || die
-	unpack "libyuv-${LIBYUV_COMMIT}.tar.gz"
-}
-
-src_prepare() {
-	# libvpx source files aren't included in the repository
-	sed -i '/include(cmake\/libvpx.cmake)/d' CMakeLists.txt || die
-
-	# libopenh264 has GENERATED files with yasm that aren't excluded by
-	# EXCLUDE_FROM_ALL, and I have no clue how to avoid this.
-	# These source files aren't used with system-openh264, anyway.
-	sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	# Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
-	# see https://bugs.gentoo.org/754012
-	append-cppflags '-DNDEBUG'
-
-	local mycmakeargs=(
-		-DTG_OWT_USE_X11=$(usex X)
-		-DTG_OWT_USE_PIPEWIRE=$(usex screencast)
-
-		# Not required by net-im/telegram-desktop right now, I'd rather avoid
-		#  the (ABI compatibility) headache.
-		-DTG_OWT_BUILD_AUDIO_BACKENDS=OFF
-		#-DTG_OWT_BUILD_AUDIO_BACKENDS=$(usex alsa)
-		#-DTG_OWT_BUILD_PULSE_BACKEND=$(usex pulseaudio)
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	# Save about 15MB of useless headers
-	rm -r "${ED}/usr/include/tg_owt/third_party" || die
-
-	# Install third_party/libyuv anyway...
-	dodir /usr/include/tg_owt/third_party/libyuv/include
-	cd "${S}/src/third_party/libyuv/include" || die
-	find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/third_party/libyuv/include/{}" \; || die
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-01-07 17:01 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2022-01-07 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     f1bc29956bd4926ed3fe75611613d425c9c15b08
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  7 16:58:05 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan  7 17:00:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1bc2995

media-libs/tg_owt: bump year

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20211207.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
index 18cbb71439e7..a2ef4bd232ec 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-01-07 17:01 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2022-01-07 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     8f8870253a062d47d799f636b6f64c9549c815ab
Author:     Yongxiang Liang <tanekliang <AT> gmail <DOT> com>
AuthorDate: Sat Dec 25 17:30:22 2021 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan  7 17:00:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f887025

media-libs/tg_owt: keyword ~riscv

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yongxiang Liang <tanekliang <AT> gmail.com>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20211207.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
index a0f20c6643ce..18cbb71439e7 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="~amd64 ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-01-07 17:01 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2022-01-07 17:01 UTC (permalink / raw
  To: gentoo-commits

commit:     a1552a487b536c9c923be8fad8fb8886fd0e3619
Author:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  7 17:00:22 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Jan  7 17:00:45 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1552a48

media-libs/tg_owt: fix IndirectInherits

Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20210914.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
index 7b86c6adb9d5..bf747e3836fc 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210914.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2020-2021 Gentoo Authors
+# Copyright 2020-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake
+inherit flag-o-matic cmake
 
 DESCRIPTION="WebRTC build for Telegram"
 HOMEPAGE="https://github.com/desktop-app/tg_owt"


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-01-10  8:38 Agostino Sarubbo
  0 siblings, 0 replies; 46+ messages in thread
From: Agostino Sarubbo @ 2022-01-10  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9adcf02e42e53b80d4567b340667e19464124ef1
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 10 08:37:14 2022 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Mon Jan 10 08:37:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9adcf02e

media-libs/tg_owt: amd64 stable wrt bug #830807

Package-Manager: Portage-3.0.28, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20211207.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
index a2ef4bd232ec..b6dc20152178 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-02-07  6:32 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2022-02-07  6:32 UTC (permalink / raw
  To: gentoo-commits

commit:     f8811fdae9fe24ad8c344ebc6a74072b791a633c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb  7 06:31:30 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb  7 06:31:30 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8811fda

media-libs/tg_owt: Keyword 0_pre20211207 arm64, #830712

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20211207.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
index b6dc20152178..a1476f496136 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20211207.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="amd64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-03-20 20:40 Arthur Zamarin
  0 siblings, 0 replies; 46+ messages in thread
From: Arthur Zamarin @ 2022-03-20 20:40 UTC (permalink / raw
  To: gentoo-commits

commit:     3beba9bb3916c62b0a698b5ff110c77423bfe558
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 20 20:40:22 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sun Mar 20 20:40:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3beba9bb

media-libs/tg_owt: Stabilize 0_pre20220209 amd64, #835686

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20220209.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20220209.ebuild b/media-libs/tg_owt/tg_owt-0_pre20220209.ebuild
index 7e7a27774fea..c67d2f3d5870 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20220209.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20220209.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-07-20  5:15 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2022-07-20  5:15 UTC (permalink / raw
  To: gentoo-commits

commit:     303d82f58d26dc7b9be2fbe59d0e46f537f8f536
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 20 05:14:40 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jul 20 05:14:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=303d82f5

media-libs/tg_owt: drop now-global USE=screencast definitions

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/metadata.xml | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/media-libs/tg_owt/metadata.xml b/media-libs/tg_owt/metadata.xml
index fe3b79cfdcca..76591833456c 100644
--- a/media-libs/tg_owt/metadata.xml
+++ b/media-libs/tg_owt/metadata.xml
@@ -9,7 +9,4 @@
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>
 	</maintainer>
-	<use>
-		<flag name="screencast">Enable support for remote desktop and screen cast using <pkg>media-video/pipewire</pkg></flag>
-	</use>
 </pkgmetadata>


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-08-03 17:40 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2022-08-03 17:40 UTC (permalink / raw
  To: gentoo-commits

commit:     4ea530c548408b19894cc078170fa9088803423c
Author:     peeweep <peeweep <AT> 0x0 <DOT> ee>
AuthorDate: Wed Aug  3 05:54:49 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Wed Aug  3 17:39:24 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ea530c5

media-libs/tg_owt: fix gcc12 build fail

Closes: https://bugs.gentoo.org/863245

Signed-off-by: peeweep <peeweep <AT> 0x0.ee>
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20220507.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild b/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
index 384b3d7cafce..250abab72fbf 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
@@ -59,6 +59,7 @@ BDEPEND="virtual/pkgconfig"
 PATCHES=(
 	"${FILESDIR}/tg_owt-0_pre20220507-allow-disabling-X11.patch"
 	"${FILESDIR}/tg_owt-0_pre20220507-unbundle-crc32c.patch"
+	"${FILESDIR}/tg_owt-0_pre20220209-gcc-12-cstdint.patch"
 )
 
 src_unpack() {


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2022-12-02 22:49 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2022-12-02 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     11bcc0a2885e17d50c089306c3e57dda4907bdb2
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Wed Nov 30 00:18:33 2022 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Fri Dec  2 22:48:27 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11bcc0a2

media-libs/tg_owt: Minor comment change

Reflect findings in dependent package

Bug: https://bugs.gentoo.org/866055
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/28478
Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20220507.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild b/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
index 250abab72fbf..12eb43df9234 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
@@ -23,6 +23,8 @@ IUSE="screencast +X"
 # This package's USE flags may change the ABI and require a rebuild of
 #  dependent pacakges. As such, one should make sure to depend on
 #  media-libs/tg_owt[x=,y=,z=] for any package that uses this.
+# Furthermore, the -DNDEBUG preprocessor flag should be defined by any
+#  dependent package, failure to do so will change the ABI in the header files.
 
 # Bundled libs:
 # - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
@@ -85,7 +87,7 @@ src_prepare() {
 
 src_configure() {
 	# Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
-	# see https://bugs.gentoo.org/754012
+	# See https://bugs.gentoo.org/754012
 	# EAPI 8 still wipes this flag.
 	append-cppflags '-DNDEBUG'
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-01-21 16:53 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2023-01-21 16:53 UTC (permalink / raw
  To: gentoo-commits

commit:     5d3bcbb236f2350bf36d08ac8c3536b713aacc2e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 21 16:52:59 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 16:52:59 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d3bcbb2

media-libs/tg_owt: Stabilize 0_pre20220507 amd64, #887547

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20220507.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild b/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
index 12eb43df9234..aeaa01e382a6 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20220507.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2022 Gentoo Authors
+# Copyright 2020-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-01-22 23:36 Georgy Yakovlev
  0 siblings, 0 replies; 46+ messages in thread
From: Georgy Yakovlev @ 2023-01-22 23:36 UTC (permalink / raw
  To: gentoo-commits

commit:     df67ea2f8f0c618907e73d432ec2448f6fe9d5f5
Author:     mid-kid <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Fri Jan 20 22:52:08 2023 +0000
Commit:     Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org>
CommitDate: Sun Jan 22 23:25:43 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df67ea2f

media-libs/tg_owt: Bump to 0_pre20230105

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                    |   2 +
 media-libs/tg_owt/metadata.xml                |   3 +
 media-libs/tg_owt/tg_owt-0_pre20230105.ebuild | 122 ++++++++++++++++++++++++++
 3 files changed, 127 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index c9992c75fd83..3ae8c7c46969 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,3 +1,5 @@
+DIST libyuv-00950840d1c9bcbb3eb6ebc5aac5793e71166c8b.tar.bz2 426626 BLAKE2B efae062f124e3711bab9db232e5f956f09683d6743f54407bf89eeda1bb6ffbc9b82fc250bd709f06b94c28bc8bbb239a28262a002e7b7a2044f31c1432304bb SHA512 bfe2ad76c911986727d0c8b6ee85028fea382fad1eaebbff77a116f848388417719acaea11506936e8160d8dfa46f27a9a3d544b3db356e4c58aa81f493a6912
 DIST libyuv-ad890067f661dc747a975bc55ba3767fe30d4452.tar.gz 473845 BLAKE2B 664be51c166440e6b03fa98f65d907efc446800804058a5ea7fdf944e12cb1237a1487e83fbe9a2f1ce4c73521234e43632f921ad0333507737d81e1cb23ce8f SHA512 f97529b80a786e2e92443caabebd6d85a42641e10c3d2940b0f69bedf3b8a96c69c3247abddd059c4ddd6f78107ab7214222a4267a559fc2086c8edf5ea1afbc
 DIST tg_owt-0_pre20220209.tar.gz 16501237 BLAKE2B fb04aca8803645cc107a7e7fbab8d6020ad91f487ece0445aba29dd1127270e8b3a33d51bb35cfc916168df78cbdc98987610b39fd2cf7b86821b4f9733783c9 SHA512 0a35ce3379887b115117188aa8dce44bf89e23ad6f9fab7320a1cd55cdd534bae4c240778a37cb9588cd6acea1e7a83c22c113d608f7bfd5272ee22bb2773af3
 DIST tg_owt-0_pre20220507.tar.gz 15799740 BLAKE2B f12f3ecdfb0c7cfdae12af4734ddf22da4d95fd991b8a8ba17515f9d5c22a2f12b81967c0af15ac150c99129701c50c9384ea0e0240bf2366e176c833b14f7db SHA512 6902c65a1be0bcf300f08c274109ed53cdf92b7aff35915045c3989899fc2584cce3fe9df0e8ac29e708fcc575453fe5a6affaea85787f9c4fcc3bcde3b85711
+DIST tg_owt-0_pre20230105.tar.gz 13822416 BLAKE2B 05004dafaefd748d836f3508d3800bcb15d0bc9894b83340746e85763bff4b77d3dd1fb732eeaf86324b9afbec69be49b172ae7f70d959a7a65ce01b64fb6205 SHA512 70b4ada620cf19acf981abcefcbac1609fe04c51deef0332e288d59c4e7efe98625817c641b92967b4f37217f94e49aa0fc296fcfbb214c08cb63030b1427f54

diff --git a/media-libs/tg_owt/metadata.xml b/media-libs/tg_owt/metadata.xml
index 76591833456c..4dd0b956cc49 100644
--- a/media-libs/tg_owt/metadata.xml
+++ b/media-libs/tg_owt/metadata.xml
@@ -9,4 +9,7 @@
 		<email>proxy-maint@gentoo.org</email>
 		<name>Proxy Maintainers</name>
 	</maintainer>
+	<upstream>
+		<remote-id type="github">desktop-app/tg_owt</remote-id>
+	</upstream>
 </pkgmetadata>

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild
new file mode 100644
index 000000000000..d7a92a7d199d
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild
@@ -0,0 +1,122 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="WebRTC build for Telegram"
+HOMEPAGE="https://github.com/desktop-app/tg_owt"
+
+TG_OWT_COMMIT="5098730b9eb6173f0b52068fe2555b7c1015123a"
+LIBYUV_COMMIT="00950840d1c9bcbb3eb6ebc5aac5793e71166c8b"
+SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
+	https://gitlab.com/chromiumsrc/libyuv/-/archive/${LIBYUV_COMMIT}/libyuv-${LIBYUV_COMMIT}.tar.bz2"
+S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
+# Upstream libyuv: https://chromium.googlesource.com/libyuv/libyuv
+
+LICENSE="BSD"
+SLOT="0/${PV##*pre}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="screencast +X"
+
+# This package's USE flags may change the ABI and require a rebuild of
+#  dependent pacakges. As such, one should make sure to depend on
+#  media-libs/tg_owt[x=,y=,z=] for any package that uses this.
+# Furthermore, the -DNDEBUG preprocessor flag should be defined by any
+#  dependent package, failure to do so will change the ABI in the header files.
+
+# Bundled libs:
+# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
+# - libsrtp (project uses private APIs)
+# - pffft (no stable versioning, patched)
+RDEPEND="
+	>=dev-cpp/abseil-cpp-20220623.1:=
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	media-libs/libjpeg-turbo:=
+	>=media-libs/libvpx-1.10.0:=
+	media-libs/openh264:=
+	media-libs/opus
+	media-video/ffmpeg:=
+	dev-libs/crc32c
+	screencast? (
+		dev-libs/glib:2
+		media-video/pipewire:=
+	)
+	X? (
+		x11-libs/libX11
+		x11-libs/libXcomposite
+		x11-libs/libXdamage
+		x11-libs/libXext
+		x11-libs/libXfixes
+		x11-libs/libXrender
+		x11-libs/libXrandr
+		x11-libs/libXtst
+	)
+"
+DEPEND="${RDEPEND}
+	screencast? (
+		media-libs/libglvnd
+		media-libs/mesa
+		x11-libs/libdrm
+	)
+"
+BDEPEND="virtual/pkgconfig"
+
+src_unpack() {
+	unpack "${P}.tar.gz"
+	unpack "libyuv-${LIBYUV_COMMIT}.tar.bz2"
+	mv -T "libyuv-${LIBYUV_COMMIT}" "${S}/src/third_party/libyuv" || die
+}
+
+src_prepare() {
+	# libopenh264 has GENERATED files with yasm that aren't excluded by
+	# EXCLUDE_FROM_ALL, and I have no clue how to avoid this.
+	# These source files aren't used with system-openh264, anyway.
+	sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die
+
+	# The sources for these aren't available, avoid needing them
+	sed -e '/include(cmake\/libcrc32c.cmake)/d' \
+		-e '/include(cmake\/libabsl.cmake)/d' -i CMakeLists.txt || die
+
+	# "lol" said the scorpion, "lmao"
+	sed -i '/if (BUILD_SHARED_LIBS)/{n;n;s/WARNING/DEBUG/}' CMakeLists.txt || die
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	# Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
+	# See https://bugs.gentoo.org/754012
+	# EAPI 8 still wipes this flag.
+	append-cppflags '-DNDEBUG'
+
+	local mycmakeargs=(
+		-DTG_OWT_USE_X11=$(usex X)
+		-DTG_OWT_USE_PIPEWIRE=$(usex screencast)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# Save about 15MB of useless headers
+	rm -r "${ED}/usr/include/tg_owt/rtc_base/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/third_party" || die
+
+	# Install a few headers anyway, as required by net-im/telegram-desktop...
+	local headers=(
+		third_party/libyuv/include
+		rtc_base/third_party/sigslot
+		rtc_base/third_party/base64
+	)
+	for dir in "${headers[@]}"; do
+		pushd "${S}/src/${dir}" > /dev/null || die
+		find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die
+		popd > /dev/null || die
+	done
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-03-30 17:57 Arthur Zamarin
  0 siblings, 0 replies; 46+ messages in thread
From: Arthur Zamarin @ 2023-03-30 17:57 UTC (permalink / raw
  To: gentoo-commits

commit:     a108eb2e5d89d4171a3a7aee7ea819107bec16e9
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 30 17:57:36 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 30 17:57:36 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a108eb2e

media-libs/tg_owt: Stabilize 0_pre20230105 amd64, #901825

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20230105.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild
index d7a92a7d199d..2ae5b33250ff 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild
@@ -17,7 +17,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-05-07  7:22 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2023-05-07  7:22 UTC (permalink / raw
  To: gentoo-commits

commit:     2ca832f60f2ffa78cfc7eac09d509fc99ca5561a
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Sun Apr 30 17:41:03 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun May  7 07:21:41 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ca832f6

media-libs/tg_owt: Bump to 0_pre20230428

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |   2 +
 media-libs/tg_owt/tg_owt-0_pre20230428.ebuild | 130 ++++++++++++++++++++++++++
 2 files changed, 132 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 888e31f0a89e..5804ff969d27 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,2 +1,4 @@
+DIST libsrtp-a566a9cfcd619e8327784aa7cff4a1276dc1e895.tar.gz 636836 BLAKE2B 496afcb80f67a8f76104e338408d4930475daadaf3f7cd2d673336aef938986876995e475a4d932424d7f99f6a339bad360f566d6fd3719316eaf8241970cf8d SHA512 930e665434e80e8a26d81b785563c915619b546a9a0af0455a14278816997074add852fae107027f4899415cb0ab47ffbf9492bea76b94b10f558b52098bbf92
 DIST libyuv-00950840d1c9bcbb3eb6ebc5aac5793e71166c8b.tar.bz2 426626 BLAKE2B efae062f124e3711bab9db232e5f956f09683d6743f54407bf89eeda1bb6ffbc9b82fc250bd709f06b94c28bc8bbb239a28262a002e7b7a2044f31c1432304bb SHA512 bfe2ad76c911986727d0c8b6ee85028fea382fad1eaebbff77a116f848388417719acaea11506936e8160d8dfa46f27a9a3d544b3db356e4c58aa81f493a6912
 DIST tg_owt-0_pre20230105.tar.gz 13822416 BLAKE2B 05004dafaefd748d836f3508d3800bcb15d0bc9894b83340746e85763bff4b77d3dd1fb732eeaf86324b9afbec69be49b172ae7f70d959a7a65ce01b64fb6205 SHA512 70b4ada620cf19acf981abcefcbac1609fe04c51deef0332e288d59c4e7efe98625817c641b92967b4f37217f94e49aa0fc296fcfbb214c08cb63030b1427f54
+DIST tg_owt-0_pre20230428.tar.gz 13725816 BLAKE2B c854de42696e397ea7101b7536f940c5424ebeae4105b84c9d3ef39242409b450e3cf38b7319ede7eb185667b78f4d4fb72c046880495f300205dff4d553be3a SHA512 883be1ba54db10462dadf0ef0e03270535972eed37d7fec745bd660faa67eabc539bfa88122a9c64a895cba97fb1d1a67ff6ee590ad002480ad327736f07284e

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
new file mode 100644
index 000000000000..03a1cd70a5c9
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
@@ -0,0 +1,130 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="WebRTC build for Telegram"
+HOMEPAGE="https://github.com/desktop-app/tg_owt"
+
+TG_OWT_COMMIT="9d120195334db4f232c925529aa7601656dc59d7"
+LIBYUV_COMMIT="00950840d1c9bcbb3eb6ebc5aac5793e71166c8b"
+LIBSRTP_COMMIT="a566a9cfcd619e8327784aa7cff4a1276dc1e895"
+SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
+	https://gitlab.com/chromiumsrc/libyuv/-/archive/${LIBYUV_COMMIT}/libyuv-${LIBYUV_COMMIT}.tar.bz2
+	https://github.com/cisco/libsrtp/archive/${LIBSRTP_COMMIT}.tar.gz -> libsrtp-${LIBSRTP_COMMIT}.tar.gz"
+S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
+# Upstream libyuv: https://chromium.googlesource.com/libyuv/libyuv
+
+LICENSE="BSD"
+SLOT="0/${PV##*pre}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="screencast +X"
+
+# This package's USE flags may change the ABI and require a rebuild of
+#  dependent pacakges. As such, one should make sure to depend on
+#  media-libs/tg_owt[x=,y=,z=] for any package that uses this.
+# Furthermore, the -DNDEBUG preprocessor flag should be defined by any
+#  dependent package, failure to do so will change the ABI in the header files.
+
+# Bundled libs:
+# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
+# - libsrtp (project uses private APIs)
+# - pffft (no stable versioning, patched)
+RDEPEND="
+	>=dev-cpp/abseil-cpp-20220623.1:=
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	media-libs/libjpeg-turbo:=
+	>=media-libs/libvpx-1.10.0:=
+	media-libs/openh264:=
+	media-libs/opus
+	media-video/ffmpeg:=
+	dev-libs/crc32c
+	screencast? (
+		dev-libs/glib:2
+		media-video/pipewire:=
+	)
+	X? (
+		x11-libs/libX11
+		x11-libs/libXcomposite
+		x11-libs/libXdamage
+		x11-libs/libXext
+		x11-libs/libXfixes
+		x11-libs/libXrender
+		x11-libs/libXrandr
+		x11-libs/libXtst
+	)
+"
+DEPEND="${RDEPEND}
+	screencast? (
+		media-libs/libglvnd
+		media-libs/mesa
+		x11-libs/libdrm
+	)
+"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+	"${FILESDIR}/tg_owt-0_pre20230105-gcc-13-cstdint.patch"
+)
+
+src_unpack() {
+	unpack "${P}.tar.gz"
+	unpack "libyuv-${LIBYUV_COMMIT}.tar.bz2"
+	mv -T "libyuv-${LIBYUV_COMMIT}" "${S}/src/third_party/libyuv" || die
+	unpack "libsrtp-${LIBSRTP_COMMIT}.tar.gz"
+	mv -T "libsrtp-${LIBSRTP_COMMIT}" "${S}/src/third_party/libsrtp" || die
+}
+
+src_prepare() {
+	# libopenh264 has GENERATED files with yasm that aren't excluded by
+	# EXCLUDE_FROM_ALL, and I have no clue how to avoid this.
+	# These source files aren't used with system-openh264, anyway.
+	sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die
+
+	# The sources for these aren't available, avoid needing them
+	sed -e '/include(cmake\/libcrc32c.cmake)/d' \
+		-e '/include(cmake\/libabsl.cmake)/d' -i CMakeLists.txt || die
+
+	# "lol" said the scorpion, "lmao"
+	sed -i '/if (BUILD_SHARED_LIBS)/{n;n;s/WARNING/DEBUG/}' CMakeLists.txt || die
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	# Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
+	# See https://bugs.gentoo.org/754012
+	# EAPI 8 still wipes this flag.
+	append-cppflags '-DNDEBUG'
+
+	local mycmakeargs=(
+		-DTG_OWT_USE_X11=$(usex X)
+		-DTG_OWT_USE_PIPEWIRE=$(usex screencast)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# Save about 15MB of useless headers
+	rm -r "${ED}/usr/include/tg_owt/rtc_base/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/third_party" || die
+
+	# Install a few headers anyway, as required by net-im/telegram-desktop...
+	local headers=(
+		third_party/libyuv/include
+		rtc_base/third_party/sigslot
+		rtc_base/third_party/base64
+	)
+	for dir in "${headers[@]}"; do
+		pushd "${S}/src/${dir}" > /dev/null || die
+		find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die
+		popd > /dev/null || die
+	done
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-05-18  7:12 Joonas Niilola
  0 siblings, 0 replies; 46+ messages in thread
From: Joonas Niilola @ 2023-05-18  7:12 UTC (permalink / raw
  To: gentoo-commits

commit:     c48d91f0b6e9cc06c1684663ced222c1f9c83e59
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 07:11:14 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu May 18 07:12:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c48d91f0

media-libs/tg_owt: Stabilize 0_pre20230428 amd64, #906617

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20230428.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
index 03a1cd70a5c9..5f8e1700be4b 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-05-18  7:12 Joonas Niilola
  0 siblings, 0 replies; 46+ messages in thread
From: Joonas Niilola @ 2023-05-18  7:12 UTC (permalink / raw
  To: gentoo-commits

commit:     d7a89ede1c9c15dbfba70faeef5ccd1d5bcfb394
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu May 18 07:12:32 2023 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu May 18 07:12:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a89ede

media-libs/tg_owt: add missing BDEPEND for xorg-proto

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20230428.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
index 5f8e1700be4b..aa2f3437b3fc 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20230428.ebuild
@@ -63,6 +63,7 @@ DEPEND="${RDEPEND}
 		media-libs/mesa
 		x11-libs/libdrm
 	)
+	X? ( x11-base/xorg-proto )
 "
 BDEPEND="virtual/pkgconfig"
 


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-10-07 22:26 Ionen Wolkens
  0 siblings, 0 replies; 46+ messages in thread
From: Ionen Wolkens @ 2023-10-07 22:26 UTC (permalink / raw
  To: gentoo-commits

commit:     b450c9525c1cd4237456cb85de82bed0e92e44f9
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Wed Oct  4 05:55:02 2023 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 22:25:08 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b450c952

media-libs/tg_owt: Bump to 0_pre20230921

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |   2 +
 media-libs/tg_owt/tg_owt-0_pre20230921.ebuild | 129 ++++++++++++++++++++++++++
 2 files changed, 131 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 5804ff969d27..125c9ca67754 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,4 +1,6 @@
 DIST libsrtp-a566a9cfcd619e8327784aa7cff4a1276dc1e895.tar.gz 636836 BLAKE2B 496afcb80f67a8f76104e338408d4930475daadaf3f7cd2d673336aef938986876995e475a4d932424d7f99f6a339bad360f566d6fd3719316eaf8241970cf8d SHA512 930e665434e80e8a26d81b785563c915619b546a9a0af0455a14278816997074add852fae107027f4899415cb0ab47ffbf9492bea76b94b10f558b52098bbf92
 DIST libyuv-00950840d1c9bcbb3eb6ebc5aac5793e71166c8b.tar.bz2 426626 BLAKE2B efae062f124e3711bab9db232e5f956f09683d6743f54407bf89eeda1bb6ffbc9b82fc250bd709f06b94c28bc8bbb239a28262a002e7b7a2044f31c1432304bb SHA512 bfe2ad76c911986727d0c8b6ee85028fea382fad1eaebbff77a116f848388417719acaea11506936e8160d8dfa46f27a9a3d544b3db356e4c58aa81f493a6912
+DIST libyuv-04821d1e7d60845525e8db55c7bcd41ef5be9406.tar.bz2 418856 BLAKE2B a72e1f75491785b272b0ded46368a67aadb643278e5764d16dcd902ab7e4139d8664ffbacd940f30113ce3171e0b0846fe0d6111ced17c5b08f326cd61b2af14 SHA512 ff9cfbb61a1361e959740d00c741dc6fbe71ca7c61770abc35f70aada402df3884d7d5992ae79472dfe3d7641154d4f13065593fee41bf8eae924e26cc654117
 DIST tg_owt-0_pre20230105.tar.gz 13822416 BLAKE2B 05004dafaefd748d836f3508d3800bcb15d0bc9894b83340746e85763bff4b77d3dd1fb732eeaf86324b9afbec69be49b172ae7f70d959a7a65ce01b64fb6205 SHA512 70b4ada620cf19acf981abcefcbac1609fe04c51deef0332e288d59c4e7efe98625817c641b92967b4f37217f94e49aa0fc296fcfbb214c08cb63030b1427f54
 DIST tg_owt-0_pre20230428.tar.gz 13725816 BLAKE2B c854de42696e397ea7101b7536f940c5424ebeae4105b84c9d3ef39242409b450e3cf38b7319ede7eb185667b78f4d4fb72c046880495f300205dff4d553be3a SHA512 883be1ba54db10462dadf0ef0e03270535972eed37d7fec745bd660faa67eabc539bfa88122a9c64a895cba97fb1d1a67ff6ee590ad002480ad327736f07284e
+DIST tg_owt-0_pre20230921.tar.gz 13726037 BLAKE2B 635342dd2127330542374e2f0f9acee91844c3c825fe4610dabe2996c541d9b3dc1681999910e5b591752f7e8f65a089c16b43216dd0c0b84f1a0e913e5a0213 SHA512 538d713e9ac91e9f676cdf301d11d7b5be0d67bda6283537e03b6322f3cca5c0234ff2f2b0b23e9046709f77ed282fc4d3526d3b21ee93478c50380be410372f

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
new file mode 100644
index 000000000000..26e4b6878d84
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
@@ -0,0 +1,129 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="WebRTC build for Telegram"
+HOMEPAGE="https://github.com/desktop-app/tg_owt"
+
+TG_OWT_COMMIT="592b14d13bf9103226e90a83571e24c49f6bfdcd"
+LIBYUV_COMMIT="04821d1e7d60845525e8db55c7bcd41ef5be9406"
+LIBSRTP_COMMIT="a566a9cfcd619e8327784aa7cff4a1276dc1e895"
+SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
+	https://gitlab.com/chromiumsrc/libyuv/-/archive/${LIBYUV_COMMIT}/libyuv-${LIBYUV_COMMIT}.tar.bz2
+	https://github.com/cisco/libsrtp/archive/${LIBSRTP_COMMIT}.tar.gz -> libsrtp-${LIBSRTP_COMMIT}.tar.gz"
+S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
+# Upstream libyuv: https://chromium.googlesource.com/libyuv/libyuv
+
+LICENSE="BSD"
+SLOT="0/${PV##*pre}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+IUSE="screencast +X"
+
+# This package's USE flags may change the ABI and require a rebuild of
+#  dependent pacakges. As such, one should make sure to depend on
+#  media-libs/tg_owt[x=,y=,z=] for any package that uses this.
+# Furthermore, the -DNDEBUG preprocessor flag should be defined by any
+#  dependent package, failure to do so will change the ABI in the header files.
+
+# Bundled libs:
+# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
+# - libsrtp (project uses private APIs)
+# - pffft (no stable versioning, patched)
+RDEPEND="
+	>=dev-cpp/abseil-cpp-20220623.1:=
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	media-libs/libjpeg-turbo:=
+	>=media-libs/libvpx-1.10.0:=
+	media-libs/openh264:=
+	media-libs/opus
+	media-video/ffmpeg:=
+	dev-libs/crc32c
+	screencast? (
+		dev-libs/glib:2
+		media-video/pipewire:=
+	)
+	X? (
+		x11-libs/libX11
+		x11-libs/libXcomposite
+		x11-libs/libXdamage
+		x11-libs/libXext
+		x11-libs/libXfixes
+		x11-libs/libXrender
+		x11-libs/libXrandr
+		x11-libs/libXtst
+	)
+"
+DEPEND="${RDEPEND}
+	screencast? (
+		media-libs/libglvnd
+		media-libs/mesa
+		x11-libs/libdrm
+	)
+"
+BDEPEND="
+	virtual/pkgconfig
+	X? ( x11-base/xorg-proto )
+"
+
+src_unpack() {
+	unpack "${P}.tar.gz"
+	unpack "libyuv-${LIBYUV_COMMIT}.tar.bz2"
+	mv -T "libyuv-${LIBYUV_COMMIT}" "${S}/src/third_party/libyuv" || die
+	unpack "libsrtp-${LIBSRTP_COMMIT}.tar.gz"
+	mv -T "libsrtp-${LIBSRTP_COMMIT}" "${S}/src/third_party/libsrtp" || die
+}
+
+src_prepare() {
+	# libopenh264 has GENERATED files with yasm that aren't excluded by
+	# EXCLUDE_FROM_ALL, and I have no clue how to avoid this.
+	# These source files aren't used with system-openh264, anyway.
+	sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die
+
+	# The sources for these aren't available, avoid needing them
+	sed -e '/include(cmake\/libcrc32c.cmake)/d' \
+		-e '/include(cmake\/libabsl.cmake)/d' -i CMakeLists.txt || die
+
+	# "lol" said the scorpion, "lmao"
+	sed -i '/if (BUILD_SHARED_LIBS)/{n;n;s/WARNING/DEBUG/}' CMakeLists.txt || die
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	# Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
+	# See https://bugs.gentoo.org/754012
+	# EAPI 8 still wipes this flag.
+	append-cppflags '-DNDEBUG'
+
+	local mycmakeargs=(
+		-DTG_OWT_USE_X11=$(usex X)
+		-DTG_OWT_USE_PIPEWIRE=$(usex screencast)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# Save about 15MB of useless headers
+	rm -r "${ED}/usr/include/tg_owt/rtc_base/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/third_party" || die
+
+	# Install a few headers anyway, as required by net-im/telegram-desktop...
+	local headers=(
+		third_party/libyuv/include
+		rtc_base/third_party/sigslot
+		rtc_base/third_party/base64
+	)
+	for dir in "${headers[@]}"; do
+		pushd "${S}/src/${dir}" > /dev/null || die
+		find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die
+		popd > /dev/null || die
+	done
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2023-10-31  1:07 Yixun Lan
  0 siblings, 0 replies; 46+ messages in thread
From: Yixun Lan @ 2023-10-31  1:07 UTC (permalink / raw
  To: gentoo-commits

commit:     65e8c55912b7e54113532ab8839054df24fa9614
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Mon Oct 30 21:17:23 2023 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Tue Oct 31 01:07:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65e8c559

media-libs/tg_owt: Drop old

Closes: https://github.com/gentoo/gentoo/pull/33597
Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |   1 -
 media-libs/tg_owt/tg_owt-0_pre20230105.ebuild | 126 --------------------------
 2 files changed, 127 deletions(-)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 125c9ca67754..b51802b5a4be 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,6 +1,5 @@
 DIST libsrtp-a566a9cfcd619e8327784aa7cff4a1276dc1e895.tar.gz 636836 BLAKE2B 496afcb80f67a8f76104e338408d4930475daadaf3f7cd2d673336aef938986876995e475a4d932424d7f99f6a339bad360f566d6fd3719316eaf8241970cf8d SHA512 930e665434e80e8a26d81b785563c915619b546a9a0af0455a14278816997074add852fae107027f4899415cb0ab47ffbf9492bea76b94b10f558b52098bbf92
 DIST libyuv-00950840d1c9bcbb3eb6ebc5aac5793e71166c8b.tar.bz2 426626 BLAKE2B efae062f124e3711bab9db232e5f956f09683d6743f54407bf89eeda1bb6ffbc9b82fc250bd709f06b94c28bc8bbb239a28262a002e7b7a2044f31c1432304bb SHA512 bfe2ad76c911986727d0c8b6ee85028fea382fad1eaebbff77a116f848388417719acaea11506936e8160d8dfa46f27a9a3d544b3db356e4c58aa81f493a6912
 DIST libyuv-04821d1e7d60845525e8db55c7bcd41ef5be9406.tar.bz2 418856 BLAKE2B a72e1f75491785b272b0ded46368a67aadb643278e5764d16dcd902ab7e4139d8664ffbacd940f30113ce3171e0b0846fe0d6111ced17c5b08f326cd61b2af14 SHA512 ff9cfbb61a1361e959740d00c741dc6fbe71ca7c61770abc35f70aada402df3884d7d5992ae79472dfe3d7641154d4f13065593fee41bf8eae924e26cc654117
-DIST tg_owt-0_pre20230105.tar.gz 13822416 BLAKE2B 05004dafaefd748d836f3508d3800bcb15d0bc9894b83340746e85763bff4b77d3dd1fb732eeaf86324b9afbec69be49b172ae7f70d959a7a65ce01b64fb6205 SHA512 70b4ada620cf19acf981abcefcbac1609fe04c51deef0332e288d59c4e7efe98625817c641b92967b4f37217f94e49aa0fc296fcfbb214c08cb63030b1427f54
 DIST tg_owt-0_pre20230428.tar.gz 13725816 BLAKE2B c854de42696e397ea7101b7536f940c5424ebeae4105b84c9d3ef39242409b450e3cf38b7319ede7eb185667b78f4d4fb72c046880495f300205dff4d553be3a SHA512 883be1ba54db10462dadf0ef0e03270535972eed37d7fec745bd660faa67eabc539bfa88122a9c64a895cba97fb1d1a67ff6ee590ad002480ad327736f07284e
 DIST tg_owt-0_pre20230921.tar.gz 13726037 BLAKE2B 635342dd2127330542374e2f0f9acee91844c3c825fe4610dabe2996c541d9b3dc1681999910e5b591752f7e8f65a089c16b43216dd0c0b84f1a0e913e5a0213 SHA512 538d713e9ac91e9f676cdf301d11d7b5be0d67bda6283537e03b6322f3cca5c0234ff2f2b0b23e9046709f77ed282fc4d3526d3b21ee93478c50380be410372f

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild
deleted file mode 100644
index 33ea8cfeff34..000000000000
--- a/media-libs/tg_owt/tg_owt-0_pre20230105.ebuild
+++ /dev/null
@@ -1,126 +0,0 @@
-# Copyright 2020-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit cmake flag-o-matic
-
-DESCRIPTION="WebRTC build for Telegram"
-HOMEPAGE="https://github.com/desktop-app/tg_owt"
-
-TG_OWT_COMMIT="5098730b9eb6173f0b52068fe2555b7c1015123a"
-LIBYUV_COMMIT="00950840d1c9bcbb3eb6ebc5aac5793e71166c8b"
-SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
-	https://gitlab.com/chromiumsrc/libyuv/-/archive/${LIBYUV_COMMIT}/libyuv-${LIBYUV_COMMIT}.tar.bz2"
-S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
-# Upstream libyuv: https://chromium.googlesource.com/libyuv/libyuv
-
-LICENSE="BSD"
-SLOT="0/${PV##*pre}"
-KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv"
-IUSE="screencast +X"
-
-# This package's USE flags may change the ABI and require a rebuild of
-#  dependent pacakges. As such, one should make sure to depend on
-#  media-libs/tg_owt[x=,y=,z=] for any package that uses this.
-# Furthermore, the -DNDEBUG preprocessor flag should be defined by any
-#  dependent package, failure to do so will change the ABI in the header files.
-
-# Bundled libs:
-# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
-# - libsrtp (project uses private APIs)
-# - pffft (no stable versioning, patched)
-RDEPEND="
-	>=dev-cpp/abseil-cpp-20220623.1:=
-	dev-libs/openssl:=
-	dev-libs/protobuf:=
-	media-libs/libjpeg-turbo:=
-	>=media-libs/libvpx-1.10.0:=
-	media-libs/openh264:=
-	media-libs/opus
-	media-video/ffmpeg:=
-	dev-libs/crc32c
-	screencast? (
-		dev-libs/glib:2
-		media-video/pipewire:=
-	)
-	X? (
-		x11-libs/libX11
-		x11-libs/libXcomposite
-		x11-libs/libXdamage
-		x11-libs/libXext
-		x11-libs/libXfixes
-		x11-libs/libXrender
-		x11-libs/libXrandr
-		x11-libs/libXtst
-	)
-"
-DEPEND="${RDEPEND}
-	screencast? (
-		media-libs/libglvnd
-		media-libs/mesa
-		x11-libs/libdrm
-	)
-"
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=(
-	"${FILESDIR}/tg_owt-0_pre20230105-gcc-13-cstdint.patch"
-)
-
-src_unpack() {
-	unpack "${P}.tar.gz"
-	unpack "libyuv-${LIBYUV_COMMIT}.tar.bz2"
-	mv -T "libyuv-${LIBYUV_COMMIT}" "${S}/src/third_party/libyuv" || die
-}
-
-src_prepare() {
-	# libopenh264 has GENERATED files with yasm that aren't excluded by
-	# EXCLUDE_FROM_ALL, and I have no clue how to avoid this.
-	# These source files aren't used with system-openh264, anyway.
-	sed -i '/include(cmake\/libopenh264.cmake)/d' CMakeLists.txt || die
-
-	# The sources for these aren't available, avoid needing them
-	sed -e '/include(cmake\/libcrc32c.cmake)/d' \
-		-e '/include(cmake\/libabsl.cmake)/d' -i CMakeLists.txt || die
-
-	# "lol" said the scorpion, "lmao"
-	sed -i '/if (BUILD_SHARED_LIBS)/{n;n;s/WARNING/DEBUG/}' CMakeLists.txt || die
-
-	cmake_src_prepare
-}
-
-src_configure() {
-	# Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
-	# See https://bugs.gentoo.org/754012
-	# EAPI 8 still wipes this flag.
-	append-cppflags '-DNDEBUG'
-
-	local mycmakeargs=(
-		-DTG_OWT_USE_X11=$(usex X)
-		-DTG_OWT_USE_PIPEWIRE=$(usex screencast)
-	)
-	cmake_src_configure
-}
-
-src_install() {
-	cmake_src_install
-
-	# Save about 15MB of useless headers
-	rm -r "${ED}/usr/include/tg_owt/rtc_base/third_party" || die
-	rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die
-	rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die
-	rm -r "${ED}/usr/include/tg_owt/third_party" || die
-
-	# Install a few headers anyway, as required by net-im/telegram-desktop...
-	local headers=(
-		third_party/libyuv/include
-		rtc_base/third_party/sigslot
-		rtc_base/third_party/base64
-	)
-	for dir in "${headers[@]}"; do
-		pushd "${S}/src/${dir}" > /dev/null || die
-		find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die
-		popd > /dev/null || die
-	done
-}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2024-01-02  6:06 WANG Xuerui
  0 siblings, 0 replies; 46+ messages in thread
From: WANG Xuerui @ 2024-01-02  6:06 UTC (permalink / raw
  To: gentoo-commits

commit:     13281f2eba5a45f02c147b5b68dccb3a41c9fc62
Author:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  2 04:45:48 2024 +0000
Commit:     WANG Xuerui <xen0n <AT> gentoo <DOT> org>
CommitDate: Tue Jan  2 06:06:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13281f2e

media-libs/tg_owt: keyword 0_pre20230921 for ~loong

Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20230921.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
index 26e4b6878d84..ddf5dafbb446 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020-2023 Gentoo Authors
+# Copyright 2020-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2024-03-03 22:12 Sam James
  0 siblings, 0 replies; 46+ messages in thread
From: Sam James @ 2024-03-03 22:12 UTC (permalink / raw
  To: gentoo-commits

commit:     178944fbd4f77895ca5e93e3bd016c264ba3ffff
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 22:11:58 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 22:11:58 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=178944fb

media-libs/tg_owt: Stabilize 0_pre20230921 amd64, #915992

Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-libs/tg_owt/tg_owt-0_pre20230921.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild b/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
index ddf5dafbb446..15ec3d79c4d6 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20230921.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
 
 LICENSE="BSD"
 SLOT="0/${PV##*pre}"
-KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv"
 IUSE="screencast +X"
 
 # This package's USE flags may change the ABI and require a rebuild of


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2024-09-04  2:32 Yixun Lan
  0 siblings, 0 replies; 46+ messages in thread
From: Yixun Lan @ 2024-09-04  2:32 UTC (permalink / raw
  To: gentoo-commits

commit:     6fc4f1b7b32b542680334ad180d518c5b87df52f
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Fri Aug 30 19:11:05 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Wed Sep  4 02:30:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6fc4f1b7

media-libs/tg_owt: Bump to 0_pre20240804

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 media-libs/tg_owt/Manifest                    |   1 +
 media-libs/tg_owt/tg_owt-0_pre20240804.ebuild | 123 ++++++++++++++++++++++++++
 2 files changed, 124 insertions(+)

diff --git a/media-libs/tg_owt/Manifest b/media-libs/tg_owt/Manifest
index 5807307f49bd..4662aea91114 100644
--- a/media-libs/tg_owt/Manifest
+++ b/media-libs/tg_owt/Manifest
@@ -1,3 +1,4 @@
 DIST libsrtp-a566a9cfcd619e8327784aa7cff4a1276dc1e895.tar.gz 636836 BLAKE2B 496afcb80f67a8f76104e338408d4930475daadaf3f7cd2d673336aef938986876995e475a4d932424d7f99f6a339bad360f566d6fd3719316eaf8241970cf8d SHA512 930e665434e80e8a26d81b785563c915619b546a9a0af0455a14278816997074add852fae107027f4899415cb0ab47ffbf9492bea76b94b10f558b52098bbf92
 DIST libyuv-04821d1e7d60845525e8db55c7bcd41ef5be9406.tar.bz2 418856 BLAKE2B a72e1f75491785b272b0ded46368a67aadb643278e5764d16dcd902ab7e4139d8664ffbacd940f30113ce3171e0b0846fe0d6111ced17c5b08f326cd61b2af14 SHA512 ff9cfbb61a1361e959740d00c741dc6fbe71ca7c61770abc35f70aada402df3884d7d5992ae79472dfe3d7641154d4f13065593fee41bf8eae924e26cc654117
 DIST tg_owt-0_pre20230921.tar.gz 13726037 BLAKE2B 635342dd2127330542374e2f0f9acee91844c3c825fe4610dabe2996c541d9b3dc1681999910e5b591752f7e8f65a089c16b43216dd0c0b84f1a0e913e5a0213 SHA512 538d713e9ac91e9f676cdf301d11d7b5be0d67bda6283537e03b6322f3cca5c0234ff2f2b0b23e9046709f77ed282fc4d3526d3b21ee93478c50380be410372f
+DIST tg_owt-0_pre20240804.tar.gz 11722734 BLAKE2B 084bedf7ae20ba173244851e82749dba31ba1320d83d021876f12350ecaa2fb03e47857fdc8013c87df6cae6e9250ec78548b498f35a92d305a28070475f36e4 SHA512 12bc17f39569f8b09c793d0e65b82926325c8d9046454e385ef7c82ab26f4e39e8f44f7491c80be71743abd78565bca50023b62365437fc8e43fc23d1b64840b

diff --git a/media-libs/tg_owt/tg_owt-0_pre20240804.ebuild b/media-libs/tg_owt/tg_owt-0_pre20240804.ebuild
new file mode 100644
index 000000000000..97066f754f7b
--- /dev/null
+++ b/media-libs/tg_owt/tg_owt-0_pre20240804.ebuild
@@ -0,0 +1,123 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake flag-o-matic
+
+DESCRIPTION="WebRTC build for Telegram"
+HOMEPAGE="https://github.com/desktop-app/tg_owt"
+
+TG_OWT_COMMIT="dc17143230b5519f3c1a8da0079e00566bd4c5a8"
+LIBYUV_COMMIT="04821d1e7d60845525e8db55c7bcd41ef5be9406"
+LIBSRTP_COMMIT="a566a9cfcd619e8327784aa7cff4a1276dc1e895"
+SRC_URI="https://github.com/desktop-app/tg_owt/archive/${TG_OWT_COMMIT}.tar.gz -> ${P}.tar.gz
+	https://gitlab.com/chromiumsrc/libyuv/-/archive/${LIBYUV_COMMIT}/libyuv-${LIBYUV_COMMIT}.tar.bz2
+	https://github.com/cisco/libsrtp/archive/${LIBSRTP_COMMIT}.tar.gz -> libsrtp-${LIBSRTP_COMMIT}.tar.gz"
+S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
+# Upstream libyuv: https://chromium.googlesource.com/libyuv/libyuv
+
+LICENSE="BSD"
+SLOT="0/${PV##*pre}"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
+IUSE="screencast +X"
+
+# This package's USE flags may change the ABI and require a rebuild of
+#  dependent pacakges. As such, one should make sure to depend on
+#  media-libs/tg_owt[x=,y=,z=] for any package that uses this.
+# Furthermore, the -DNDEBUG preprocessor flag should be defined by any
+#  dependent package, failure to do so will change the ABI in the header files.
+
+# Bundled libs:
+# - libyuv (no stable versioning, www-client/chromium and media-libs/libvpx bundle it)
+# - libsrtp (project uses private APIs)
+# - pffft (no stable versioning, patched)
+RDEPEND="
+	>=dev-cpp/abseil-cpp-20230802.0:=
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	media-libs/libjpeg-turbo:=
+	>=media-libs/libvpx-1.10.0:=
+	media-libs/openh264:=
+	media-libs/opus
+	media-video/ffmpeg:=
+	dev-libs/crc32c
+	screencast? (
+		dev-libs/glib:2
+		media-video/pipewire:=
+	)
+	X? (
+		x11-libs/libX11
+		x11-libs/libXcomposite
+		x11-libs/libXdamage
+		x11-libs/libXext
+		x11-libs/libXfixes
+		x11-libs/libXrender
+		x11-libs/libXrandr
+		x11-libs/libXtst
+	)
+"
+DEPEND="${RDEPEND}
+	screencast? (
+		media-libs/libglvnd[X]
+		media-libs/mesa
+		x11-libs/libdrm
+	)
+"
+BDEPEND="
+	virtual/pkgconfig
+	X? ( x11-base/xorg-proto )
+"
+
+src_unpack() {
+	default
+
+	mv -T "libyuv-${LIBYUV_COMMIT}" "${S}/src/third_party/libyuv" || die
+	mv -T "libsrtp-${LIBSRTP_COMMIT}" "${S}/src/third_party/libsrtp" || die
+}
+
+src_prepare() {
+	# The sources for these aren't available, avoid needing them
+	sed -e '/include(cmake\/libcrc32c.cmake)/d' \
+		-e '/include(cmake\/libabsl.cmake)/d' -i CMakeLists.txt || die
+
+	# "lol" said the scorpion, "lmao"
+	sed -i '/if (BUILD_SHARED_LIBS)/{n;n;s/WARNING/DEBUG/}' CMakeLists.txt || die
+
+	cmake_src_prepare
+}
+
+src_configure() {
+	# Defined by -DCMAKE_BUILD_TYPE=Release, avoids crashes
+	# See https://bugs.gentoo.org/754012
+	# EAPI 8 still wipes this flag.
+	append-cppflags '-DNDEBUG'
+
+	local mycmakeargs=(
+		-DTG_OWT_USE_X11=$(usex X)
+		-DTG_OWT_USE_PIPEWIRE=$(usex screencast)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# Save about 15MB of useless headers
+	rm -r "${ED}/usr/include/tg_owt/rtc_base/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/common_audio/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/modules/third_party" || die
+	rm -r "${ED}/usr/include/tg_owt/third_party" || die
+
+	# Install a few headers anyway, as required by net-im/telegram-desktop...
+	local headers=(
+		third_party/libyuv/include
+		rtc_base/third_party/sigslot
+		rtc_base/third_party/base64
+	)
+	for dir in "${headers[@]}"; do
+		pushd "${S}/src/${dir}" > /dev/null || die
+		find -type f -name "*.h" -exec install -Dm644 '{}' "${ED}/usr/include/tg_owt/${dir}/{}" \; || die
+		popd > /dev/null || die
+	done
+}


^ permalink raw reply related	[flat|nested] 46+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/
@ 2024-09-07 23:36 Yixun Lan
  0 siblings, 0 replies; 46+ messages in thread
From: Yixun Lan @ 2024-09-07 23:36 UTC (permalink / raw
  To: gentoo-commits

commit:     a8aed1258794b4e7a5f0b68bc6e6b3ab41cf112e
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Sat Sep  7 10:04:50 2024 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Sat Sep  7 23:36:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8aed125

media-libs/tg_owt: Fix abseil-cpp requirement

tg_owt requires abseil-cpp to be built with c++17 or newer, this is the
first ebuild version to do so.

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 .../{tg_owt-0_pre20240804.ebuild => tg_owt-0_pre20240804-r1.ebuild}     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-libs/tg_owt/tg_owt-0_pre20240804.ebuild b/media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild
similarity index 99%
rename from media-libs/tg_owt/tg_owt-0_pre20240804.ebuild
rename to media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild
index 97066f754f7b..59214057bbec 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20240804.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20240804-r1.ebuild
@@ -33,7 +33,7 @@ IUSE="screencast +X"
 # - libsrtp (project uses private APIs)
 # - pffft (no stable versioning, patched)
 RDEPEND="
-	>=dev-cpp/abseil-cpp-20230802.0:=
+	>=dev-cpp/abseil-cpp-20240722.0:=
 	dev-libs/openssl:=
 	dev-libs/protobuf:=
 	media-libs/libjpeg-turbo:=


^ permalink raw reply related	[flat|nested] 46+ messages in thread

end of thread, other threads:[~2024-09-07 23:36 UTC | newest]

Thread overview: 46+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-06-28  8:38 [gentoo-commits] repo/gentoo:master commit in: media-libs/tg_owt/ Georgy Yakovlev
  -- strict thread matches above, loose matches on Subject: below --
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-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-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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox