diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-04-06 22:33:41 +0100 |
commit | e68d405c5d712af4387159df07e226217bdda049 (patch) | |
tree | 009ab0f3d427f0813e62930d71802cb054c07e30 /media-libs/quarter/files | |
parent | 401101f9c8077911929d3f2b60a37098460a5d89 (diff) |
gentoo resync : 06.04.2022
Diffstat (limited to 'media-libs/quarter/files')
-rw-r--r-- | media-libs/quarter/files/quarter-1.1.0-find-qhelpgenerator-binary.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/media-libs/quarter/files/quarter-1.1.0-find-qhelpgenerator-binary.patch b/media-libs/quarter/files/quarter-1.1.0-find-qhelpgenerator-binary.patch new file mode 100644 index 000000000000..6fe804551e72 --- /dev/null +++ b/media-libs/quarter/files/quarter-1.1.0-find-qhelpgenerator-binary.patch @@ -0,0 +1,22 @@ +From 04994984239e18ea68af04734c4c8a1324bc0ac6 Mon Sep 17 00:00:00 2001 +From: Bernd Waibel <waebbl-gentoo@posteo.net> +Date: Sat, 2 Apr 2022 15:00:42 +0200 +Subject: [PATCH] find qhelpgenerator binary + +Signed-off-by: Bernd Waibel <waebbl-gentoo@posteo.net> +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -204,7 +204,9 @@ if(QUARTER_BUILD_DOCUMENTATION) + endif() + endif() + if(QUARTER_BUILD_DOC_QTHELP) +- find_program(QHG_LOCATION NAMES qhelpgenerator qhelpgenerator-qt5 DOC "Qt qhelpgenerator") ++ get_target_property(qt_qmake_location Qt5::qmake LOCATION) ++ get_filename_component(qt_bin_dir "${qt_qmake_location}" PATH) ++ find_program(QHG_LOCATION NAMES qhelpgenerator qhelpgenerator-qt5 DOC "Qt qhelpgenerator" HINTS "${qt_bin_dir}") + if(NOT QHG_LOCATION) + message(FATAL_ERROR "Missing program Qt qhelpgenerator") + else() +-- +2.35.1 + |