Fatih Uzunoglu
bddef6ae8f
contrib: qt5compat: do not use Qt Shader Tools
Statically linking to Qt Shader Tools seems to
increase the binary size quite a lot.
Revert the patch which introduced runtime
shader compilation to QtGraphicalEffects
so that Qt Shader Tools is not linked.
TODO: Remove Qt5Compat completely, and
use MultiEffect instead.
2 years ago
Tristan Matthews
e3d31efa46
contrib: aom: update to 3.9.0
"This release includes new codec interfaces, compression efficiency and
perceptual improvements, speedup for RTC for both video and screen content,
and many bug fixes. This release is ABI compatible with the previous release."
2 years ago
Steve Lhomme
8efa3324f0
contrib: qtdeclarative: fix feature names
2 years ago
Steve Lhomme
e82dd57c65
contrib: qtdeclarative: disable remove Qt Labs code
2 years ago
Steve Lhomme
a98c6b7559
contrib: qtdeclarative: never build qml, qmleasing, qmldom, qmlformat
We never use these tools and they're not called internally.
2 years ago
Tristan Matthews
4e67f8341b
contrib: opus: update to 1.5.2
Opus 1.5.2 fixes several build issues that were discovered since the 1.5 release.
It also fixes a misalignment issue in the AVX2 code that could cause crashes under Windows.
2 years ago
Steve Lhomme
e750fb576b
contrib: x264: fix fseeko detection on older 32-bit Android
It's not supported [1]. NDK 26 will emit an error if you try to use it.
Upstream patch: https://code.videolan.org/videolan/x264/-/merge_requests/150
[1] https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md
2 years ago
Steve Lhomme
db5b75f021
contrib: upnp: don't use fseeko on older 32-bit Android
It's not supported [1]. NDK 26 will emit an error if you try to use it.
Upstream patch: https://github.com/pupnp/pupnp/pull/441
[1] https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md
2 years ago
Steve Lhomme
2a968ebbed
contrib: flac: don't use fseeko/ftello on older 32-bit Android
It's not supported [1]. NDK 26 will emit an error if you try to use it.
Upstream patch: https://github.com/xiph/flac/pull/691
[1] https://android.googlesource.com/platform/bionic/+/main/docs/32-bit-abi.md
2 years ago
Steve Lhomme
0b92a08ef9
contrib: fix CMake Android API typo
2 years ago
Steve Lhomme
06a9b6b3ac
contrib: fix the CMake i386 and arm ARCH names
It works for Android and should be the same on other platforms.
2 years ago
Steve Lhomme
deb9246cd3
contrib: force CMake system to Android for Android
So the the proper system detection happens:
https://github.com/Kitware/CMake/blob/master/Modules/Platform/Android-Determine.cmake
2 years ago
Steve Lhomme
738b974777
contrib: qtshadertools: don't force calling fxc2
We have a fake fxc that can be called under wine.
In Qt6.7 it may also call dxc (Shader Model 6) which can even be a Linux binary.
2 years ago
Steve Lhomme
9c80a115fb
contrib: fxc2: check the python script exists
Otherwise the package is not found on the system.
It doesn't a pkgconfig file so it was never found so far.
2 years ago
Steve Lhomme
a8493d31f5
contrib: fxc2: use a fxc script to call fxc2
So any call to fxc will use our tool, as long as fxc is in the PATH.
We can also handle the option format in the script.
2 years ago
Steve Lhomme
d04d70fb20
contrib: fxc2: support -O binary output mode
2 years ago
Steve Lhomme
4c31622635
contrib: fxc2: use install to install binaries
2 years ago
Steve Lhomme
2d5c1f55e7
contrib: fxc2: don't build fxc2 by default
It will be pulled by Qt if needed.
2 years ago
Steve Lhomme
223fdb125a
contrib: spirv-tools: remove this contrib
It's only used by qtshadertools/qsb to optimize the Vulkan output.
We do not use that on any platform for now.
Even when using Vulkan it's optional and will work without.
2 years ago
Steve Lhomme
4615108661
contrib: qt: only detect the native tools once
When not cross-compiling, we assume the tools match the Qt6 package.
We don't need to check again the binary as it will have no effect.
2 years ago
Steve Lhomme
6140b72e70
contrib: qt: fix the native tools version detection
We don't care about qt-cmake, it doesn't even match our Qt version.
We want to know the tools match the version we want to build.
2 years ago
Steve Lhomme
6563bc3835
contrib: add the contrib native tools libexec to the PATH
Some native tools we build may be usable by other targets.
2 years ago
Steve Lhomme
071a7581ff
contrib: harfbuff: build internal ragel if not found
2 years ago
Steve Lhomme
c511d743e2
contrib: remove SVN define
It's not used anymore.
2 years ago
Steve Lhomme
eaa4b3b467
contrib: mpcdec: remove references to the building from SVN
We don't use that anymore. The repository still exists though.
2 years ago
Steve Lhomme
7851d3b13e
contrib: use the simplified macro to check the system tool versions
2 years ago
Steve Lhomme
45693d54aa
contrib: add macros to get the (major.minor) version of a system tool
2 years ago
Steve Lhomme
fe47c2f2d6
contrib: add the contrib native tools to the PATH
Some native tools we build may be usable by other targets.
When looking if a tool comes from the system we don't use our binary
folder so we rebuild it when its dependencies change or it needs a full rebuild.
2 years ago
Alexandre Janniaux
1f6ad29193
contrib: protobuf: fix path to protoc executable
protoc path was set to $(HOST)-protoc but it was changed to protoc and
cannot be found anymore by meson after that.
Regression from 38c15b26f8 .
2 years ago
Steve Lhomme
f0e3a36f56
contrib: zvbi: don't keep the full iconv path
It disturbs libtool.
2 years ago
Steve Lhomme
fe873a47bd
contrib: protobuf: don't check for host-protoc
It only existed in the VLC repository but we don't build it anymore.
2 years ago
Steve Lhomme
38c15b26f8
contrib: protobuf: don't prefix the protoc binary name
It only generates C++ files which are not platform specific.
We already assume that a "protoc" binary with the proper version is a valid protoc version.
2 years ago
Steve Lhomme
bd7b87511c
contrib: qt: don't link private files after installation
2 years ago
Steve Lhomme
ef32c02a72
contrib: qt: build qt modules with CMake
The scripts call just translate old options into their CMake counterpart.
The BUILD and BUILDPREFIX qt toolchain point to different build configurations.
The qt.toolchain.cmake corresponds to the toolchain file used by qt-cmake.
But we can't use it as it's supposed to be a tool for the cross-compiled
target. This toolchain file is the official one to use when cross-compiling Qt6
for Raspberry Pi in Qt Creator: https://wiki.qt.io/Cross-Compile_Qt_6_for_Raspberry_Pi
2 years ago
Alexandre Janniaux
e53da4bf08
contrib: meson-machinefile provide the binary from makefile
Provide the necessary binary overrides throught the machine files
exposing the contribs, and ensure that the meson-machinefile built
depends on which binaries are built.
The new build tool generation uses a new PKGS.tools variable which
should match with the names used to find the different programs.
Not all programs can be found this way. For instance, it seems that the
Qt module from meson will completely ignore this parameter and load for
the Qt installation anyway.
2 years ago
Alexandre Janniaux
d9793296c5
contrib: lua: expose tool path
2 years ago
Alexandre Janniaux
a6317d65fa
contrib: protobuf: update URL
google/protobuf redirects to protocolbuffers/protobuf now.
2 years ago
Alexandre Janniaux
a91ff16c10
contrib: protobuf: expose tool path
2 years ago
Alexandre Janniaux
58adf8380b
contrib: meson-machinefile: fix dependencies
Ensure that the meson-machinefile built depends on whether the script
has changed and on the latest state of the contribs. This will also be
used to depends on which binaries are built for the contribs.
2 years ago
Alexandre Janniaux
f02e9412a0
contrib: gen-meson-machinefile: provide executables from contrib
2 years ago
Steve Lhomme
78f68d45af
contrib: qt: always build in release mode and use symbols only with PDB
2 years ago
Steve Lhomme
89fe89ee75
contrib: don't set the build mode in the toolchain file
It doesn't describe the toolchain we use. We can pass the value as a regular flag.
2 years ago
Steve Lhomme
e64f5d7cc3
contrib: vulkan-headers: fix detection
2 years ago
Steve Lhomme
34c2fd1cbc
contrib: set the NDK path to Vulkan headers
They are not guessed by libplacebo which includes extensions not found in the
prebuilt vulkan headers, but are found in that location.
2 years ago
Steve Lhomme
dbc272a9e6
contrib: put the Android NDK, ABI and API in the CMake toolchain
This is what the documentation says we should use [1].
[1] https://cmake.org/cmake/help/latest/manual/cmake-toolchains.7.html#cross-compiling-for-android-with-the-ndk
2 years ago
Steve Lhomme
b0d6f9ad54
contrib: libplacebo: try to use the NDK vulkan registry
2 years ago
Steve Lhomme
c86ce345ef
libplacebo: don't force the vulkan registry location
Since 19aee6c4b40724527bce1ff88fcfaa06c61bea79 it looks in 'prefix'/'datadir'
which should correspond to our PREFIX/share.
2 years ago
Steve Lhomme
6a3d4a3614
contrib: live555: always apply android patches
They are checking for __ANDROID__ so can be used in all sources.
2 years ago
Alexandre Janniaux
e07f88d722
contrib: taglib: bump to 2.0.1
Release note: https://github.com/taglib/taglib/releases/tag/v2.0.1
Mostly bugfixing.
2 years ago
Steve Lhomme
e50ca0c0b4
contrib: zlib: disable --version-script on static libraries
According to the documentation it's only useful for shared libraries.
With recent Android NDK this leads to linking issues with gz_intmax
In autotools it's only set with LDSHARED.
https://ftp.gnu.org/old-gnu/Manuals/ld-2.9.1/html_chapter/ld_3.html
2 years ago