CMake: Bump version requirements

Can't do it for Qt because of course flatpak....
This commit is contained in:
Stenzek 2025-06-05 17:48:05 +10:00
parent f518b8492c
commit 808c51b3ce
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View File

@ -9,11 +9,11 @@ endif()
set(THREADS_PREFER_PTHREAD_FLAG ON)
find_package(Threads REQUIRED)
find_package(SDL3 3.2.14 REQUIRED)
find_package(zstd 1.5.6 REQUIRED)
find_package(SDL3 3.2.16 REQUIRED)
find_package(zstd 1.5.7 REQUIRED)
find_package(WebP REQUIRED) # v1.4.0, spews an error on Linux because no pkg-config.
find_package(ZLIB REQUIRED) # 1.3, but Mac currently doesn't use it.
find_package(PNG 1.6.40 REQUIRED)
find_package(PNG 1.6.40 REQUIRED) # 1.6.48, but Fedora is out of date.
find_package(JPEG REQUIRED)
find_package(Freetype 2.13.2 REQUIRED) # 2.13.3, but flatpak is still on 2.13.2.
find_package(plutosvg 0.0.6 REQUIRED)
@ -40,7 +40,7 @@ if(ENABLE_WAYLAND)
endif()
if(BUILD_QT_FRONTEND)
find_package(Qt6 6.9.0 COMPONENTS Core Gui Widgets LinguistTools REQUIRED)
find_package(Qt6 6.9.0 COMPONENTS Core Gui Widgets LinguistTools REQUIRED) # 6.9.1, but flatpak stuck on 6.9.0.
endif()
find_package(Shaderc REQUIRED)

View File

@ -33,9 +33,9 @@ depends=('libjpeg.so' # libjpeg or libjpeg-turbo
'libx11'
'libxrandr'
'libzip'
'qt6-base>=6.8.2'
'qt6-imageformats>=6.8.2'
'qt6-svg>=6.8.2'
'qt6-base>=6.9.1'
'qt6-imageformats>=6.9.1'
'qt6-svg>=6.9.1'
'wayland'
'zlib'
'zstd'
@ -51,7 +51,7 @@ makedepends=('base-devel'
'lld'
'llvm'
'ninja'
'qt6-tools>=6.8.2')
'qt6-tools>=6.9.1')
source=(
"${pkgname}::git+file://${startdir}/../../.."