net-im/telegram-desktop: Always find minizip through pkg-config

A workaround was being used for the faulty cmakelists of minizip-ng, but
it turns out that mainline sys-fs/zlib[minizip] doesn't have a cmake
file, nor is there an upstream FindMINIZIP.cmake module in
dev-build/cmake...

Thanks-to: Yixun Lan <dlan@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/46720
Signed-off-by: Esteve Varela Colominas <esteve.varela@gmail.com>
Signed-off-by: Yixun Lan <dlan@gentoo.org>
This commit is contained in:
Esteve Varela Colominas
2026-08-27 14:58:38 +02:00
committed by Yixun Lan
parent 64f780f038
commit 5ad68ff989

View File

@@ -106,6 +106,7 @@ src_prepare() {
# Some packages are found through pkg_check_modules, rather than find_package
sed -e '/find_package(lz4 /d' -i cmake/external/lz4/CMakeLists.txt || die
sed -e '/find_package(xxHash /d' -i cmake/external/xxhash/CMakeLists.txt || die
sed -e '/find_package(minizip /d' -i cmake/external/minizip/CMakeLists.txt || die
# Greedily remove ThirdParty directories, keep only ones that interest us
local keep=(