1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 PYTHON_COMPAT=( python{2_7,3_6} )
7 inherit eutils distutils-r1 xdg-utils
9 DESCRIPTION="A tool to crop PDF files"
10 HOMEPAGE="http://arminstraub.com/software/krop"
11 SRC_URI="http://arminstraub.com/downloads/${PN}/${P}.tar.gz"
18 RDEPEND="dev-python/python-poppler-qt5[${PYTHON_USEDEP}]
19 dev-python/PyPDF2[${PYTHON_USEDEP}]
20 dev-python/PyQt5[${PYTHON_USEDEP}]"
23 distutils-r1_src_install
24 domenu "${WORKDIR}/${P}/${PN}.desktop"
28 xdg_mimeinfo_database_update
29 xdg_desktop_database_update
33 xdg_mimeinfo_database_update
34 xdg_desktop_database_update