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