1
0
Fork 0
Commit graph

569 commits

Author SHA1 Message Date
Ilya Fedin
27d524fefb Remove external_statusnotifieritem 2022-01-22 19:48:17 +03:00
John Preston
3159df5e3b ffmpeg: Link libbz2 on macOS. 2022-01-19 18:53:44 +03:00
John Preston
b7a596df98 libvpx: Add external_vpx target. 2022-01-19 16:03:58 +03:00
John Preston
ba0f27e13e Fix build with external_zlib on Windows. 2022-01-14 23:40:40 +03:00
Ilya Fedin
3d40b243f6 Use openal-soft's cmake config rather than pkg-config file 2022-01-14 05:03:21 +03:00
Ilya Fedin
d0fc0c8879 Fix external_variant to actually add found include directories 2022-01-14 05:03:21 +03:00
Ilya Fedin
525bd161cf Use return more for less indentations 2022-01-14 05:03:21 +03:00
Ilya Fedin
e97ab1bcb5 Use bundled fonts and rlottie by default since they're patched 2022-01-13 04:33:23 +03:00
Ilya Fedin
0e6f53ced4 Pass library as a part of -Wl argument in external_jemalloc
Or cmake can place the arguments in random order
2022-01-12 19:11:14 +03:00
Ilya Fedin
b6515c543a Use return to decrease indentation in cmake files 2022-01-12 19:11:14 +03:00
Ilya Fedin
e5e31c6101 Use REQUIRED with find_library where appropriate 2022-01-12 19:11:14 +03:00
Ilya Fedin
289a002b6d Use IMPORTED_LOCATION for zlib 2022-01-12 19:11:14 +03:00
Ilya Fedin
58c7b0f52e Add missed dependency on external_opus target for ffmpeg 2022-01-12 19:11:14 +03:00
Ilya Fedin
7d1ad3dfe3 Add missed dependency on external_openssl target for Qt 2022-01-12 19:11:14 +03:00
Ilya Fedin
8e952639aa Build kwayland deps with kwayland since they should be in sync 2022-01-11 16:26:35 +03:00
Ilya Fedin
b3cb911ae0 Define _GLIBCXX_ASSERTIONS 2022-01-05 12:54:40 +03:00
Ilya Fedin
10108ea237 Move libdl/libpthread handling to common_options
Setting -pthread makes linking libatomic manually unneeded
2022-01-05 12:54:40 +03:00
Ilya Fedin
f2384057de Use --push-state/--pop-state linker options 2022-01-05 12:54:40 +03:00
Ilya Fedin
ed7cf04191 Move kwayland-qt6 patch to kwayland build rule folder 2021-12-31 00:25:02 +03:00
Ilya Fedin
f4833c67b8 Avoid setting dummy patch command for kwayland 2021-12-30 22:37:43 +03:00
Ilya Fedin
0c57e24529 Don't use dispatch if we can't build it 2021-12-29 21:06:24 +03:00
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