Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/fs-uae-launcher/
Date: Mon, 22 Nov 2021 23:22:29
Message-Id: 1637623264.1462b4ea0eaec237297631d3c21c5edca21d70ed.chewi@gentoo
1 commit: 1462b4ea0eaec237297631d3c21c5edca21d70ed
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 22 23:20:13 2021 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 22 23:21:04 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1462b4ea
7
8 app-emulation/fs-uae-launcher: Version bump to 3.1.46
9
10 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
11
12 app-emulation/fs-uae-launcher/Manifest | 1 +
13 .../fs-uae-launcher/fs-uae-launcher-3.1.46.ebuild | 70 ++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/app-emulation/fs-uae-launcher/Manifest b/app-emulation/fs-uae-launcher/Manifest
17 index 588095e995c0..a0fb4b3777af 100644
18 --- a/app-emulation/fs-uae-launcher/Manifest
19 +++ b/app-emulation/fs-uae-launcher/Manifest
20 @@ -1,2 +1,3 @@
21 DIST fs-uae-launcher-3.1.26.tar.gz 9656516 BLAKE2B 1b8d12ef91631dedf412976e81529ac7138b7f688ad6ae1ad55bfd3625590ee00aab89d229d2aa64eec577d291a6e634362c557428534c355fdb39e878f40253 SHA512 0e4e542bebfe2d8f862005c016fe70319dd6c5e1e413be9b0ce0421bb95253ba6eb92337989cc86210094b9b02a6ad86da4725f1a65d50673703fa6c6cb58f37
22 DIST fs-uae-launcher-3.1.43.tar.xz 7785544 BLAKE2B 504d97dbc2bff7bc6abe065854e51b1ce51d40aec582586473629a77626c750510b4f885d3679a734d2dc7c889e9b18f41c27ea924ea7134641de2df16a0b404 SHA512 df19c4a3897b089daaee869226dfe2adfa990e0f8e30772e482e27a21c64f7d9d3369e8d6b0c72ac6119e207e9978f2052a7d681fe4f40b99e5ec48161e2a0fe
23 +DIST fs-uae-launcher-3.1.46.tar.xz 7820988 BLAKE2B 9c6bb28c00a41f71067d13ec40f947bf20d447dcc32b3d1e9053204b70699bc6b8ad89776421a8feb6ecad325b320e4b11e32abd65002650583c14890a41f85c SHA512 f96d01a0e2f985e02238fde482457d1859e04bde3c5a43dfbabc47c57ae7fea89970174931d95eb1679fc1ef6be0d52bef40e33f8d66e79fd0327af863290c06
24
25 diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-3.1.46.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.1.46.ebuild
26 new file mode 100644
27 index 000000000000..1ed6d4b64f52
28 --- /dev/null
29 +++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.1.46.ebuild
30 @@ -0,0 +1,70 @@
31 +# Copyright 1999-2021 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +PYTHON_COMPAT=( python3_{8,9} )
37 +DISTUTILS_SINGLE_IMPL=1
38 +DISTUTILS_USE_SETUPTOOLS=no
39 +
40 +inherit distutils-r1 xdg
41 +
42 +DESCRIPTION="PyQt5-based launcher for FS-UAE"
43 +HOMEPAGE="https://fs-uae.net/"
44 +SRC_URI="https://fs-uae.net/files/FS-UAE-Launcher/Stable/${PV}/${P}.tar.xz"
45 +LICENSE="GPL-2"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~ppc64"
48 +IUSE="lha"
49 +RESTRICT="test" # The test files are just boilerplate.
50 +
51 +RDEPEND="
52 + app-emulation/fs-uae
53 + $(python_gen_cond_dep '
54 + dev-python/PyQt5[${PYTHON_USEDEP},declarative,gui,network,opengl,widgets]
55 + dev-python/pyopengl[${PYTHON_USEDEP}]
56 + dev-python/requests[${PYTHON_USEDEP}]
57 + lha? ( dev-python/python-lhafile[${PYTHON_USEDEP}] )
58 + ')
59 +"
60 +
61 +BDEPEND="
62 + sys-devel/gettext
63 +"
64 +
65 +PATCHES=(
66 + "${FILESDIR}"/${PN}-3.0.0-ROMs.patch
67 +)
68 +
69 +python_compile_all() {
70 + emake
71 +}
72 +
73 +python_install() {
74 + local dir=${EPREFIX}/usr/share/${PN}
75 + distutils-r1_python_install --install-lib="${dir}" --install-scripts="${dir}"
76 +}
77 +
78 +python_install_all() {
79 + dosym ../share/${PN}/${PN} /usr/bin/${PN}
80 + emake install-data DESTDIR="${D}" prefix="${EPREFIX}"/usr
81 + mv "${ED}"/usr/share/doc/{${PN},${PF}} || die
82 +}
83 +
84 +pkg_postinst() {
85 + elog "Some important information:"
86 + elog
87 + ewarn " - Do not use QtCurve, it will crash PyQt5!"
88 + elog
89 + elog " - By default, FS-UAE creates its directories under Documents/FS-UAE."
90 + elog " If your Documents directory is not configured according to the XDG"
91 + elog " user diretory spec, ~/FS-UAE will be used as a fallback."
92 + elog
93 + elog " - You can override this by putting the path to the desired base"
94 + elog " directory in a special config file. The config file will be read"
95 + elog " from ~/.config/fs-uae/base-dir by both FS-UAE and FS-UAE Launcher"
96 + elog " if it exists."
97 + elog
98 + elog " Alternatively, you can start FS-UAE and/or FS-UAE Launcher with"
99 + elog " --base-dir=/path/to/desired/dir"
100 +}