diff options
Diffstat (limited to 'app-text/calibre/calibre-5.16.1-r1.ebuild')
-rw-r--r-- | app-text/calibre/calibre-5.16.1-r1.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app-text/calibre/calibre-5.16.1-r1.ebuild b/app-text/calibre/calibre-5.16.1-r1.ebuild index 32b84b85f211..f0ce3cbefb85 100644 --- a/app-text/calibre/calibre-5.16.1-r1.ebuild +++ b/app-text/calibre/calibre-5.16.1-r1.ebuild @@ -6,7 +6,7 @@ EAPI=7 PYTHON_COMPAT=( python3_{8..9} ) PYTHON_REQ_USE="ipv6(+),sqlite,ssl" -inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 xdg-utils +inherit bash-completion-r1 desktop toolchain-funcs python-single-r1 qmake-utils xdg-utils DESCRIPTION="Ebook management application" HOMEPAGE="https://calibre-ebook.com/" @@ -176,7 +176,7 @@ src_install() { cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die chmod +x "${T}"/bin/{kbuildsycoca,update-mime-database} || die - export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake" + export QMAKE="$(qt5_get_bindir)/qmake" # Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox # violation with kbuildsycoca as in bug #287067, comment #13. @@ -207,7 +207,7 @@ src_install() { addpredict /dev/dri #665310 - PATH=${T}/bin:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \ + PATH=${T}/bin:$(qt5_get_bindir):${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \ "${PYTHON}" setup.py install \ --root="${D}" \ --prefix="${EPREFIX}/usr" \ |