mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-30 16:10:36 +00:00
qstopmotion: fix build (#579009)
This commit is contained in:
@@ -60,18 +60,13 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail \
|
||||
"cmake_minimum_required(VERSION 3.0.2)" \
|
||||
"cmake_minimum_required(VERSION 3.10)"
|
||||
|
||||
substituteInPlace CMakeLists.txt \
|
||||
--replace-fail \
|
||||
"find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml" \
|
||||
"find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml Multimedia" \
|
||||
--replace-fail \
|
||||
"cmake_minimum_required(VERSION 3.0.2)" \
|
||||
"cmake_minimum_required(VERSION 3.5)"
|
||||
"cmake_minimum_required(VERSION 3.10)"
|
||||
grep -rl 'qwt' . | xargs sed -i 's@<qwt/qwt_slider.h>@<qwt_slider.h>@g'
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user