subtitlecomposer: build with Qt6
This commit is contained in:
@@ -2,11 +2,12 @@
|
||||
lib,
|
||||
fetchFromGitLab,
|
||||
cmake,
|
||||
extra-cmake-modules,
|
||||
ffmpeg_6,
|
||||
pkg-config,
|
||||
ffmpeg_7,
|
||||
openal,
|
||||
stdenv,
|
||||
libsForQt5,
|
||||
qt6,
|
||||
kdePackages,
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
@@ -21,16 +22,23 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
hash = "sha256-zGbI960NerlOEUvhOLm+lEJdbhj8VFUfm8pkOYGRcGw=";
|
||||
};
|
||||
|
||||
cmakeFlags = [
|
||||
"-DQT_MAJOR_VERSION=6"
|
||||
"-DQT_FIND_PRIVATE_MODULES=ON"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
cmake
|
||||
extra-cmake-modules
|
||||
libsForQt5.wrapQtAppsHook
|
||||
kdePackages.extra-cmake-modules
|
||||
pkg-config
|
||||
qt6.wrapQtAppsHook
|
||||
];
|
||||
buildInputs = [
|
||||
ffmpeg_6
|
||||
ffmpeg_7
|
||||
openal
|
||||
qt6.qt5compat
|
||||
]
|
||||
++ (with libsForQt5; [
|
||||
++ (with kdePackages; [
|
||||
kcodecs
|
||||
kconfig
|
||||
kconfigwidgets
|
||||
|
||||
Reference in New Issue
Block a user