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
 }

Reply via email to