Skip to content

Commit

Permalink
app-text/paperwork: fix install with tesseract[opencl] and nvidia
Browse files Browse the repository at this point in the history
Closes: https://bugs.gentoo.org/793446
Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Bernard Cafarelli <[email protected]>
  • Loading branch information
voyageur committed Jun 1, 2021
1 parent 8790465 commit db48ef9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app-text/paperwork/paperwork-2.0.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit db48ef9

Please sign in to comment.