# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_SINGLE_IMPL=1 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..11} ) inherit distutils-r1 xdg if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/qutebrowser/qutebrowser.git" else SRC_URI="https://github.com/qutebrowser/qutebrowser/releases/download/v${PV}/${P}.tar.gz" KEYWORDS="~amd64 ~arm64 ~x86" fi DESCRIPTION="Keyboard-driven, vim-like browser based on PyQt5 and QtWebEngine" HOMEPAGE="https://www.qutebrowser.org/" LICENSE="GPL-3+" SLOT="0" IUSE="+adblock pdf widevine" RDEPEND=" dev-qt/qtcore:5[icu] dev-qt/qtgui:5[png] $(python_gen_cond_dep 'dev-python/importlib_resources[${PYTHON_USEDEP}]' 3.8) $(python_gen_cond_dep ' dev-python/colorama[${PYTHON_USEDEP}] >=dev-python/jinja-3.0.2[${PYTHON_USEDEP}] >=dev-python/markupsafe-2.0.1[${PYTHON_USEDEP}] dev-python/pygments[${PYTHON_USEDEP}] dev-python/PyQt5[${PYTHON_USEDEP},dbus,declarative,multimedia,gui,network,opengl,printsupport,sql,widgets] dev-python/PyQtWebEngine[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP},libyaml(+)] dev-python/zipp[${PYTHON_USEDEP}] adblock? ( dev-python/adblock[${PYTHON_USEDEP}] )') pdf? (