Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-util/lutris/
Date: Mon, 01 Jul 2019 08:34:52
Message-Id: 1561970080.55823a46d11b080bc33b7bfb5ccb2b139f777aac.polynomial-c@gentoo
1 commit: 55823a46d11b080bc33b7bfb5ccb2b139f777aac
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jul 1 08:27:02 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Jul 1 08:34:40 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55823a46
7
8 games-util/lutris: Bump to version 0.5.2.2
9
10 Package-Manager: Portage-2.3.68, Repoman-2.3.16
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 games-util/lutris/Manifest | 1 +
14 games-util/lutris/lutris-0.5.2.2.ebuild | 75 +++++++++++++++++++++++++++++++++
15 2 files changed, 76 insertions(+)
16
17 diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest
18 index 41d2749b1d3..0c5269a14ea 100644
19 --- a/games-util/lutris/Manifest
20 +++ b/games-util/lutris/Manifest
21 @@ -1,2 +1,3 @@
22 DIST lutris_0.5.2.1.tar.xz 1742968 BLAKE2B 676f5019260714ab5205366f51a5911e0459f353f6debead49fded4bc8c764b0e621a86b98c7663df2cd9fd3c59c23944d516f8991cd455c271b10ef02c485eb SHA512 1aaf69be8bdfb72a427e10c4c73ad06c80ebda59a5dd0bfc6d484240250160770854ad28698d3d60af1e3f19b58ade973ab688c6416169df3a4c6ab3c0981301
23 +DIST lutris_0.5.2.2.tar.xz 1742640 BLAKE2B 683ebb790ccae20fd939bdd8338a5940cbd1151a7d3b476679291f1fc84278c77ebcc9676c3701e491664563281b884067ca85cf1ff10e79545186deea046078 SHA512 634182676f7ff921bc0d320aa130203f37cfec83acea397d24001c41647e35600ab4709e67ffda5f5e5b08b2b5018bbf78609ef7d4f70ed93c965d0fb5f2309f
24 DIST lutris_0.5.2.tar.xz 1742940 BLAKE2B 2fa8a0534c50e02457285e1e1e0ecfe39607ba68b6a8f0f25be1a5b7b8f0809fc0f048758b80e8305aff22b4034eaf8a2b4e717e37c34f3b78024ea60322fef2 SHA512 d2b22e56031ec25e94eb7cb28157cac65f71638ee24a8bba78f30af778f432c52a78ae2d4134a869aaf5e97d6229107d2b9abc474290b7f15ca3bfa7c8e1f66f
25
26 diff --git a/games-util/lutris/lutris-0.5.2.2.ebuild b/games-util/lutris/lutris-0.5.2.2.ebuild
27 new file mode 100644
28 index 00000000000..37e850aab99
29 --- /dev/null
30 +++ b/games-util/lutris/lutris-0.5.2.2.ebuild
31 @@ -0,0 +1,75 @@
32 +# Copyright 1999-2019 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{5,6,7} )
38 +PYTHON_REQ_USE="sqlite,threads(+)"
39 +
40 +inherit distutils-r1 virtualx xdg
41 +
42 +DESCRIPTION="An open source gaming platform for GNU/Linux"
43 +HOMEPAGE="https://lutris.net/"
44 +
45 +if [[ ${PV} == *9999* ]] ; then
46 + EGIT_REPO_URI="https://github.com/lutris/lutris.git"
47 + inherit git-r3
48 +else
49 + SRC_URI="https://lutris.net/releases/${P/-/_}.tar.xz"
50 + KEYWORDS="~amd64 ~x86"
51 + S="${WORKDIR}/${PN}"
52 +fi
53 +
54 +LICENSE="GPL-3"
55 +SLOT="0"
56 +
57 +BDEPEND="
58 + test? ( dev-python/nose[${PYTHON_USEDEP}] )
59 +"
60 +RDEPEND="
61 + app-arch/cabextract
62 + app-arch/p7zip
63 + app-arch/unrar
64 + app-arch/unzip
65 + dev-python/pillow[${PYTHON_USEDEP}]
66 + dev-python/pygobject:3[${PYTHON_USEDEP}]
67 + dev-python/python-evdev[${PYTHON_USEDEP}]
68 + dev-python/pyyaml[${PYTHON_USEDEP}]
69 + dev-python/requests[${PYTHON_USEDEP}]
70 + gnome-base/gnome-desktop[introspection]
71 + media-sound/fluid-soundfont
72 + net-libs/libsoup
73 + net-libs/webkit-gtk:4[introspection]
74 + x11-apps/mesa-progs
75 + x11-apps/xgamma
76 + x11-apps/xrandr
77 + x11-libs/gtk+:3[introspection]
78 + x11-libs/libnotify
79 +"
80 +
81 +python_install_all() {
82 + local DOCS=( AUTHORS README.rst docs/installers.rst )
83 + distutils-r1_python_install_all
84 +}
85 +
86 +python_test() {
87 + virtx nosetests -v || die
88 +}
89 +
90 +pkg_preinst() {
91 + xdg_pkg_preinst
92 +}
93 +
94 +pkg_postinst() {
95 + xdg_pkg_postinst
96 +
97 + # Quote README.rst
98 + elog "Lutris installations are fully automated through scripts, which can"
99 + elog "be written in either JSON or YAML. The scripting syntax is described"
100 + elog "in ${EROOT}/usr/share/doc/${PF}/installers.rst.bz2, and is also"
101 + elog "available online at lutris.net."
102 +}
103 +
104 +pkg_postrm() {
105 + xdg_pkg_postrm
106 +}