Rebuild subtitlecomposer against ICU 75 and switch to Qt 6

The switch to Qt 6 is required for the ICU 75 rebuild because only when using
Qt 6 the build system uses C++ 17 which is required as of ICU 75.
This commit is contained in:
Martchus 2024-05-10 11:39:34 +02:00
parent 047fd65334
commit fb8bcb3eed
1 changed files with 3 additions and 2 deletions

View File

@ -8,12 +8,12 @@
pkgname=subtitlecomposer
pkgver=0.8.0
pkgrel=3
pkgrel=4
pkgdesc='Video subtitle editor'
arch=('i686' 'x86_64')
url="https://invent.kde.org/multimedia/${pkgname}"
license=('GPL')
depends=('qt5-declarative' 'kcoreaddons5' 'ktextwidgets5' 'kio5' 'sonnet5' 'kcodecs5' 'kxmlgui5' 'ki18n5' 'ffmpeg' 'openal')
depends=('qt6-declarative' 'qt6-5compat' 'kcoreaddons' 'ktextwidgets' 'kio' 'sonnet' 'kcodecs' 'kxmlgui' 'ki18n' 'ffmpeg' 'openal')
makedepends=('extra-cmake-modules' 'jack' 'blas' 'xorg-server-xvfb')
# Comment/uncomment the following dependency to disable/enable
@ -48,6 +48,7 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DQT_MAJOR_VERSION=6 \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
cmake --build "${srcdir}/build"
}