summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-01 02:06:43 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-01 02:06:43 +0000
commitc635a4b7ddb6105bfc6fef130b188a087726677b (patch)
tree6707959596af4883f9621a0cdf56d35c06dbc63e /net-im
parent080d89feff80cae2fc974ff2f24d463141c20635 (diff)
gentoo auto-resync : 01:12:2024 - 02:06:42
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Manifest.gzbin8915 -> 8919 bytes
-rw-r--r--net-im/gajim/Manifest4
-rw-r--r--net-im/gajim/gajim-1.8.4-r1.ebuild (renamed from net-im/gajim/gajim-1.8.4.ebuild)3
-rw-r--r--net-im/gajim/gajim-1.9.5-r1.ebuild (renamed from net-im/gajim/gajim-1.9.5.ebuild)3
-rw-r--r--net-im/synapse/Manifest2
-rw-r--r--net-im/synapse/synapse-1.118.0-r1.ebuild2
-rw-r--r--net-im/telegram-desktop/Manifest5
-rw-r--r--net-im/telegram-desktop/files/tdesktop-5.8.3-webkit-no-wayland.patch16
-rw-r--r--net-im/telegram-desktop/telegram-desktop-5.8.3.ebuild (renamed from net-im/telegram-desktop/telegram-desktop-5.6.3.ebuild)65
9 files changed, 48 insertions, 52 deletions
diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz
index 7bfe09edbc71..fcc1f66cec1e 100644
--- a/net-im/Manifest.gz
+++ b/net-im/Manifest.gz
Binary files differ
diff --git a/net-im/gajim/Manifest b/net-im/gajim/Manifest
index 1a82e7596f4f..f9c619cf8450 100644
--- a/net-im/gajim/Manifest
+++ b/net-im/gajim/Manifest
@@ -8,7 +8,7 @@ EBUILD gajim-1.7.3-r1.ebuild 2826 BLAKE2B 3252f39b4fe60c4d049310e744851aa2883fb9
EBUILD gajim-1.7.3.ebuild 2609 BLAKE2B 3ca58a71c4b3e51fb605d031e55a6caa104d5e53e8d1e0e382a3b1bacc38859d0bb2598ce119b005f36b6ef0c67388ee2b7e4e03bfabfe257cd5c65c74e97d8a SHA512 49e1fcdd326c29f480d672bec91b941c3aa7a3d014a226ec8f87de7bf675a8909e5ab2af8afa788193f4c6bf378bc442951c6720e817887e810bd43d91d3d2c7
EBUILD gajim-1.8.0.ebuild 2986 BLAKE2B 87fda1d68756188525313fffab21464af480a523e91ff73f50ca23fc02f19a0e5e2286610cf045435365905e9791bf1bc049d999b684abfab73a9eb92e0e2ce7 SHA512 1983904536ac220949fe24a654b1a3575290742fd70fa318f983ab36e06ec985c11687bd2e0c888e7e0cd295eac44d498d6eb6e7ad848d3c2ec9fde91ba2ce77
EBUILD gajim-1.8.1.ebuild 3010 BLAKE2B 0b38044c5065c4613c2fdc6a4bf4afbb82cc0084d3d89338bf5b8f003c915694692d9eae4d1da47aa07e83e9d76371095de834573cca7c26453de43a7945b95c SHA512 6d455c55f3d5dfcd610c6741f29a2cd51fdb949a53d9ddd12402f3b03c2a892f36f3d6a8f75126992285dd12c17fce68406f4e26c8d3fc904efee17510491600
-EBUILD gajim-1.8.4.ebuild 3010 BLAKE2B 8513cbc42431b328551d85f7ef7404b6007151e315e3bd684cca1c8b70781b3a1c807c4e624220394532643a645a41afe1131ae947e71231585e2ba2b8aec2ca SHA512 cba71385d0d29065aadf75e8f4675dbac8f40e66603079999ac6faf9acffc4748eba6b395e89200a9a3320f33991cf2c4b4d37bf4dae1abf5a9401a64b9a7db0
+EBUILD gajim-1.8.4-r1.ebuild 2957 BLAKE2B 81fb0ee481dc27f789d07222f9fbeb04c045ed8bb97cf2d1786f60a59c7891826a57bd961717cb4e2c46019e40b03f552f92f6412cb65ba810d101565a5608d6 SHA512 c4163b55d81b179c454775a94a48916996d216a467107be9fcfd68ab976a4cd87ecb9e80b1713947020b6c63d6f143a65c83cec6936747654347c889ea34aa4c
EBUILD gajim-1.9.3.ebuild 3175 BLAKE2B 12baec5765436cec72e521bcfcf0dd0d56823f8133d22681ae827510ae764a968f51d7507651e7b330c955d78d4eb89e58e82a0e383bd91d864bf9b903e8ae07 SHA512 bcaf5c2649b7e3d151125b8db1aa16090953c433b9fb2bfbb70afae691c27478aadac3d5c8148b0d9e7488b87ec13967db4825b7899b95d662a28eb469cc5ced
-EBUILD gajim-1.9.5.ebuild 3152 BLAKE2B 131b3458e7fa41b8e981727e718c62dd400c9d1911be24d7a2e21c3424276869a8fc9677831e94e90dd3c1e95b89cdbdf6b0bf6671374eadc03307a274ca3bf0 SHA512 8b72f94689624bd4c43096221a6a5a37a1af8b60c4998629a3a35f1fde38fbb24f421c4836bf9bd6097d93ced238b68d8a67aad939a8a802a4701770988850f9
+EBUILD gajim-1.9.5-r1.ebuild 3099 BLAKE2B e448fecd5f84505acdedd612dee92f559d2515846b60d1c9b9ec11464f6123eb4f2503736bfb80184fa95ebe7cce18c35f8463daafd0ba6b3ae14c05b5a299b7 SHA512 e393c0bc1adee93988cdb25ea5289ac5c868e712aaacc089664b989f5b6ad3ed6c478d63769e5db150543422bb4942e2201b216af185d58169922055e562b8b1
MISC metadata.xml 815 BLAKE2B 37ae2afdfb03255bd4603856440ff96529aca09d85b1ad57e16e45784b93081738aac04c03f6f774a35f38e4be2789411e6d2e61f5283bbb01a74ca120f11b11 SHA512 a399b87e27fa06272cea267ded7b3792c8a0cd0abaeb477a27cbfa0a11a82043959a5d7d83256fd8e159858fe8c9a3571827f083b497641aa7636510a0b877d7
diff --git a/net-im/gajim/gajim-1.8.4.ebuild b/net-im/gajim/gajim-1.8.4-r1.ebuild
index fce6eb3d12d1..7030410f0fe9 100644
--- a/net-im/gajim/gajim-1.8.4.ebuild
+++ b/net-im/gajim/gajim-1.8.4-r1.ebuild
@@ -21,7 +21,7 @@ SLOT="0"
# when https://bugs.gentoo.org/912285 is fixed.
KEYWORDS="amd64 ~arm64 ~loong ~riscv x86"
-IUSE="+crypt geolocation jingle remote rst +spell upnp +webp"
+IUSE="+crypt geolocation jingle remote rst +spell +webp"
COMMON_DEPEND="
dev-libs/gobject-introspection[cairo(+)]
@@ -76,7 +76,6 @@ RDEPEND="${COMMON_DEPEND}
app-text/gspell[introspection]
app-text/hunspell
)
- upnp? ( net-libs/gupnp-igd:0[introspection] )
')"
python_compile() {
diff --git a/net-im/gajim/gajim-1.9.5.ebuild b/net-im/gajim/gajim-1.9.5-r1.ebuild
index faa3573bda5d..637a5bd20e0b 100644
--- a/net-im/gajim/gajim-1.9.5.ebuild
+++ b/net-im/gajim/gajim-1.9.5-r1.ebuild
@@ -20,7 +20,7 @@ SLOT="0"
# Rekeyword for ~long, ~x86 and ~riscv, when https://bugs.gentoo.org/937582 is fixed.
# KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
KEYWORDS="~amd64 ~arm64"
-IUSE="+crypt geolocation jingle remote rst +spell upnp +webp"
+IUSE="+crypt geolocation jingle remote rst +spell +webp"
COMMON_DEPEND="
dev-libs/gobject-introspection[cairo(+)]
@@ -76,7 +76,6 @@ RDEPEND="${COMMON_DEPEND}
app-text/gspell[introspection]
app-text/hunspell
)
- upnp? ( net-libs/gupnp-igd:0[introspection] )
')"
python_compile() {
diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest
index d34452e20fd7..470b979a5497 100644
--- a/net-im/synapse/Manifest
+++ b/net-im/synapse/Manifest
@@ -107,7 +107,7 @@ DIST windows_x86_64_gnullvm-0.52.5.crate 433246 BLAKE2B f34328a6d100e092ecb34a63
DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6
EBUILD synapse-1.116.0-r5.ebuild 6337 BLAKE2B 401ff349b8fad4254fd39003ea4ab571f8a653f40e644a7adb6b7d4f3d152b98c63b4eb9e2c2babd4141173b2da2acf664f9ce8ffcad4e95622920ee78ae2d01 SHA512 a642c51e99ce64474e61a376d4072fdd7f68b8d428b927c4b280234ca41cb57b365f1cb6497a3489cdef63b1f9491a256b9174f09df7296249e7b888432c6951
EBUILD synapse-1.117.0-r1.ebuild 6544 BLAKE2B 76037ed2d12261eb1646ea12d974f0461c8243c7a1d775dbdd4fc9104aedd773b19f7581190998642ada6ee40e8ad3390a577df2305c79d535734274fdb583b2 SHA512 cb8d3d3a4a3f51faff5d3a4e375e0cea41eaedec8642f213505cb20910a8158f0920bfd8a1d8a36df71170f1ec4341dfe8001fe5c860f5c7f9c5f4cffe874b4f
-EBUILD synapse-1.118.0-r1.ebuild 6544 BLAKE2B 76037ed2d12261eb1646ea12d974f0461c8243c7a1d775dbdd4fc9104aedd773b19f7581190998642ada6ee40e8ad3390a577df2305c79d535734274fdb583b2 SHA512 cb8d3d3a4a3f51faff5d3a4e375e0cea41eaedec8642f213505cb20910a8158f0920bfd8a1d8a36df71170f1ec4341dfe8001fe5c860f5c7f9c5f4cffe874b4f
+EBUILD synapse-1.118.0-r1.ebuild 6543 BLAKE2B 777d96ba2480f07d09aedf19a51e68178eeeb5f9e1a1dfd3f5bfaa8d63720b5488b9125266d686a8474691335f58577c96b2d35398e9de6608ee0e6243fae54c SHA512 94c8be59590930fa5e14c84252e7f1202f5270b7aa5372e356af7d7b59302d0b709febfc8754cf1c0b03022de8de2e49d334cc2bbbae46dd9d0c560053c2a028
EBUILD synapse-1.119.0.ebuild 6561 BLAKE2B ce3c44f42f714ccaee76a82078cca01a815d8f0485bb1d8cc4f7fb855b811693ce96cdc05379f109ec240bec4e879da8d3e0a7925b203fca4d40de24fa799343 SHA512 f1f406cfe660d8cd746b2f8c8d6024fa83eb0c0579902d37716061db75dfbeea1290aa50dd3d3eaffa6aadcad855fb466c1780c4e810d80090ac6382fc13ec85
EBUILD synapse-1.120.0.ebuild 6351 BLAKE2B f84c973a830c8dd59cfa2d98cfae2552df2932676ba5e62ef176c47f9810705bab7e6707d50901ba6e7e62242e28ac230d400f1a21a2d125bd5e0e306e76db7a SHA512 44a0137331732a8bea9504c06088907e16aa1d81255e33c634c4c6d119f90e744df7676f6e75c62125aceeb3cedb230afa247423b1214d7a4d60ba12af5c544b
MISC metadata.xml 381 BLAKE2B 8bf85af089213456d20c9d66a4d9788ff209983f8fd98c9fb6cf03e03ab5c12c9d5518ff4d86f5d4fb2a9a1080516f1febfedf5b06b0cb8e101cdc035bb139f4 SHA512 e88fd7f735bc9ca0aced01f49ca539134b297a5c9c5ee633fe3de64626d6f4b4eb547326288abea9c161f2647852c23658dba17265e64254335870450f644307
diff --git a/net-im/synapse/synapse-1.118.0-r1.ebuild b/net-im/synapse/synapse-1.118.0-r1.ebuild
index 04e9b6d2928b..386f4def9f65 100644
--- a/net-im/synapse/synapse-1.118.0-r1.ebuild
+++ b/net-im/synapse/synapse-1.118.0-r1.ebuild
@@ -116,7 +116,7 @@ LICENSE+="
|| ( Apache-2.0 Boost-1.0 )
"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64"
+KEYWORDS="amd64 ~arm64 ~ppc64"
IUSE="postgres systemd test"
RESTRICT="!test? ( test )"
diff --git a/net-im/telegram-desktop/Manifest b/net-im/telegram-desktop/Manifest
index f4553f0250b6..87470343ccdf 100644
--- a/net-im/telegram-desktop/Manifest
+++ b/net-im/telegram-desktop/Manifest
@@ -3,10 +3,11 @@ AUX tdesktop-4.2.4-jemalloc-only-telegram-r1.patch 1307 BLAKE2B b27f65973a6fa8c8
AUX tdesktop-5.2.2-libdispatch.patch 1101 BLAKE2B 27cf706c7d77dbb9080cc9cf4891c83f0067b505bc5ae461f8ddfeb147c2ca04efa624f9e37fac9fe723cf704671eb4884c1e26316e0cc53d2c1825984ee7e75 SHA512 f1f6670476178a7b66ce080edbcdc5d49bbce685b08cc9e0dc98053ee9e2f70f106e0f7615b3f13a00e42171a8094053a35bbdcaca712d7ab87ff86de3d4509a
AUX tdesktop-5.2.2-qt6-no-wayland.patch 3630 BLAKE2B c573d04493233efc065a74644e0d8fcb5f61a6fd2fe8be7a15f6ee61d13934eeb62a848fa91f18f9684bee40833f4266cc949396ff08fe5f66bd55f6d9aaf056 SHA512 8c77d17e2cd1261a83701a0be967a38df054982319612dc69921604deb0eec380a16f6879137b0ba3b0e94a2aada33efbd0cbbd878097c2ef9dd1f873336536d
AUX tdesktop-5.7.2-cstring.patch 350 BLAKE2B f6a7922d7a4fc6c2230e82f8e31d69a456ba4726fc09ee1406d1b2a6bef12d3cdcec614a58f6c12b21a7cda6318d02cabba420ef293e1bcca9deb8f699298103 SHA512 36fac80b3c4212c15daf6cb4a912dd30031bede7c120509aadf44958d6a04af5647fcb4ca2bf158065d7fadd53a837e7f8e5a2b8ec32947afb32671d37652ff6
+AUX tdesktop-5.8.3-webkit-no-wayland.patch 547 BLAKE2B f1163a59d779d56c7e999f6fd451d7060c8c4087c55670321993d02f09e3a0e0688842b51bd6e9a50a459e4cf84e8e43ec530a977c900a32f6e5d8c19ef1b33e SHA512 4479315690d00480dc0005b6d198fca03e07935fb5231669b45d1f80ae4a4757e5ed9fdf855cc57ee01d1ad94e6b4447764500a74fe20f982afac65dde45d35f
DIST tdesktop-5.5.5-full.tar.gz 70112426 BLAKE2B 21cdb01d66ea1d1b7479995d790fc44d65248c807dafb25d865970a0d619483ccccd99c8d64b6853d8aa29c78c73010f14e720bf707c918e7c3bb5cb2428dde5 SHA512 88cd526fb02b7b0459cb1bd1b0c57147b2261e57c392d2cb62964015ef6b26e202fba717b35d74201c41becf0a5d78ef4d9d593b5666b3f0a0db646e40bfd1fc
-DIST tdesktop-5.6.3-full.tar.gz 70333924 BLAKE2B a42ded12ef7403153e36073cec5b1343d7c4f5e6db0db561b9df4db7f59157dcf57d5c487fbb6543305cdb1c4b4e772e1fd21037f79570f26fbc9bdc4522c4ee SHA512 0cce16f780f1350199d8a10a9eff6e8052888aede5d3839d3435acdfb34f445098ec24cac21d1950f704350c22bec86020e6c746706bb34c5533e2086e6cb597
DIST tdesktop-5.7.2-full.tar.gz 70396886 BLAKE2B 5e592e06f5c85290d06deb1ecef8e18bdafd5de3205046ddf0ca2574d480e95d3c81db55c0955d05251d9df3cf558edec9681603cdb0e85f39e2dac44f1c53d0 SHA512 55fa4f20ceae71f2b869c00abdcf6a27f505156f7b254e38a68a97ea34b09e2e9deeef1fec6c5633e93043fb2e9e9ea72502ec9daeed319c8de65cbe825ca916
+DIST tdesktop-5.8.3-full.tar.gz 70450970 BLAKE2B 475d70beaf08898d69888a7484409886f894f2327eaae3027b22d10bf0926369542141a959474f74c7a1bb7c50c8981f407a7695e363708dbdb32c4eed393d9a SHA512 272c677544fdca4e2a7e24a5821fb0e99f9caef4388d577c47442351ff1939837163fb2d83a2ec929b92c60197608ed968b5f98b180735218b6cf57cdd501327
EBUILD telegram-desktop-5.5.5.ebuild 8625 BLAKE2B 897d8c05f56262d293108c27f0e77b4caa77d8e572f7e93e035c0ebdf1077aec867dedd0362874eaddcea80da9ac631f3bba443eaa5bb4e93f89468a88128863 SHA512 278dca209afee79157ebb81aa772ceb31da88037c986c5370ec575e456247ef34bf1c9b7152ebbe46bd58d16b8742c9fea2a28518178a76056e37a4b394e903a
-EBUILD telegram-desktop-5.6.3.ebuild 8633 BLAKE2B ffb1ee84d2b595f68abb0274e86c131b44daea256452b086dea4b73a8eeb6c10897b78126211f8c4b6930b4ddb84ede3ad4ef411c76f183dece749170e1a1019 SHA512 8da0dd0a0734e6ea8427a1bee6f82f7f5158c8c3731e59ec07bb873bc34e0e2da0a43c1809c2e90e2aa62687210d47df1fe61bb2228cc9998a6a7131ef6e33e2
EBUILD telegram-desktop-5.7.2.ebuild 8674 BLAKE2B dfdf908bceb6f1b777e3d4eba6f7633548948a5eaf9e5336520482d0a69e2a2cc3c2bbfe7b840e54eb6806c51f15e3465c645bfbebe71e185a8354b803770d7c SHA512 a88799799cb507d6e8a45d45777bbe3f76c6782e6b1b919acbf67244112aa6fec3d75a0198c5b21f776b49e4230ae1883f657fca3f955ec18c721e7bf035cd16
+EBUILD telegram-desktop-5.8.3.ebuild 8272 BLAKE2B 7d10b6bcef659edf311dfec6cf5ca64707915059381950eb8512e0db860a4d9f72a63c4ae6bc545dba178d8390061f97fcae55761462adba638f207365648e95 SHA512 07a16f3b67cff991aae6d6241801e097f200427f29e1d32a30c32a8140d43fc777ff4ce71002e59f86b23d6b79284918729ae5d2eefb42f06d910a4b842421c1
MISC metadata.xml 1415 BLAKE2B ff67e288b209502228591761d9a7774a95b52cca610ddcfb4398b1aa6db264d84df36aec1f8f109679cd09d5858c8b8237bbf9fa0643fef4974864c5f9e1e192 SHA512 609618e13e7fd77b17797ca5f3fcd4a4a508f5f13a5a4c4a84e002f0634b44dd231b75a52635b65fbe76aad0e75fa6deb3b366dbff7e54316fe143367f6c0c89
diff --git a/net-im/telegram-desktop/files/tdesktop-5.8.3-webkit-no-wayland.patch b/net-im/telegram-desktop/files/tdesktop-5.8.3-webkit-no-wayland.patch
new file mode 100644
index 000000000000..b2235fbb4481
--- /dev/null
+++ b/net-im/telegram-desktop/files/tdesktop-5.8.3-webkit-no-wayland.patch
@@ -0,0 +1,16 @@
+Fix failure when building webkit without wayland support
+
+--- tdesktop-5.8.3-full.orig/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk.cpp
++++ tdesktop-5.8.3-full/Telegram/lib_webview/webview/platform/linux/webview_linux_webkitgtk.cpp
+@@ -730,9 +730,11 @@
+
+ void Instance::setOpaqueBg(QColor opaqueBg) {
+ if (_remoting) {
++#ifdef DESKTOP_APP_WEBVIEW_WAYLAND_COMPOSITOR
+ if (const auto widget = qobject_cast<QQuickWidget*>(_widget.get())) {
+ widget->setClearColor(opaqueBg);
+ }
++#endif
+
+ if (!_helper) {
+ return;
diff --git a/net-im/telegram-desktop/telegram-desktop-5.6.3.ebuild b/net-im/telegram-desktop/telegram-desktop-5.8.3.ebuild
index 9ffb2c1ca55c..b92f8063282b 100644
--- a/net-im/telegram-desktop/telegram-desktop-5.6.3.ebuild
+++ b/net-im/telegram-desktop/telegram-desktop-5.8.3.ebuild
@@ -16,17 +16,9 @@ S="${WORKDIR}/${MY_P}"
LICENSE="BSD GPL-3-with-openssl-exception LGPL-2+"
SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~loong ~riscv"
-IUSE="dbus enchant +fonts +jemalloc +libdispatch screencast qt6 qt6-imageformats wayland webkit +X"
-REQUIRED_USE="
- qt6-imageformats? ( qt6 )
-"
+KEYWORDS="~amd64 ~arm64 ~riscv"
+IUSE="dbus enchant +fonts +jemalloc +libdispatch screencast qt6 wayland webkit +X"
-KIMAGEFORMATS_RDEPEND="
- media-libs/libavif:=
- media-libs/libheif:=
- >=media-libs/libjxl-0.8.0:=
-"
CDEPEND="
!net-im/telegram-desktop-bin
app-arch/lz4:=
@@ -57,23 +49,19 @@ CDEPEND="
>=dev-qt/qtsvg-5.15:5
>=dev-qt/qtwidgets-5.15:5[png,X?]
kde-frameworks/kcoreaddons:5
- webkit? (
+ webkit? ( wayland? (
>=dev-qt/qtdeclarative-5.15:5
>=dev-qt/qtwayland-5.15:5[compositor(+)]
- )
+ ) )
)
qt6? (
>=dev-qt/qtbase-6.5:6=[dbus?,gui,network,opengl,wayland?,widgets,X?]
>=dev-qt/qtimageformats-6.5:6
>=dev-qt/qtsvg-6.5:6
- webkit? (
+ webkit? ( wayland? (
>=dev-qt/qtdeclarative-6.5:6
>=dev-qt/qtwayland-6.5:6[compositor,qml]
- )
- qt6-imageformats? (
- >=dev-qt/qtimageformats-6.5:6=
- ${KIMAGEFORMATS_RDEPEND}
- )
+ ) )
)
X? (
x11-libs/libxcb:=
@@ -85,7 +73,7 @@ RDEPEND="${CDEPEND}
"
DEPEND="${CDEPEND}
>=dev-cpp/cppgir-2.0_p20240315
- >=dev-cpp/ms-gsl-4
+ >=dev-cpp/ms-gsl-4.1.0
dev-cpp/expected-lite
dev-cpp/range-v3
"
@@ -103,6 +91,8 @@ PATCHES=(
"${FILESDIR}"/tdesktop-4.10.0-system-cppgir.patch
"${FILESDIR}"/tdesktop-5.2.2-qt6-no-wayland.patch
"${FILESDIR}"/tdesktop-5.2.2-libdispatch.patch
+ "${FILESDIR}"/tdesktop-5.7.2-cstring.patch
+ "${FILESDIR}"/tdesktop-5.8.3-webkit-no-wayland.patch
)
pkg_pretend() {
@@ -115,19 +105,6 @@ pkg_pretend() {
}
src_prepare() {
- # Bundle kde-frameworks/kimageformats for qt6, since it's impossible to
- # build in gentoo right now.
- if use qt6-imageformats; then
- sed -e 's/DESKTOP_APP_USE_PACKAGED_LAZY/TRUE/' -i \
- cmake/external/kimageformats/CMakeLists.txt || die
- printf '%s\n' \
- 'Q_IMPORT_PLUGIN(QAVIFPlugin)' \
- 'Q_IMPORT_PLUGIN(HEIFPlugin)' \
- 'Q_IMPORT_PLUGIN(QJpegXLPlugin)' \
- >> cmake/external/qt/qt_static_plugins/qt_static_plugins.cpp || die
- fi
- # kde-frameworks/kcoreaddons is bundled when using qt6.
-
# Happily fail if libraries aren't found...
find -type f \( -name 'CMakeLists.txt' -o -name '*.cmake' \) \
\! -path './Telegram/lib_webview/CMakeLists.txt' \
@@ -148,6 +125,12 @@ src_prepare() {
-i cmake/external/qt/package.cmake || die
fi
+ # Control automagic dep only needed when USE="webkit wayland"
+ if ! use webkit || ! use wayland; then
+ sed -e 's/QT_CONFIG(wayland_compositor_quick)/0/' \
+ -i Telegram/Telegram/lib_webview/webview/platform/linux/webview_linux_compositor.h
+ fi
+
cmake_src_prepare
}
@@ -164,11 +147,12 @@ src_configure() {
# The ABI of media-libs/tg_owt breaks if the -DNDEBUG flag doesn't keep
# the same state across both projects.
# See https://bugs.gentoo.org/866055
- append-cppflags '-DNDEBUG'
+ append-cppflags -DNDEBUG
# https://github.com/telegramdesktop/tdesktop/issues/17437#issuecomment-1001160398
use !libdispatch && append-cppflags -DCRL_FORCE_QT
+ local use_webkit_wayland=$(use webkit && use wayland && echo yes || echo no)
local qt=$(usex qt6 6 5)
local mycmakeargs=(
-DQT_VERSION_MAJOR=${qt}
@@ -180,11 +164,10 @@ src_configure() {
# Control automagic dependencies on certain packages
## Header-only lib, some git version.
-DCMAKE_DISABLE_FIND_PACKAGE_tl-expected=ON
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}Quick=$(usex !webkit)
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}QuickWidgets=$(usex !webkit)
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}Quick=${use_webkit_wayland}
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}QuickWidgets=${use_webkit_wayland}
-DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}WaylandClient=$(usex !wayland)
- ## Only used in Telegram/lib_webview/CMakeLists.txt
- -DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}WaylandCompositor=$(usex !webkit)
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}WaylandCompositor=${use_webkit_wayland}
## KF6CoreAddons is currently unavailable in ::gentoo
-DCMAKE_DISABLE_FIND_PACKAGE_KF${qt}CoreAddons=$(usex qt6)
@@ -250,12 +233,10 @@ pkg_postinst() {
ewarn "These integrations are only supported when built with Qt6."
ewarn
fi
- if use qt6 && ! use qt6-imageformats; then
- elog "Enable USE=qt6-imageformats for AVIF, HEIF and JpegXL support"
- elog
- fi
optfeature_header
if ! use qt6; then
- optfeature "AVIF, HEIF and JpegXL image support" kde-frameworks/kimageformats[avif,heif,jpegxl]
+ optfeature "AVIF, HEIF and JpegXL image support" kde-frameworks/kimageformats:5[avif,heif,jpegxl]
+ else
+ optfeature "AVIF, HEIF and JpegXL image support" kde-frameworks/kimageformats:6[avif,heif,jpegxl]
fi
}