1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{5,6,7} )
7 PYTHON_REQ_USE="sqlite,threads(+)"
9 inherit distutils-r1 virtualx xdg
11 DESCRIPTION="An open source gaming platform for GNU/Linux"
12 HOMEPAGE="https://lutris.net/"
14 if [[ ${PV} == *9999* ]] ; then
15 EGIT_REPO_URI="https://github.com/lutris/lutris.git"
18 SRC_URI="https://lutris.net/releases/${P/-/_}.tar.xz"
19 KEYWORDS="~amd64 ~x86"
26 RESTRICT="!test? ( test )"
29 test? ( dev-python/nose[${PYTHON_USEDEP}] )
36 dev-python/pillow[${PYTHON_USEDEP}]
37 dev-python/pygobject:3[${PYTHON_USEDEP}]
38 dev-python/python-evdev[${PYTHON_USEDEP}]
39 dev-python/pyyaml[${PYTHON_USEDEP}]
40 dev-python/requests[${PYTHON_USEDEP}]
41 gnome-base/gnome-desktop:3[introspection]
42 media-sound/fluid-soundfont
44 net-libs/webkit-gtk:4[introspection]
48 x11-libs/gtk+:3[introspection]
52 python_install_all() {
53 local DOCS=( AUTHORS README.rst docs/installers.rst )
54 distutils-r1_python_install_all
69 elog "Lutris installations are fully automated through scripts, which can"
70 elog "be written in either JSON or YAML. The scripting syntax is described"
71 elog "in ${EROOT}/usr/share/doc/${PF}/installers.rst.bz2, and is also"
72 elog "available online at lutris.net."