summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalin KOZHUHAROV <me.kalin@gmail.com>2022-07-21 09:43:09 +0200
committerJames Le Cuirot <chewi@gentoo.org>2022-08-06 22:48:26 +0100
commit86473be29f70c53a17c71f96cbbb51cc23caca7e (patch)
tree66f935b63e4078e451f21051d964277751cf61ac /media-gfx/nomacs
parentdev-libs/intel-compute-runtime: add 22.31.23852 (diff)
downloadgentoo-86473be29f70c53a17c71f96cbbb51cc23caca7e.tar.gz
gentoo-86473be29f70c53a17c71f96cbbb51cc23caca7e.tar.bz2
gentoo-86473be29f70c53a17c71f96cbbb51cc23caca7e.zip
media-gfx/nomacs-3.16.224-r3: Fix building with USE=plugins
It looks like qmake was renamed to qmake5 and could not be found, see 2022-03-30-qt-5_15_3-bump in Gentoo news and https://archives.gentoo.org/gentoo-dev/message/5f3681b5b28dabeb5339d44e9585d29f Closes: https://bugs.gentoo.org/847112 Signed-off-by: Kalin KOZHUHAROV <kalin@thinrope.net> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-gfx/nomacs')
-rw-r--r--media-gfx/nomacs/nomacs-3.16.224-r2.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild b/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild
index 0102090380d2..4fb8d3913800 100644
--- a/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild
+++ b/media-gfx/nomacs/nomacs-3.16.224-r2.ebuild
@@ -57,6 +57,9 @@ src_prepare() {
if use plugins ; then
rmdir plugins || die
mv -v ../../${PLUGIN_PKG} plugins || die
+ # Fix bug #847112
+ sed -e 's:QT_QMAKE_EXECUTABLE NAMES "qmake" "qmake-qt5" "qmake.exe":QT_QMAKE_EXECUTABLE NAMES "qmake" "qmake5" "qmake.exe":' \
+ -i plugins/cmake/Utils.cmake || die
# Fix nomacs-plugins installation and search library directory
sed -e "s:lib/nomacs-plugins:$(get_libdir)/nomacs-plugins:" \
-i plugins/cmake/Utils.cmake || die