summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2021-04-30 16:06:43 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-05-03 10:01:38 -0700
commita7f024200dab411bafaaf5207e115f75d521e847 (patch)
treeb80856894be8e34e077ae0799861c4991f8a0555 /media-libs/tg_owt
parentnet-im/telegram-desktop: bump to 2.7.4 (diff)
downloadgentoo-a7f024200dab411bafaaf5207e115f75d521e847.tar.gz
gentoo-a7f024200dab411bafaaf5207e115f75d521e847.tar.bz2
gentoo-a7f024200dab411bafaaf5207e115f75d521e847.zip
net-im/telegram-desktop: include patch upstream references
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/20616 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'media-libs/tg_owt')
-rw-r--r--media-libs/tg_owt/tg_owt-0_pre20210422.ebuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
index 9861bd952328..0c5ed6f7895c 100644
--- a/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
+++ b/media-libs/tg_owt/tg_owt-0_pre20210422.ebuild
@@ -42,11 +42,12 @@ S="${WORKDIR}/${PN}-${TG_OWT_COMMIT}"
src_unpack() {
unpack "${P}.tar.gz"
- cd "$S/src/third_party/libyuv" || die
+ cd "${S}/src/third_party/libyuv" || die
unpack "libyuv-${LIBYUV_COMMIT}.tar.gz"
}
src_prepare() {
+ # https://github.com/desktop-app/tg_owt/pull/55
eapply "${FILESDIR}/Allow-using-packaged-third_party.patch"
# We aren't installing any third_party headers
@@ -57,6 +58,7 @@ src_prepare() {
# Remove screen_drawer files that cause linking errors
# (not used right now I don't think, maybe in a future version)
+ # https://github.com/desktop-app/tg_owt/issues/58
sed -i -e '/desktop_capture\/screen_drawer\.cc/d' \
-e '/desktop_capture\/screen_drawer_lock_posix\.cc/d' CMakeLists.txt || die