Ilya Fedin
815bdb2fb5
Specify submodule path as URL rather than SOURCE_DIR to ExternalProject
2021-12-29 01:54:49 +04:00
Ilya Fedin
6518009931
Fix getting binary dir of dispatch
2021-12-29 01:19:34 +04:00
Ilya Fedin
91c725d5c2
Use STEP_TARGETS in external_jemalloc_bundled
2021-12-28 22:16:45 +04:00
Ilya Fedin
fa0200e361
Use BINARY_DIR and STEP_TARGETS in external_dispatch
2021-12-28 22:16:45 +04:00
Klemens Nanni
509ab07763
Require minizip<2.0.0 aka. zlib minizip, not minizip-ng
...
Original zlib minizip and newer minizip-ng are ABI incompatible.
tdesktop bundles old zlib minizip, but systems such as OpenBSD ship
minizip-ng as their "minizip" package.
http://zlib.net/ shows 1.2.11 as the latest version as of today.
Require the same major version to prevent detecting minizip-ng as
zlib minizip breaking the build.
2021-12-28 21:20:51 +04:00
Ilya Fedin
262774e504
Use pkg-config to find xxhash
2021-12-23 00:03:29 +00:00
Ilya Fedin
226b4f8c5c
Update external_qr_code_generator for the new version
2021-12-22 18:35:02 +00:00
Ilya Fedin
ec88df7121
Add libwayland 1.20 support to the wayland helper
2021-12-22 18:18:05 +00:00
Ilya Fedin
f96a4a2fde
Fix a cmake error due to non-exstent path in kwayland rules
2021-12-22 17:38:00 +04:00
Ilya Fedin
857a31aec6
Remove unneeded GLOBAL from external_jemalloc_bundled
2021-12-22 14:03:11 +04:00
Ilya Fedin
7dff7d2cb8
Add dispatch library
2021-12-22 14:03:11 +04:00
Ilya Fedin
3db3eeab03
Build kwayland as external project
2021-12-22 13:57:06 +04:00
Ilya Fedin
e4acb81f08
Add mkspecs include directory for Windows & macOS
2021-12-22 13:48:57 +04:00
John Preston
2d6e661799
Migrate to Qt 6.2.2.
2021-12-21 15:36:44 +00:00
Ilya Fedin
19381f859c
Revert "Add DESKTOP_APP_USE_PACKAGED_FFMPEG_STATIC option"
...
This reverts commit 85759739eb .
I don't need this hack anymore since it doesn't work with Big Sur GitHub actions and I know anyone who uses it
2021-12-12 23:05:05 +04:00
Ilya Fedin
651362c922
Check whether CMAKE_OSX_ARCHITECTURES is initialized before using it
2021-12-12 11:54:01 +04:00
Ilya Fedin
da42b96d8e
fixup! Force mac architecture and deployment target only in non-packaged builds
...
Fix inverted condition
2021-12-11 07:25:17 +04:00
Ilya Fedin
95e322b9e6
Force mac architecture and deployment target only in non-packaged builds
2021-12-09 17:44:27 +04:00
Ilya Fedin
c2b070275e
Remove gtk and glib helpers
...
They're Qt patches now
2021-11-30 17:42:31 +04:00
John Preston
fdd7abd266
Disable LTCG for 64 bit Windows build.
...
It now fails with:
Telegram.dir\Release\Telegram.iobj : fatal error LNK1248: image size
(1029C441A) exceeds maximum allowable size (FFFFFFFF)
2021-11-27 21:35:13 +04:00
John Preston
7332624b87
Use d3dcompiler from 20.0.22000.0 SDK.
2021-11-26 18:13:10 +04:00
John Preston
3440748171
Ignore 'deprecated' warnings because of [=] capturing 'this'.
2021-11-14 11:29:38 +04:00
John Preston
13586e1343
Use C++20 mode on GCC.
2021-11-14 11:29:38 +04:00
John Preston
2034686f01
Use Ninja Multi-Config generator by default on Linux.
2021-11-14 11:29:38 +04:00
John Preston
54eeac20a9
Define WEBRTC_HAVE_USRSCTP for new tg_owt.
2021-11-12 10:58:31 +04:00
Ilya Fedin
051f7ba4e3
Remove DESKTOP_APP_DISABLE_WEBKITGTK
2021-11-06 16:27:58 +04:00
John Preston
fc65d3305d
Revert "Re-enable -pie."
...
This reverts commit 13331633e5 .
AppImage hack fired back: #17183
2021-11-03 21:34:06 +04:00
John Preston
393ae95d7f
Add network reachability plugin on macOS.
2021-11-02 11:16:44 +04:00
Ilya Fedin
d5237e224e
Make -Wl,-z,now work on older systems
2021-11-02 09:42:00 +04:00
John Preston
13331633e5
Re-enable -pie.
2021-10-31 16:49:13 +04:00
John Preston
a976e43aab
Fix CMake warning on Windows.
2021-10-30 15:03:25 +04:00
John Preston
62f37fd1f6
Build with Qt 6 by default on Unix systems.
2021-10-29 21:41:51 +04:00
John Preston
410223b538
Add DESKTOP_APP_MAC_ARCH for separate macOS builds.
2021-10-28 16:15:30 +04:00
Ilya Fedin
68251bb2f0
Re-enable fcitx-qt5 with Qt 6
2021-10-27 22:01:42 +04:00
John Preston
faf815fee0
Allow loading Qt resources from a file on macOS.
2021-10-27 20:39:39 +04:00
John Preston
16224afddd
Link a single crashpad_client library.
2021-10-27 14:08:05 +04:00
John Preston
c0c09baa35
Accept CMAKE_OSX_ARCHITECTURES from command line.
2021-10-27 11:53:50 +04:00
John Preston
33799d3d6c
Disable ARM NEON in bundled rlottie.
...
The ARM NEON assembler file from pixman doesn't build on macOS with "-arch arm64".
2021-10-26 16:32:50 +04:00
John Preston
b1d90c34ff
Update crashpad to a build from a fork.
2021-10-25 23:13:17 +04:00
John Preston
971973d7da
Fix warning in linking with FFMpeg.
2021-10-25 23:12:56 +04:00
John Preston
891798c735
Enable universal binaries build on macOS with Qt 6.2.
2021-10-25 12:43:42 +04:00
Ilya Fedin
04de294533
Re-enable kwayland with Qt 6
2021-10-25 08:52:57 +04:00
Ilya Fedin
5ff43f9c51
Enable HIME with Qt 6
2021-10-24 13:58:26 +04:00
Ilya Fedin
50745176b1
Enable dbusmenu-qt with Qt 6
2021-10-24 09:39:42 +04:00
John Preston
57ccb6c03c
Fix build with Qt 6.2 on macOS.
2021-10-21 19:45:43 +04:00
Ilya Fedin
02993a6c82
Add missed LINUX condition
2021-10-21 16:59:29 +04:00
Ilya Fedin
8540bd0b60
Fix static build without Wayland
2021-10-21 10:47:24 +04:00
Ilya Fedin
993e1e052e
Add OpenSSL plugin to Qt 6 build
2021-10-21 10:19:55 +04:00
Ilya Fedin
6ef834cf3c
Don't warn about deprecated declarations with Qt 6
2021-10-21 10:07:08 +04:00
Ilya Fedin
a8856aa831
Add Qt 6 support
...
Tested on Linux only
2021-10-21 08:44:20 +04:00