summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2022-03-24 20:39:07 -0700
committerZac Medico <zmedico@gentoo.org>2022-03-24 20:45:50 -0700
commit91a277f56ef8f48d9a2c8f5e399930964da28cac (patch)
treebe34a9f9ba743276c7bb4e687de36660753e446c /app-text/calibre
parentmedia-libs/harfbuzz: fix comment typo (diff)
downloadgentoo-91a277f56ef8f48d9a2c8f5e399930964da28cac.tar.gz
gentoo-91a277f56ef8f48d9a2c8f5e399930964da28cac.tar.bz2
gentoo-91a277f56ef8f48d9a2c8f5e399930964da28cac.zip
app-text/calibre: use qt5_get_bindir
Closes: https://bugs.gentoo.org/835923 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'app-text/calibre')
-rw-r--r--app-text/calibre/calibre-5.16.1-r1.ebuild6
-rw-r--r--app-text/calibre/calibre-5.39.1.ebuild6
2 files changed, 6 insertions, 6 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" \
diff --git a/app-text/calibre/calibre-5.39.1.ebuild b/app-text/calibre/calibre-5.39.1.ebuild
index a9f64cfe2e57..ec684bf96296 100644
--- a/app-text/calibre/calibre-5.39.1.ebuild
+++ b/app-text/calibre/calibre-5.39.1.ebuild
@@ -6,7 +6,7 @@ EAPI=8
PYTHON_COMPAT=( python3_{8..9} )
PYTHON_REQ_USE="ipv6(+),sqlite,ssl"
-inherit toolchain-funcs python-single-r1 xdg-utils
+inherit toolchain-funcs python-single-r1 qmake-utils xdg-utils
DESCRIPTION="Ebook management application"
HOMEPAGE="https://calibre-ebook.com/"
@@ -196,7 +196,7 @@ src_compile() {
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
- PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die
+ PATH="${T}/bin:$(qt5_get_bindir):${PATH}" ${EPYTHON} setup.py build || die
}
src_test() {
@@ -229,7 +229,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.