blob: 960cafec846a5d56a272a7677bc0ef38b3b653fc (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6} )
PYTHON_REQ_USE="sqlite,threads"
inherit distutils-r1 gnome2-utils python-r1
DESCRIPTION="Lutris is an open source gaming platform for GNU/Linux."
HOMEPAGE="https://lutris.net/"
if [[ "${PV}" == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/lutris/${PN}.git"
inherit git-r3
else
SRC_URI="https://github.com/lutris/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
RDEPEND="
dev-python/dbus-python[${PYTHON_USEDEP}]
dev-python/pygobject:3[${PYTHON_USEDEP}]
dev-python/python-evdev[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
net-libs/libsoup
x11-apps/xrandr
x11-apps/xgamma"
python_install() {
distutils-r1_python_install
}
src_prepare() {
distutils-r1_src_prepare
}
src_compile() {
distutils-r1_src_compile
}
src_install() {
# README.rst contains list of optional deps
DOCS=( AUTHORS README.rst INSTALL.rst )
distutils-r1_src_install
}
pkg_preinst() {
gnome2_icon_savelist
gnome2_schemas_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
gnome2_schemas_update
elog "For a list of optional dependencies (runners) see:"
elog "/usr/share/doc/${PF}/README.rst.bz2"
}
pkg_postrm() {
gnome2_icon_cache_update
gnome2_schemas_update
}
|