summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorEsteve Varela Colominas <esteve.varela@gmail.com>2021-08-12 11:03:28 +0200
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-08-12 10:39:12 -0700
commit5f02a6813a0fce67287cc49bf1ddcd2712da2389 (patch)
treea38ea89ce754460ad0acdd98a081cbac15cc5560 /net-im
parentmedia-libs/tg_owt: Don't build audio backends (diff)
downloadgentoo-5f02a6813a0fce67287cc49bf1ddcd2712da2389.tar.gz
gentoo-5f02a6813a0fce67287cc49bf1ddcd2712da2389.tar.bz2
gentoo-5f02a6813a0fce67287cc49bf1ddcd2712da2389.zip
net-im/telegram-desktop: Rebuild whenever tg_owt flags change
The different USE flags of tg_owt affect the ABI compatibility of the library. Additionally, tdesktop itself uses some of the variables controlled by USE flags of the tg_owt package during compilation. As such, telegram-desktop should be rebuilt when *anything* about tg_owt changes... Bug: https://bugs.gentoo.org/807586 See-also: https://github.com/telegramdesktop/tdesktop/issues/16781 Thanks-to: Dmitry Baranov <reagentoo@gmail.com> Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-im')
-rw-r--r--net-im/telegram-desktop/metadata.xml1
-rw-r--r--net-im/telegram-desktop/telegram-desktop-2.8.11-r2.ebuild (renamed from net-im/telegram-desktop/telegram-desktop-2.8.11-r1.ebuild)4
2 files changed, 3 insertions, 2 deletions
diff --git a/net-im/telegram-desktop/metadata.xml b/net-im/telegram-desktop/metadata.xml
index bb15e2ab9e52..ffde9e742c69 100644
--- a/net-im/telegram-desktop/metadata.xml
+++ b/net-im/telegram-desktop/metadata.xml
@@ -12,5 +12,6 @@
<use>
<flag name="enchant">Enable the app-text/aspell spell-checking backend</flag>
<flag name="hunspell">Enable the app-text/hunspell spell-checking backend</flag>
+ <flag name="screencast">Enable support for remote desktop and screen cast using <pkg>media-video/pipewire</pkg></flag>
</use>
</pkgmetadata>
diff --git a/net-im/telegram-desktop/telegram-desktop-2.8.11-r1.ebuild b/net-im/telegram-desktop/telegram-desktop-2.8.11-r2.ebuild
index 7987cc94ec85..4a4734f72e0e 100644
--- a/net-im/telegram-desktop/telegram-desktop-2.8.11-r1.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-2.8.11-r2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${
LICENSE="BSD GPL-3-with-openssl-exception LGPL-2+"
SLOT="0"
KEYWORDS="amd64 ~ppc64"
-IUSE="+dbus enchant +gtk +hunspell +spell wayland webkit +X"
+IUSE="+dbus enchant +gtk +hunspell screencast +spell wayland webkit +X"
REQUIRED_USE="
spell? (
^^ ( enchant hunspell )
@@ -44,7 +44,7 @@ RDEPEND="
media-libs/openal
media-libs/opus:=
media-libs/rnnoise
- ~media-libs/tg_owt-0_pre20210626
+ ~media-libs/tg_owt-0_pre20210626[screencast=,X=]
media-video/ffmpeg:=[opus]
sys-libs/zlib:=[minizip]
dbus? (