53 |
53 |
jemalloc? ( dev-libs/jemalloc:=[-lazy-lock] )
|
54 |
54 |
!qt6? (
|
55 |
55 |
>=dev-qt/qtcore-5.15:5
|
56 |
|
>=dev-qt/qtgui-5.15:5=[dbus,jpeg,png,wayland?,X?]
|
|
56 |
>=dev-qt/qtgui-5.15:5[dbus,jpeg,png,wayland?,X?]
|
57 |
57 |
>=dev-qt/qtimageformats-5.15:5
|
58 |
58 |
>=dev-qt/qtnetwork-5.15:5[ssl]
|
59 |
59 |
>=dev-qt/qtsvg-5.15:5
|
... | ... | |
61 |
61 |
kde-frameworks/kcoreaddons:=
|
62 |
62 |
)
|
63 |
63 |
qt6? (
|
64 |
|
dev-qt/qtbase:6=[dbus,gui,network,opengl,widgets,X?]
|
|
64 |
dev-qt/qtbase:6[dbus,gui,network,opengl,widgets,X?]
|
65 |
65 |
dev-qt/qtimageformats:6
|
66 |
66 |
dev-qt/qtsvg:6
|
67 |
67 |
wayland? ( dev-qt/qtwayland:6 )
|
... | ... | |
93 |
93 |
"${FILESDIR}/tdesktop-4.2.4-jemalloc-only-telegram-r1.patch"
|
94 |
94 |
"${FILESDIR}/tdesktop-4.8.4-system-cppgir.patch"
|
95 |
95 |
"${FILESDIR}/tdesktop-4.8.3-fix-clang.patch"
|
|
96 |
"${FILESDIR}/tdesktop-4.8.4-remove-private-qt.patch"
|
96 |
97 |
)
|
97 |
98 |
|
98 |
99 |
# Current desktop-file-utils-0.26 does not understand Version=1.5
|
... | ... | |
130 |
131 |
# kde-frameworks/kcoreaddons is bundled when using qt6, see:
|
131 |
132 |
# cmake/external/kcoreaddons/CMakeLists.txt
|
132 |
133 |
|
|
134 |
# Happily fail if libraries aren't found...
|
|
135 |
find -type f -name 'CMakeLists.txt' \
|
|
136 |
\! -path "./cmake/external/expected/CMakeLists.txt" \
|
|
137 |
-print0 | xargs -0 sed -i \
|
|
138 |
-e '/pkg_check_modules(/s/[^ ]*)/REQUIRED &/' \
|
|
139 |
-e '/find_package(/s/)/ REQUIRED)/' || die
|
|
140 |
|
133 |
141 |
cmake_src_prepare
|
134 |
142 |
}
|
135 |
143 |
|