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, 30 Nov 2020 01:13:59
Message-Id: 1606698832.7e1e4a52c722495653f1c408ebf215ab546a3c42.polynomial-c@gentoo
1 commit: 7e1e4a52c722495653f1c408ebf215ab546a3c42
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 30 01:13:43 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 30 01:13:52 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e1e4a52
7
8 games-util/lutris: Bump to version 0.5.8.1
9
10 Package-Manager: Portage-3.0.11, Repoman-3.0.2
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.8.1.ebuild | 78 +++++++++++++++++++++++++++++++++
15 2 files changed, 79 insertions(+)
16
17 diff --git a/games-util/lutris/Manifest b/games-util/lutris/Manifest
18 index 55c2da9df18..281ec26d2b7 100644
19 --- a/games-util/lutris/Manifest
20 +++ b/games-util/lutris/Manifest
21 @@ -1,2 +1,3 @@
22 DIST lutris_0.5.7.1.tar.xz 2145584 BLAKE2B eb766d5e36aca63af7af8f2e85f51b4e3e37b8372b13a59702c545a0c697fa5feb1403cd9589d22c2bdff6593f69ed39e1bcb7ecb28ecc24b7a77b09ed1b2f89 SHA512 9efff4d92ae4d9051a7253324047dfa57f463188ebdbcede5feba2c0268494e8fa7929d2ef30bfe85e52824bbb9c05b1f1688b6658376597cc4cc35c26a19da3
23 +DIST lutris_0.5.8.1.tar.xz 893328 BLAKE2B 67c66b59c3fa78af46f953b6e27fb3dd77d0e4cb0746f490716c7c074e81afa4f9c4e8c10dc6d4dab3e2b37d03254bae5eda0b777da72bc17f18dda5fd1f990a SHA512 da3b5ebf3e5dcc5011351197c5a80e8547e54df4555ea9124a8404877c5b75225cfae970819a171c55454fef73afdd927dafbf427301b71618c33660a1c8c022
24 DIST lutris_0.5.8.tar.xz 892740 BLAKE2B eaa8c71ade35392e701b3fd1d8ef2c0077e7fb7b96c3f037b5e4353d89b50b82e8a75fb2fb537e6ceeb9b6faaa5962e0ffe425f52820168b60eed742024610a4 SHA512 dcd963ff8b3c6d66fe79acc1e1c237196f7351d87bf1b4e5920201ecd7f1b2a80ac59f7151287e70e68c402c2b1b00e961d7314e6d5cbbbae0f4ca5fda562a0f
25
26 diff --git a/games-util/lutris/lutris-0.5.8.1.ebuild b/games-util/lutris/lutris-0.5.8.1.ebuild
27 new file mode 100644
28 index 00000000000..4052ada5d97
29 --- /dev/null
30 +++ b/games-util/lutris/lutris-0.5.8.1.ebuild
31 @@ -0,0 +1,78 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +PYTHON_COMPAT=( python3_{6,7,8} )
38 +PYTHON_REQ_USE="sqlite,threads(+)"
39 +DISTUTILS_SINGLE_IMPL="1"
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 +RESTRICT="!test? ( test )"
59 +
60 +BDEPEND="
61 + test? (
62 + $(python_gen_cond_dep '
63 + dev-python/nose[${PYTHON_USEDEP}]
64 + ')
65 + )
66 +"
67 +RDEPEND="
68 + app-arch/cabextract
69 + app-arch/p7zip
70 + app-arch/unrar
71 + app-arch/unzip
72 + $(python_gen_cond_dep '
73 + dev-python/dbus-python[${PYTHON_USEDEP}]
74 + dev-python/pillow[${PYTHON_USEDEP}]
75 + dev-python/pygobject:3[${PYTHON_USEDEP}]
76 + dev-python/python-evdev[${PYTHON_USEDEP}]
77 + dev-python/pyyaml[${PYTHON_USEDEP}]
78 + dev-python/requests[${PYTHON_USEDEP}]
79 + ')
80 + gnome-base/gnome-desktop:3[introspection]
81 + media-sound/fluid-soundfont
82 + net-libs/libsoup
83 + net-libs/webkit-gtk:4[introspection]
84 + x11-apps/mesa-progs
85 + x11-apps/xgamma
86 + x11-apps/xrandr
87 + x11-libs/gtk+:3[introspection]
88 + x11-libs/libnotify
89 +"
90 +
91 +python_install_all() {
92 + local DOCS=( AUTHORS README.rst docs/installers.rst )
93 + distutils-r1_python_install_all
94 + python_fix_shebang "${ED}"/usr/share/lutris/bin/lutris-wrapper #740048
95 +}
96 +
97 +python_test() {
98 + virtx nosetests -v
99 +}
100 +
101 +pkg_postinst() {
102 + xdg_pkg_postinst
103 +
104 + # Quote README.rst
105 + elog "Lutris installations are fully automated through scripts, which can"
106 + elog "be written in either JSON or YAML. The scripting syntax is described"
107 + elog "in ${EROOT}/usr/share/doc/${PF}/installers.rst.bz2, and is also"
108 + elog "available online at lutris.net."
109 +}