summaryrefslogtreecommitdiff
path: root/net-im
diff options
context:
space:
mode:
Diffstat (limited to 'net-im')
-rw-r--r--net-im/Manifest.gzbin9072 -> 9084 bytes
-rw-r--r--net-im/neochat/Manifest4
-rw-r--r--net-im/neochat/neochat-24.05.1.ebuild (renamed from net-im/neochat/neochat-24.05.0.ebuild)2
-rw-r--r--net-im/synapse/Manifest2
-rw-r--r--net-im/synapse/synapse-1.107.0.ebuild2
-rw-r--r--net-im/telegram-desktop-bin/Manifest3
-rw-r--r--net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild64
-rw-r--r--net-im/telegram-desktop/Manifest2
-rw-r--r--net-im/telegram-desktop/telegram-desktop-5.1.5.ebuild249
-rw-r--r--net-im/tokodon/Manifest4
-rw-r--r--net-im/tokodon/tokodon-24.05.1.ebuild (renamed from net-im/tokodon/tokodon-24.05.0.ebuild)2
11 files changed, 326 insertions, 8 deletions
diff --git a/net-im/Manifest.gz b/net-im/Manifest.gz
index 64b93aec3019..6e24a8998f41 100644
--- a/net-im/Manifest.gz
+++ b/net-im/Manifest.gz
Binary files differ
diff --git a/net-im/neochat/Manifest b/net-im/neochat/Manifest
index 15afcd8b2009..7d18d04fd43a 100644
--- a/net-im/neochat/Manifest
+++ b/net-im/neochat/Manifest
@@ -1,5 +1,5 @@
DIST neochat-23.08.5.tar.xz 795564 BLAKE2B 1f6dec3376f059e9d70e8be5461719bc74d631a0f98b4d417cd5b8709b4ed1ce9fc48e90a57c8f32889ad2fbf3089f80d9b29a7a73a1944fb54db81f837c4a67 SHA512 936e8112818bc925121d71fcc23d43bc448387af7c8c7857f2ce8b5d128f1acedc9c3c2b6d66e50fb317418cbd144c5262e2fb9e6d80364d48e08e42b27316bf
-DIST neochat-24.05.0.tar.xz 976544 BLAKE2B 56f7822d0c078de8fa5716c291503c76f83395b8904163a8c1d44292eb90e5451a9aaabeedaa936a7223981fe2e0834257e0076bd343ba4df3b39e704723d69d SHA512 c61a40aebb8c4b27094ad282b2b32b065241e2c30bbd7ba03f32330d4002d6ff4dcc4cce68ff4bcb7d87af013daed0a2ce52b105edaf651631543607a443a73b
+DIST neochat-24.05.1.tar.xz 979604 BLAKE2B fb0f1134dccaa11a4068af14aa24379259143993263a0717a7e4cf0c1a016b50d27516ccf4ae60be28f8e91742f42d55bb1bafc7107e1eb55a7866a96c1eb8e3 SHA512 b8b2006b7ddd23d22e62968e58779babaede7ea8f7b0242ecbd5c0ebaeceefb361b5edcc59d035045654468f7287040157c0e71675276187e231ae9230a0ee7f
EBUILD neochat-23.08.5.ebuild 1602 BLAKE2B 6c61686fd79ae1514e303925ca932a12ab0d1169492409115386058742dabd9eed3c169a06e6efd6b14d0b83600e3477323e3768f7cda03d83f5d604a70eddc8 SHA512 3b377c54606bfbb077cdf937fefce82be8d0e202cffa7cfc500476f923133455c8270695bacb9870e2390470b1d80788c9ee72682f17aacbb2a8434eab05ea67
-EBUILD neochat-24.05.0.ebuild 1802 BLAKE2B f3c16a53ec654c1cc95528940e4ae7f7df1e9c1a91032e46f7d296d4e0d0d57c6988fdb03722ba40d91d2132683471ab15c3d7826b7817a934e48fcbdf932889 SHA512 ba07013842acdcea74b0aff3daa48a2b07afa5ec20fdffeed50705aab2bad8af4e36c6062562569190793d537ce3f160529238a219e8ca995a02e506ce43e7b4
+EBUILD neochat-24.05.1.ebuild 1802 BLAKE2B 1a2791b50fb0d356c7d6c091e41f75f32b9f1bce046cb20df9540675f7adfe55df7cce94f671444439829f5c6906534890263151bd9d711f20b683635b6522ea SHA512 3f2431931b490b552f96caa0ebb1d6eb5950ada623faf668692c24bea2662031a169a911482c969b357ac857bdac9c6e46a607678defa060cc4d33a21c867538
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6
diff --git a/net-im/neochat/neochat-24.05.0.ebuild b/net-im/neochat/neochat-24.05.1.ebuild
index f147308d800c..870303348683 100644
--- a/net-im/neochat/neochat-24.05.0.ebuild
+++ b/net-im/neochat/neochat-24.05.1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
ECM_HANDBOOK="optional"
ECM_TEST="true"
-KFMIN=6.0.0
+KFMIN=6.3.0
QTMIN=6.6.2
inherit ecm gear.kde.org
diff --git a/net-im/synapse/Manifest b/net-im/synapse/Manifest
index 6b686feae7e9..eacf961a1c83 100644
--- a/net-im/synapse/Manifest
+++ b/net-im/synapse/Manifest
@@ -145,6 +145,6 @@ DIST windows_x86_64_msvc-0.36.1.crate 661999 BLAKE2B 4cf967f10d4ce148bac96759816
DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6
EBUILD synapse-1.105.1.ebuild 5600 BLAKE2B 1b3e1902e789d64ca01a4faaf5972defe64d9d458301cfbbb7e2b4e7ab5b93063f6030bab400d64eb1b6a0de10d844a6120b3a0185cd853d18e357e1cb753917 SHA512 875fb702f5e21c4c2c2244dfc96f7dfb5bda91e8f7ad5a23db36ee280ff8117d46e0c69cdbfd11ce57b47b52af4002e375c2e349e2331e9187fdd46fd027f559
EBUILD synapse-1.106.0.ebuild 6081 BLAKE2B 45e55b677eb1547c82818a55873b6ce171da6be30d5727968df5f9716d0d8aa1b23d0fcbcef89972ed0ee9a65d50186454e4fa8aaee882c135e078ff9b7b21b5 SHA512 d4732babcd9d3f432178f27967b67ee84f75b41d47d5fa770e4266010d99d1f46fcc558b391f4824a679b17a2e240219a50ed1e4d86ae0d109ddea86657560f0
-EBUILD synapse-1.107.0.ebuild 6082 BLAKE2B 167592d6134d5ed7a77b02439665e7ab750fe30957fa186fb6f0c151ca00820024003bad000198c6effdd6017e83360f963f615facd0033cd7b0e6f1203e8b45 SHA512 a1496495fe5159ca7a6c48cb69d1d17b9d709fb1098822fbb95479007354639f352f147897c6a654f59fbae407a8220b015df08c06dc4bd3f1a1c290090ac724
+EBUILD synapse-1.107.0.ebuild 6081 BLAKE2B a24cb91218dee3c22bd6759774b4ff28df93f345b94f34ff6a264529eb0b1fd9a7ac37968d9967c48ad8052c7fced712e435bb23d78b082fdca2641fb6c42fb8 SHA512 c37621a1fd34b5b7db3e41e7a830160a63f958feb9dd81d12e3f090fd22502da4fa3549bdbb07fe2bfedd4f6232fbdea5d4cfce638a675fcf800f0d44c4a06bd
EBUILD synapse-1.108.0.ebuild 6183 BLAKE2B 3e36b2ffa854f37da2ed509d394c4aeec604320008760399dd4d0bcb57c498d526f0b2fddc6e1e40423a327f2be1278a9d3acd4b788541a81f732a11f571dd3a SHA512 e808bf44ef166adde87ba14b760cd74b8e9281bfd2343c961cc86a05bc99282289aa56bcd52e2315652f35a092cf14feb03b1f97a812fcdcbc2b32ebc18a064b
MISC metadata.xml 381 BLAKE2B 8bf85af089213456d20c9d66a4d9788ff209983f8fd98c9fb6cf03e03ab5c12c9d5518ff4d86f5d4fb2a9a1080516f1febfedf5b06b0cb8e101cdc035bb139f4 SHA512 e88fd7f735bc9ca0aced01f49ca539134b297a5c9c5ee633fe3de64626d6f4b4eb547326288abea9c161f2647852c23658dba17265e64254335870450f644307
diff --git a/net-im/synapse/synapse-1.107.0.ebuild b/net-im/synapse/synapse-1.107.0.ebuild
index 53b7ad2fee87..e6ccbcf09e1d 100644
--- a/net-im/synapse/synapse-1.107.0.ebuild
+++ b/net-im/synapse/synapse-1.107.0.ebuild
@@ -113,7 +113,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-bin/Manifest b/net-im/telegram-desktop-bin/Manifest
index 3c722d346253..ccb47308759b 100644
--- a/net-im/telegram-desktop-bin/Manifest
+++ b/net-im/telegram-desktop-bin/Manifest
@@ -1,7 +1,10 @@
DIST tdesktop-5.0.1.tar.gz 19444120 BLAKE2B 8ffc7605d834b9453f3fad4bec71f1e7942b313719df38d433813497d8ef534c79cae19e6decf1c3a911492df7f2808446e0e5113d0b6e041e4b424d7cbae0aa SHA512 703518a2b364d958737b20617fc7be678d413b2f87c9fd9de11ad98b557a7892df4446e4453e5cdc836b2815e99c3c531d6fb905461feb7772ca4d3aec35727c
DIST tdesktop-5.1.2.tar.gz 19517612 BLAKE2B ee6102bb31c8b5187de788ed81218a07044463cfdd77a7924325434e6a246bccc68a195e79e5cbd0f788b9a864aded82791737be301e2d68105df0a21d6eda54 SHA512 343cde52df1bde4eb978ad5b7bdaa5754f3a5b58ce56b19f01394abfbaf4a8edf1c0869db11bc83edd161bcb4835a1930fd5aee6bc9a9f366947ca2b4d93dfa7
+DIST tdesktop-5.1.4.tar.gz 19524673 BLAKE2B b52478e32ecf36ff6d7eb86bb3901d95c01d390c1c904a6f09cb51c238d53c8c90d72d171d1bcf43e8e36752c5f58367ac3458c4b13bef6d2f1e82917061beec SHA512 2d5f4af71037505a9830d930b35cc9e12e1d79342ac2695213ca71102be40ca501a0254b51d259b31e6ff69cc7272b63d3787e87a025e06ceb7f9a0bef0becb9
DIST tsetup.5.0.1.tar.xz 57003088 BLAKE2B 1d39eb3dc9de1a17a419f64d397b945e643f28efe3a979e16d48ee79b66db893a7bbc502c0a910db7ef95800e584b58af76f89f775e48506cc16c952b0744cc0 SHA512 1b6de1d515777f6c7ba2a8e8bb876c4c78a49822f968fb6c4a68ad0d2992827131eac00b596ed82e7933377762a67d7a84530d8ddcd7c77df68d7be88bd18025
DIST tsetup.5.1.2.tar.xz 57360928 BLAKE2B f9751c1658bb700a2cc272c06fb58d77541e5c779b3f026fa3835c664f008a72244e108b76f13e0930285e68764b6e9e60ce135176ecaa35b0f4980923ce5d1c SHA512 f8306997d21161cf10ec9312cb2008d54c312dbcb29aa1d6ce7d791699c38d561ce057ece5405b505a76018b7948aaefc80b45c2d7ae9354649e9ec2bb288ec9
+DIST tsetup.5.1.4.tar.xz 57386184 BLAKE2B 78c87be77b8a0e5402e90d719c5b26222183031b1259ec91e89da945f6d86d01fe891665c7e94ffa52f8153e72208ab107c1bf0555e86ca87febc0bb211c95ab SHA512 4f617ec2e31fce2812812c989656e933024267695fabb564cf19f92f570b9027a96dc34d873a41a4316fc3ba51977933f811ead98fd1d23c7c36a7355d046d18
EBUILD telegram-desktop-bin-5.0.1.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253
EBUILD telegram-desktop-bin-5.1.2.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253
+EBUILD telegram-desktop-bin-5.1.4.ebuild 1623 BLAKE2B 4e0ec6429b91f3b31f8b5f8fc46a2025a90fad67ec6d99f5177ef17c74ee3d7aece57be3a0e6dd03d32cdb6368bbb482c19ce9f41175a80f3fd402a6a9f16684 SHA512 5b60ef7442633f981d74851e835ae3a475bcef7ec411c7ebdf462f29d6c6429fe4dd0a260c75a52fbecbbe948566ee53265741e9dd7f5a3815a68d0c0e8c3253
MISC metadata.xml 501 BLAKE2B 94aa66404772e94f51d8c59e36d19e6454f37173aaac352fe3539bcc09e72c267e69001c41f8356f19ca2830107164144d907865ad7fb3ad1def8771f5ef6d9a SHA512 3cd8e818062cd40787f12c9530ed202ea23c3f60a70f1ab50c95a7b3310197590be5a75378c598dabe5a1fce310fa8acf409a36e7446b66c2046a109d59a5ff8
diff --git a/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild
new file mode 100644
index 000000000000..24722ca70535
--- /dev/null
+++ b/net-im/telegram-desktop-bin/telegram-desktop-bin-5.1.4.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop optfeature xdg
+
+DESCRIPTION="Official desktop client for Telegram (binary package)"
+HOMEPAGE="https://desktop.telegram.org"
+SRC_URI="
+ https://github.com/telegramdesktop/tdesktop/archive/v${PV}.tar.gz -> tdesktop-${PV}.tar.gz
+ amd64? ( https://updates.tdesktop.com/tlinux/tsetup.${PV}.tar.xz )
+"
+
+S="${WORKDIR}/Telegram"
+
+LICENSE="GPL-3-with-openssl-exception"
+SLOT="0"
+KEYWORDS="-* ~amd64"
+
+QA_PREBUILT="usr/bin/telegram-desktop"
+
+RDEPEND="
+ !net-im/telegram-desktop
+ sys-libs/glibc
+ dev-libs/glib:2
+ >=media-libs/fontconfig-2.13
+ media-libs/freetype:2
+ virtual/opengl
+ x11-libs/gtk+:3[X,wayland]
+ x11-libs/libX11
+ >=x11-libs/libxcb-1.10
+"
+
+src_prepare() {
+ default
+
+ sed -i -e \
+ 's/^Exec=@CMAKE_INSTALL_FULL_BINDIR@\/telegram-desktop/Exec=\/usr\/bin\/telegram-desktop/' \
+ "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service || die
+}
+
+src_install() {
+ newbin Telegram telegram-desktop
+
+ insinto /usr/share/TelegramDesktop/externalupdater.d/
+ newins - externalupdater <<<"${EPREFIX}/usr/bin/telegram-desktop"
+
+ local icon_size
+ for icon_size in 16 32 48 64 128 256 512; do
+ newicon -s "${icon_size}" \
+ "${WORKDIR}/tdesktop-${PV}/Telegram/Resources/art/icon${icon_size}.png" \
+ telegram.png
+ done
+
+ domenu "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.desktop
+ insinto /usr/share/dbus-1/services
+ doins "${WORKDIR}/tdesktop-${PV}"/lib/xdg/org.telegram.desktop.service
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ optfeature "spell checker support" app-text/enchant
+}
diff --git a/net-im/telegram-desktop/Manifest b/net-im/telegram-desktop/Manifest
index 7b003feab096..c8e8c4969918 100644
--- a/net-im/telegram-desktop/Manifest
+++ b/net-im/telegram-desktop/Manifest
@@ -5,7 +5,9 @@ AUX tdesktop-5.0.1-qt6-no-wayland.patch 3908 BLAKE2B 2b0093b7054660cfbca144b9c13
DIST tdesktop-4.15.0-full.tar.gz 68286818 BLAKE2B 2bd4d59370a4f97aa3c1b1d64fa7eea114539edcff46ea30a5361cefeeb1de8a1954be91a1a420ddc1b1a30970944387c2cd3749badaa494e53862066c624ac3 SHA512 95aa5f14a9a88b9c6421049445f59f1c5c5d7ab4ca4e8b8f4ab7389bdb8f3cc6b29fea270574881633035acec769ba271261f84ec269010c63af28a03719da98
DIST tdesktop-5.0.1-full.tar.gz 69454563 BLAKE2B 0bbb0ee0c096a344b00091795c2bfadd71272b01966daed8f44fd7010c4c4ecfb265c80ecd773934dd0636be1e703bbadc0038befdefd6da93dfadea40e53fba SHA512 45b7833f20f01d78c09163e205af7d68afffcfc88075ba6af35dc6cbbce1f0205c0150b137ca09e6bdaf271240e4d1336411ad427bc27a2b2ad42dc435ee0ec2
DIST tdesktop-5.0.4-full.tar.gz 69462550 BLAKE2B 46e630ea74c6571e41909bab768ff19e8eaf2246cf624474b1c14d5c598146e0c772f55d7665af35979dc27bc70eb372b6865e5fecb6f97c50e13351c352bb54 SHA512 611bad9f174a35c27ffc55efe3544318f992af25a89364c3b64fa1afb4765ebf7aae7d4a83539d9e0038fe4ca8e637bdb5d453f058e64dffc2c45edf2f348dbb
+DIST tdesktop-5.1.5-full.tar.gz 69533393 BLAKE2B 216000da3449da9a9c2100a1f8399afa05627d2583f39c09c89e054cc1e52b8868619f003226c4f8eb734f34d72ab0286b5f5a23db263b28e56340f87fc965e6 SHA512 61dd2c30e6831506b120615758ec74aeb36de4dfce513ce3862f8f40e4812a2d59524dd37a09e3acbfdc5db1f16d89b15d58a81ab252a34a93215d55d8eac39c
EBUILD telegram-desktop-4.15.0-r2.ebuild 7396 BLAKE2B f869a09a351aed1d0a9f9978085b2999f5e4150a124d117dc281dce0bd7e0537eed3b6c380ff5c7ebfdd842b54f9dbd6add2fc345ff8e45cfc91d2d842e2618e SHA512 6c4f6571992d97fc4cc54cf4db03ad376affc61a78f137f9a9ca59ab3c44af2a5155261bb523bbfd5ea117b7bd9a99adb649639f20772b2293d73d2611db26b0
EBUILD telegram-desktop-5.0.1-r1.ebuild 8060 BLAKE2B 088de521ebe31c3cea5b54c9839411d144cb3c678166ad1d604750a6c1c12ee845cebb50aa5d55b7e99903a34a75ba32d2ab3d15cb9cd35ebd0dfe12e478284d SHA512 a9c61e090497346b7dac7b7c819ed39fd01452079b14ef5bb5a2871818bb2315fbc5370cdd65c88fe7ce9b3dbd07d9df80c8c7bcf8043c078bca23f55316e649
EBUILD telegram-desktop-5.0.4.ebuild 8060 BLAKE2B c1661cf6797d6f6fb7ecc911f30129df9b11a06e5fbd0b53b8713258cfdcabc24520b3ff43d477cf5e3aabd835386e8fb76e2e5dd7ab7e176ada6af641caff4a SHA512 4fddf68db1acc9475c0dc3651e0880d3ca604aaab27b0b742447aefcaa832c204d85e121f4f9a1ace6d3bc4bf2ced0f1d2730589b0d164cb1bd6cd6262eece7e
+EBUILD telegram-desktop-5.1.5.ebuild 8060 BLAKE2B c1661cf6797d6f6fb7ecc911f30129df9b11a06e5fbd0b53b8713258cfdcabc24520b3ff43d477cf5e3aabd835386e8fb76e2e5dd7ab7e176ada6af641caff4a SHA512 4fddf68db1acc9475c0dc3651e0880d3ca604aaab27b0b742447aefcaa832c204d85e121f4f9a1ace6d3bc4bf2ced0f1d2730589b0d164cb1bd6cd6262eece7e
MISC metadata.xml 1307 BLAKE2B 13008e6d601f7e537bbfa6c65091f442a68320858ec0f1433f31ef69890dbdd730464a1e9d5dfc125982895a4fdfaa48edb643670fffba538dcdd44ceffa9cf4 SHA512 a7e0db84964fd04ab37641a23d9b722191d1c5731b946d7e4859c6b0dd2f5a53eadb88297fd24dadd66c5ee097aa0622adafae74d8819e940b1aa9e612ab1e38
diff --git a/net-im/telegram-desktop/telegram-desktop-5.1.5.ebuild b/net-im/telegram-desktop/telegram-desktop-5.1.5.ebuild
new file mode 100644
index 000000000000..144d4ae03052
--- /dev/null
+++ b/net-im/telegram-desktop/telegram-desktop-5.1.5.ebuild
@@ -0,0 +1,249 @@
+# Copyright 2020-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit xdg cmake python-any-r1 optfeature flag-o-matic
+
+DESCRIPTION="Official desktop client for Telegram"
+HOMEPAGE="https://desktop.telegram.org"
+
+MY_P="tdesktop-${PV}-full"
+SRC_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v${PV}/${MY_P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="BSD GPL-3-with-openssl-exception LGPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv"
+IUSE="dbus enchant +fonts +jemalloc screencast qt6 qt6-imageformats wayland webkit +X"
+REQUIRED_USE="
+ qt6-imageformats? ( qt6 )
+"
+
+KIMAGEFORMATS_RDEPEND="
+ media-libs/libavif:=
+ media-libs/libheif:=
+ >=media-libs/libjxl-0.8.0:=
+"
+CDEPEND="
+ !net-im/telegram-desktop-bin
+ app-arch/lz4:=
+ dev-cpp/abseil-cpp:=
+ >=dev-cpp/glibmm-2.77:2.68
+ dev-libs/glib:2
+ dev-libs/libdispatch
+ dev-libs/openssl:=
+ dev-libs/protobuf
+ dev-libs/xxhash
+ media-libs/libjpeg-turbo:=
+ ~media-libs/libtgvoip-2.4.4_p20221208
+ media-libs/openal
+ media-libs/opus
+ media-libs/rnnoise
+ ~media-libs/tg_owt-0_pre20230921:=[screencast=,X=]
+ media-video/ffmpeg:=[opus,vpx]
+ sys-libs/zlib:=[minizip]
+ !enchant? ( >=app-text/hunspell-1.7:= )
+ enchant? ( app-text/enchant:= )
+ jemalloc? ( dev-libs/jemalloc:= )
+ !qt6? (
+ >=dev-qt/qtcore-5.15:5=
+ >=dev-qt/qtgui-5.15:5=[dbus?,jpeg,png,wayland?,X?]
+ >=dev-qt/qtimageformats-5.15:5
+ >=dev-qt/qtnetwork-5.15:5[ssl]
+ >=dev-qt/qtsvg-5.15:5
+ >=dev-qt/qtwidgets-5.15:5[png,X?]
+ kde-frameworks/kcoreaddons:5
+ webkit? (
+ >=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? (
+ >=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:=
+ x11-libs/xcb-util-keysyms
+ )
+"
+RDEPEND="${CDEPEND}
+ webkit? ( || ( net-libs/webkit-gtk:4.1 net-libs/webkit-gtk:6 ) )
+"
+DEPEND="${CDEPEND}
+ >=dev-cpp/cppgir-2.0_p20240315
+ >=dev-cpp/ms-gsl-4
+ dev-cpp/expected-lite
+ dev-cpp/range-v3
+"
+BDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-build/cmake-3.16
+ >=dev-cpp/cppgir-2.0_p20240315
+ dev-util/gdbus-codegen
+ virtual/pkgconfig
+ wayland? ( dev-util/wayland-scanner )
+"
+
+PATCHES=(
+ "${FILESDIR}/tdesktop-4.2.4-jemalloc-only-telegram-r1.patch"
+ "${FILESDIR}/tdesktop-4.10.0-system-cppgir.patch"
+ "${FILESDIR}/tdesktop-5.0.1-qt6-no-wayland.patch"
+)
+
+pkg_pretend() {
+ if has ccache ${FEATURES}; then
+ ewarn "ccache does not work with ${PN} out of the box"
+ ewarn "due to usage of precompiled headers"
+ ewarn "check bug https://bugs.gentoo.org/715114 for more info"
+ ewarn
+ fi
+}
+
+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' \
+ \! -path './cmake/external/expected/CMakeLists.txt' \
+ \! -path './cmake/external/kcoreaddons/CMakeLists.txt' \
+ \! -path './cmake/external/qt/package.cmake' \
+ -print0 | xargs -0 sed -i \
+ -e '/pkg_check_modules(/s/[^ ]*)/REQUIRED &/' \
+ -e '/find_package(/s/)/ REQUIRED)/' || die
+ # Make sure to check the excluded files for new
+ # CMAKE_DISABLE_FIND_PACKAGE entries.
+
+ # Control QtDBus dependency from here, to avoid messing with QtGui.
+ # QtGui will use find_package to find QtDbus as well, which
+ # conflicts with the -DCMAKE_DISABLE_FIND_PACKAGE method.
+ if ! use dbus; then
+ sed -e '/find_package(Qt[^ ]* OPTIONAL_COMPONENTS/s/DBus *//' \
+ -i cmake/external/qt/package.cmake || die
+ fi
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ # Having user paths sneak into the build environment through the
+ # XDG_DATA_DIRS variable causes all sorts of weirdness with cppgir:
+ # - bug 909038: can't read from flatpak directories (fixed upstream)
+ # - bug 920819: system-wide directories ignored when variable is set
+ export XDG_DATA_DIRS="${EPREFIX}/usr/share"
+
+ # Evil flag (bug #919201)
+ filter-flags -fno-delete-null-pointer-checks
+
+ # 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'
+
+ local qt=$(usex qt6 6 5)
+ local mycmakeargs=(
+ -DQT_VERSION_MAJOR=${qt}
+
+ # Override new cmake.eclass defaults (https://bugs.gentoo.org/921939)
+ # Upstream never tests this any other way
+ -DCMAKE_DISABLE_PRECOMPILE_HEADERS=OFF
+
+ # 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}WaylandClient=$(usex !wayland)
+ ## Only used in Telegram/lib_webview/CMakeLists.txt
+ -DCMAKE_DISABLE_FIND_PACKAGE_Qt${qt}WaylandCompositor=$(usex !webkit)
+ ## KF6CoreAddons is currently unavailable in ::gentoo
+ -DCMAKE_DISABLE_FIND_PACKAGE_KF${qt}CoreAddons=$(usex qt6)
+
+ -DDESKTOP_APP_DISABLE_X11_INTEGRATION=$(usex !X)
+ -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=$(usex !wayland)
+ -DDESKTOP_APP_DISABLE_JEMALLOC=$(usex !jemalloc)
+ ## Enables enchant and disables hunspell
+ -DDESKTOP_APP_USE_ENCHANT=$(usex enchant)
+ ## Use system fonts instead of bundled ones
+ -DDESKTOP_APP_USE_PACKAGED_FONTS=$(usex !fonts)
+ )
+
+ if [[ -n ${MY_TDESKTOP_API_ID} && -n ${MY_TDESKTOP_API_HASH} ]]; then
+ einfo "Found custom API credentials"
+ mycmakeargs+=(
+ -DTDESKTOP_API_ID="${MY_TDESKTOP_API_ID}"
+ -DTDESKTOP_API_HASH="${MY_TDESKTOP_API_HASH}"
+ )
+ else
+ # https://github.com/telegramdesktop/tdesktop/blob/dev/snap/snapcraft.yaml
+ # Building with snapcraft API credentials by default
+ # Custom API credentials can be obtained here:
+ # https://github.com/telegramdesktop/tdesktop/blob/dev/docs/api_credentials.md
+ # After getting credentials you can export variables:
+ # export MY_TDESKTOP_API_ID="17349""
+ # export MY_TDESKTOP_API_HASH="344583e45741c457fe1862106095a5eb"
+ # and restart the build"
+ # you can set above variables (without export) in /etc/portage/env/net-im/telegram-desktop
+ # portage will use custom variable every build automatically
+ mycmakeargs+=(
+ -DTDESKTOP_API_ID="611335"
+ -DTDESKTOP_API_HASH="d524b414d21f4d37f08684c1df41ac9c"
+ )
+ fi
+
+ cmake_src_configure
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ if ! use X && ! use screencast; then
+ ewarn "both the 'X' and 'screencast' USE flags are disabled, screen sharing won't work!"
+ ewarn
+ fi
+ if ! use jemalloc && use elibc_glibc; then
+ # https://github.com/telegramdesktop/tdesktop/issues/16084
+ # https://github.com/desktop-app/cmake_helpers/pull/91#issuecomment-881788003
+ ewarn "Disabling USE=jemalloc on glibc systems may cause very high RAM usage!"
+ ewarn "Do NOT report issues about RAM usage without enabling this flag first."
+ ewarn
+ fi
+ if use wayland && ! use qt6; then
+ ewarn "Wayland-specific integrations have been deprecated with Qt5."
+ ewarn "The app will continue to function under wayland, but some"
+ ewarn "functionality may be reduced."
+ 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]
+ fi
+}
diff --git a/net-im/tokodon/Manifest b/net-im/tokodon/Manifest
index 4c1a7eddef2d..75b61494a7db 100644
--- a/net-im/tokodon/Manifest
+++ b/net-im/tokodon/Manifest
@@ -1,5 +1,5 @@
DIST tokodon-23.08.5.tar.xz 335920 BLAKE2B 620de13602a8f846c980fc0e57a3c13c73725fca16c2ca7cbcd362d9339a531466f496aa8d4dd0e3f310fd2d87399b34f0c78f74bd9312d2a49190897f92ffd7 SHA512 1f21df479ebe31d2bc891b01fc465f5711445fb1bfefba7a90aec7d9eef304618487f1992cad82f4207928bb7398642db97038817b2aa602e9d77135c216f404
-DIST tokodon-24.05.0.tar.xz 535204 BLAKE2B 6c0ab816668ebdecf3a816ddfc3b90c8ae36335eee75eb0ea7b010b27546329bb8b81ffc844879e74ae7f85f95c65d2e2590ab1ee2d2e564df27cd55ece7b510 SHA512 9488cd630b70e312f3f4e5db6acb9dcb1b3b989f4cd5403c4d63d5cc4cd3b93dbc95ad8643dfddd993f62b0f37423274b1868d4c9d20fe08e47702a9c46548f0
+DIST tokodon-24.05.1.tar.xz 539380 BLAKE2B e2aaef21efe104fee7a176cc6f466dc5e719bfc02b888800e8e12340c625afacb2e0c3a1ad71174c2a1bc81b61796d2d07e76bc7b82f31e44dee10fb618cc38c SHA512 19a3e71ff7fc0ef1815ef6c318acc074c80236016c5dcaac1442db820822125785ba8d9c97ed65a01572ce9063d870f94f745356bd6ad234b5cd51efb5419c28
EBUILD tokodon-23.08.5.ebuild 1312 BLAKE2B 299182875ff8260874327aa4e709653392324426100d5ec6d89b34d7c0858c2a8a51cc0b5b8d2c95f811bd038ee81ecc632e2f8878bdcdb2d1dd41af2507e63c SHA512 dae8fb02b73219699ff86a72bd185493e8aab9e1f3ce286f577ab32a42f48a59dd74b9233b0c7e6ae4d8f57a6463749f26badcf36b684ce3cf7973e898f12716
-EBUILD tokodon-24.05.0.ebuild 1672 BLAKE2B f0662d6fcb7fba39982c50baf419f2abb1b34c4de34ae7d172351b5028dc217a38214a12b276ca3901b9b0a125134b2d1988fc9d8ca91eb60a9f57c6605b361c SHA512 ffd04fcd724479ef87ea80c7a48fadfe5919ee770aa99420284449f3aee2461b74d8ba3d893ad60ee716b0cd8825f98cc7d67fe135dbf3fef2caa0710a4d30cc
+EBUILD tokodon-24.05.1.ebuild 1672 BLAKE2B 2c46de5beceaea2b760043a3be4f8dab5a0ba75ff90f76aa06a8d7d6d8025260b44d9c82a2bb068a7e0cd4b6862240f3e7e0a3d351c1d0050d40c5fdf97b72c1 SHA512 0505ddef98ed82e41762adc9d89a195dc31fe9bbdaa485af8336acecd1e0e6a61c7a90e65b7d248fbd00c88ada4983dcd533ac31224e5b7c99b1b39c9c38529a
MISC metadata.xml 650 BLAKE2B 09307d4f8ef2813b31f884fd04cfbd7cae96784fe2be624a417a60f369554ccee56324f590e2c9bf807849fecf7741c79fad585755e1080233f3884428fdaa98 SHA512 43245fca0e7fee093f8c41672b87593867ad8045547b11f963c2f28d12467b5885418db628c7a50317df97fcb6d1a6f9e8ab88e275a9bac9f3eaa6dbe2848ecc
diff --git a/net-im/tokodon/tokodon-24.05.0.ebuild b/net-im/tokodon/tokodon-24.05.1.ebuild
index e4702950a634..8d39fb2c479e 100644
--- a/net-im/tokodon/tokodon-24.05.0.ebuild
+++ b/net-im/tokodon/tokodon-24.05.1.ebuild
@@ -4,7 +4,7 @@
EAPI=8
ECM_TEST="forceoptional"
-KFMIN=6.0.0
+KFMIN=6.3.0
QTMIN=6.6.2
inherit ecm gear.kde.org