diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-16 16:26:47 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-10-16 16:28:31 +0200 |
commit | 3d7418c0a4913d81e601b1fb50cd32e072ea4453 (patch) | |
tree | 473b493e80d93b1d8de77c71472f85939acb14d7 /media-gfx/engauge | |
parent | media-video/yle-dl: add 20221015 (diff) | |
download | gentoo-3d7418c0a4913d81e601b1fb50cd32e072ea4453.tar.gz gentoo-3d7418c0a4913d81e601b1fb50cd32e072ea4453.tar.bz2 gentoo-3d7418c0a4913d81e601b1fb50cd32e072ea4453.zip |
media-gfx/engauge: Fix src_install by generating engauge.qch in ebuild
Closes: https://bugs.gentoo.org/655372
Closes: https://bugs.gentoo.org/764452
Closes: https://bugs.gentoo.org/847244
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-gfx/engauge')
-rw-r--r-- | media-gfx/engauge/engauge-12.1.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/media-gfx/engauge/engauge-12.1.ebuild b/media-gfx/engauge/engauge-12.1.ebuild index 39f94ddb1b7f..a75b08d00c25 100644 --- a/media-gfx/engauge/engauge-12.1.ebuild +++ b/media-gfx/engauge/engauge-12.1.ebuild @@ -28,6 +28,7 @@ RDEPEND="dev-qt/qtcore:5 jpeg2k? ( media-libs/openjpeg:2 ) pdf? ( app-text/poppler[qt5] )" DEPEND="${RDEPEND}" +BDEPEND="dev-qt/qthelp:5" S=${WORKDIR}/engauge-digitizer-${PV} @@ -58,7 +59,7 @@ src_configure() { $(usex pdf "CONFIG+=pdf PKGCONFIG+=poppler-qt5" "") \ engauge.pro pushd help >/dev/null || die - ./build_qt5_12_0.bash || die + $(qt5_get_bindir)/qhelpgenerator engauge.qhp || die popd >/dev/null || die } @@ -68,7 +69,7 @@ src_install() { make_desktop_entry engauge "Engauge Digitizer" engauge-digitizer Graphics # Install qt help files - dodoc bin/documentation/engauge.qch + dodoc help/engauge.qch docompress -x "${EPREFIX}"/usr/share/doc/${PF}/engauge.qch use doc && dodoc -r doc/. |