diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2021-06-01 21:27:12 +0200 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2021-06-01 21:27:24 +0200 |
commit | db48ef9ae8e400c4144b4e0314f1db3c53ff6f9b (patch) | |
tree | cf524245082d5cbd8ebbc21ac8c5d2eb70c2e02e /app-text/paperwork | |
parent | sci-geosciences/qgis: restrict to <dev-python/sip-5 (diff) | |
download | gentoo-db48ef9ae8e400c4144b4e0314f1db3c53ff6f9b.tar.gz gentoo-db48ef9ae8e400c4144b4e0314f1db3c53ff6f9b.tar.bz2 gentoo-db48ef9ae8e400c4144b4e0314f1db3c53ff6f9b.zip |
app-text/paperwork: fix install with tesseract[opencl] and nvidia
Closes: https://bugs.gentoo.org/793446
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'app-text/paperwork')
-rw-r--r-- | app-text/paperwork/paperwork-2.0.3.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app-text/paperwork/paperwork-2.0.3.ebuild b/app-text/paperwork/paperwork-2.0.3.ebuild index b9ec9918ccc6..3095f01e5a0d 100644 --- a/app-text/paperwork/paperwork-2.0.3.ebuild +++ b/app-text/paperwork/paperwork-2.0.3.ebuild @@ -36,6 +36,10 @@ PATCHES=( "${FILESDIR}"/${P}-desktop_file.patch ) python_install_all() { distutils-r1_python_install_all + # This queries tesseract languages and will fail sandbox with + # USE=opencl, bug #793446 + addpredict /dev/nvidiactl + PYTHONPATH="src" "${EPYTHON}" src/paperwork_gtk/main.py install \ --icon_base_dir="${ED}"/usr/share/icons \ --data_base_dir="${ED}"/usr/share |