Commit Graph

29 Commits

Author SHA1 Message Date
Steve Lhomme
3cb30ace80 meson: enable AMF HQScaler 2024-11-09 11:02:35 +00:00
Steve Lhomme
07d15477ed meson: add d3d11va/dxva2 plugins 2024-11-09 11:02:35 +00:00
Steve Lhomme
96ce4b7ae1 meson: add a define for the gcrypt detection
As done by autotools.
2024-11-09 09:20:47 +00:00
Sean McGovern
ba02c9b5ac meson.build: test for the presence of <sys/auxv.h> 2023-09-29 05:16:58 +00:00
Steve Lhomme
9e2cb735a4 remove VLC_WINSTORE_APP define
It's not used anymore. We can detect locally what is available or not.
We only need to know in make files how to link in the case.
2023-05-22 07:14:29 +00:00
Steve Lhomme
79b837b2b3 meson: remove forced _THREAD_SAFE optional define
It's not set in the meson files and it's not done in autotools builds.
2023-03-15 09:50:57 +00:00
Steve Lhomme
88ec5e93bf meson: remove forced _REENTRANT optional define
It's not set in the meson files and it's not done in autotools builds.
2023-03-15 09:50:57 +00:00
Steve Lhomme
3c67f745ca meson: remove unused HAVE_X11_XLIB_H
It doesn't exist in autotools.
2023-03-15 09:50:57 +00:00
Steve Lhomme
c11e6bb15c meson: remove unused HAVE_QSORT_R
It doesn't exist in autotools.
2023-03-15 09:50:57 +00:00
Steve Lhomme
39ff35852c meson: remove unused HAVE_INET_NTOP
It doesn't exist in autotools.
2023-03-15 09:50:57 +00:00
Steve Lhomme
7ccaed3cb0 meson: remove unused CAN_COMPILE_SSE4xxx
They don't exist in autotools
2023-03-15 09:50:57 +00:00
Steve Lhomme
442338a3f5 meson: use comments from autotools in config.h.meson
For better or worse. It helps comparing the files.
2023-03-15 09:50:57 +00:00
Steve Lhomme
ca7270f019 meson: reorder config.h.meson to match autoconf config.h order
This makes it easier to compare them, to find what is missing, what is extra.

No functional changes.
2023-03-15 09:50:57 +00:00
Rémi Denis-Courmont
527a08ec49 meson: remove unused CAN_COMPILE_SSE check 2023-03-03 19:38:24 +00:00
Steve Lhomme
2ff4c82bb8 meson: remove unused HAVE_STATIC_ASSERT
We assume C11 compilers have support for static_assert() and _Static_assert
since 6be0e8af6b.
2023-03-02 07:06:47 +00:00
Steve Lhomme
cedea4d018 configure: don't the check presence of stricmp
_stricmp a Windows thing that is present in all the CRT, even in UCRT.
The stricmp() deprecated variant doesn't seem to exist elsewhere.

In some configuration it's not possible to link with stricmp() even though
_stricmp() is available.
2023-02-28 10:10:27 +00:00
Steve Lhomme
0b9fd8e4cb config.h.meson: add missing HAVE__LOCK_FILE 2023-02-11 22:00:16 +00:00
Steve Lhomme
42d230befa configure: don't define _POSIX_C_SOURCE for mingw-w64
It forces __USE_MINGW_ANSI_STDIO, M_PI and some functions we already have
done better in compat.
2023-01-31 09:11:53 +00:00
Steve Lhomme
a7b55fa70f configure: don't define _POSIX_SOURCE for mingw-w64
It forces __USE_MINGW_ANSI_STDIO, M_PI and some functions we already have
done better in compat.
2023-01-31 09:11:53 +00:00
Steve Lhomme
5643ba0359 meson: remove never set _UNICODE
It's not set in configure.ac either.
2023-01-31 09:11:53 +00:00
Steve Lhomme
a98a501df0 meson: fix PROCESS_MITIGATION_IMAGE_LOAD_POLICY check 2023-01-26 11:23:56 +00:00
Steve Lhomme
d7a9bc2326 meson: remove _ISOCXX_SOURCE macros on Windows
With a proper C11 compiler we don't need this. Either they activate C11
things in the compiler which should be there anyway. Or in the SDK
which is __USE_MINGW_ANSI_STDIO for C99 and nothing else.
2023-01-23 07:27:12 +00:00
Steve Lhomme
7e388405f4 meson: remove unneeded windows defines
They are used to enable _USE_MATH_DEFINES or __USE_MINGW_ANSI_STDIO, which we
already define.
2023-01-23 07:27:12 +00:00
Steve Lhomme
352ad101b3 rename __LIBVLC__ to LIBVLC_INTERNAL_
define names starting with 2 underscore are reserved.

https://devblogs.microsoft.com/oldnewthing/20230109-00/?p=107685
2023-01-17 10:37:49 +00:00
Johannes Kauffmann
a01c567bff meson: add initial winstore support
This patch tries to replicate configure.ac (at the time of writing)
from line 407 - 438, except the strict aliasing check. Libraries such as
ole32 are linked by default by meson, so those have been omitted.
Another difference: the check has been moved out of the mingw check.

This is not meant to be functional just yet, but having the winstore
option gives a starting point for further support.
2023-01-14 14:03:40 +00:00
Steve Lhomme
1c8607bc97 meson: remove forcing _WIN32_IE
It's been removed in fdbf5c77b5
2023-01-13 14:35:04 +00:00
Steve Lhomme
5b27a78738 meson: only set _WIN32_WINNT if it's not set in the environment
The same way it's done in configure.ac
2023-01-13 14:35:04 +00:00
Steve Lhomme
e030e04e5d meson: define missing ssize_t and SSIZE_MAX from ptrdiff_t
ptrdiff_t is available in C11
2023-01-07 20:39:45 +00:00
Marvin Scholz
d5f07af209 meson: add initial meson build system
Co-authored-by: Tanguy Dubroca <tanguy.dubroca@lse.epita.fr>
Co-authored-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
Co-authored-by: Alexandre Janniaux <ajanni@videolabs.io>
2023-01-04 14:48:39 +00:00