diff options
Diffstat (limited to 'media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch')
-rw-r--r-- | media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch new file mode 100644 index 000000000000..9f8bc408331e --- /dev/null +++ b/media-video/simplescreenrecorder/files/simplescreenrecorder-0.4.2-cmake.patch @@ -0,0 +1,28 @@ +From 5330a3d65b7877f5f3691c20df35fbb7856d6f38 Mon Sep 17 00:00:00 2001 +From: Andreas Sturmlechner <andreas.sturmlechner@gmail.com> +Date: Thu, 11 Jan 2018 21:28:15 +0100 +Subject: [PATCH] Fix Qt5LinguistTools detection/lrelease binary location + +Correctly find the Qt5 module that provides the path to Qt5-based lrelease. +Available since >= Qt-5.3.1 which is well below the current minimum version. +--- + src/translations/CMakeLists.txt | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/src/translations/CMakeLists.txt b/src/translations/CMakeLists.txt +index d9afded..174acea 100644 +--- a/src/translations/CMakeLists.txt ++++ b/src/translations/CMakeLists.txt +@@ -1,7 +1,8 @@ + # translations for 'simplescreenrecorder' executable + + if(WITH_QT5) +- find_program(LRELEASE NAMES lrelease-qt5 lrelease) ++ find_package(Qt5LinguistTools REQUIRED) ++ set(LRELEASE Qt5::lrelease) + else() + find_program(LRELEASE NAMES lrelease-qt4 lrelease) + endif() +-- +2.29.2 + |