@@ -49,9 +49,11 @@ if [[ "${target}" == arm-* ]]; then
4949 export CXXFLAGS="-Wl,-rpath-link,/opt/${target}/${target}/lib"
5050fi
5151
52+ cmakeflags=-DQT_FORCE_MIN_CMAKE_VERSION_FOR_USING_QT=3.21
53+
5254mkdir build
5355cd build
54- cmake $winflags -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_FIND_ROOT_PATH=$prefix -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} -DGR_USE_BUNDLED_LIBRARIES=ON $tifflags -DCMAKE_BUILD_TYPE=Release ..
56+ cmake $cmakeflags $ winflags -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_FIND_ROOT_PATH=$prefix -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN} -DGR_USE_BUNDLED_LIBRARIES=ON $tifflags -DCMAKE_BUILD_TYPE=Release ..
5557
5658VERBOSE=ON cmake --build . --config Release --target install -- -j${nproc}
5759cp ../../gr.js ${libdir}/
6971# These are the platforms we will build for by default, unless further
7072# platforms are passed in on the command line
7173platforms = [
72- Platform (" armv7l" , " linux" ; libc= " glibc" ),
73- Platform (" aarch64" , " linux" ; libc= " glibc" ),
74- Platform (" x86_64" , " linux" ; libc= " glibc" ),
75- Platform (" i686" , " linux" ; libc= " glibc" ),
76- Platform (" powerpc64le" , " linux" ; libc= " glibc" ),
74+ Platform (" armv7l" , " linux" ; libc= " glibc" , cxxstring_abi = " cxx11 " ),
75+ Platform (" aarch64" , " linux" ; libc= " glibc" , cxxstring_abi = " cxx11 " ),
76+ Platform (" x86_64" , " linux" ; libc= " glibc" , cxxstring_abi = " cxx11 " ),
77+ Platform (" i686" , " linux" ; libc= " glibc" , cxxstring_abi = " cxx11 " ),
78+ Platform (" powerpc64le" , " linux" ; libc= " glibc" , cxxstring_abi = " cxx11 " ),
7779 Platform (" x86_64" , " windows" ),
7880 Platform (" i686" , " windows" ),
7981 Platform (" x86_64" , " macos" ),
@@ -95,7 +97,7 @@ products = [
9597# Dependencies that must be installed before this package can be built
9698dependencies = [
9799 Dependency (" Bzip2_jll" ; compat= " 1.0.9" ),
98- Dependency (" Cairo_jll" ; compat= " 1.16.1" ),
100+ Dependency (" Cairo_jll" , compat= " 1.16.1" ),
99101 Dependency (" FFMPEG_jll" ),
100102 Dependency (" Fontconfig_jll" ),
101103 Dependency (" FreeType2_jll" ; compat= " 2.13.4" ),
0 commit comments