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, 15 Apr 2019 14:54:21
Message-Id: 1555340047.1ff05321a57b352f5d477f8fb8e39f869267ad9f.polynomial-c@gentoo
1 commit: 1ff05321a57b352f5d477f8fb8e39f869267ad9f
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Apr 15 12:58:43 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Apr 15 14:54:07 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ff05321
7
8 games-util/lutris: Bump to version 0.5.2.1
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
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.1.ebuild | 75 +++++++++++++++++++++++++++++++++
15 2 files changed, 76 insertions(+)
16
17 diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest
18 index 0a1d9fb9ec3..f0ed53d27cb 100644
19 --- a/games-util/lutris/Manifest
20 +++ b/games-util/lutris/Manifest
21 @@ -1,2 +1,3 @@
22 DIST lutris_0.5.1.2.tar.xz 1741512 BLAKE2B b6e5d698222d073cf8062235c17b972264a0063632c0e75076c0ac085fe4ada6c5640254c4d346463ca2e0bb60e9e84b189bda7c390b7db374f2fcee605de1c6 SHA512 e6eba2bde00f597d2985923a5151ad1b8cbbcfe69845448d53b1d41d8129b72c3d679894babd56f64a6190e2d2265a924bb93eb1c65b29037214674738481909
23 +DIST lutris_0.5.2.1.tar.xz 1742968 BLAKE2B 676f5019260714ab5205366f51a5911e0459f353f6debead49fded4bc8c764b0e621a86b98c7663df2cd9fd3c59c23944d516f8991cd455c271b10ef02c485eb SHA512 1aaf69be8bdfb72a427e10c4c73ad06c80ebda59a5dd0bfc6d484240250160770854ad28698d3d60af1e3f19b58ade973ab688c6416169df3a4c6ab3c0981301
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.1.ebuild b/games-util/lutris/lutris-0.5.2.1.ebuild
27 new file mode 100644
28 index 00000000000..2da144c4dbb
29 --- /dev/null
30 +++ b/games-util/lutris/lutris-0.5.2.1.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_{4,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 +}