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: Sun, 30 Jan 2022 11:39:27
Message-Id: 1643542745.3c8c53f31727ec807fdb55226601d12aca76b5ee.chewi@gentoo
1 commit: 3c8c53f31727ec807fdb55226601d12aca76b5ee
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Jan 30 11:37:29 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Jan 30 11:39:05 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c8c53f3
7
8 app-emulation/fs-uae-launcher: Version bump to 3.1.68, Python 3.10
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.68.ebuild | 72 ++++++++++++++++++++++
14 2 files changed, 73 insertions(+)
15
16 diff --git a/app-emulation/fs-uae-launcher/Manifest b/app-emulation/fs-uae-launcher/Manifest
17 index 36daa6c7006b..240239908edd 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.64.tar.xz 7719268 BLAKE2B 7753006e40e11d557f9cca90296b189638b832b8c2caebceb3fd5aa0393d3b1236ef2d47b176a900d26ab37012198afeb1549da92ba0570eb9b61df42c896550 SHA512 2f7c485f7707595a847130ebbaad3cf1fe9dc11149744bad2683b1b912a53830b687c0aa5ce97dc95a883182ef51020cc02fa434eac903752530f3780342090a
22 DIST fs-uae-launcher-3.1.66.tar.xz 7730328 BLAKE2B 68e141658d267c0bc574b216be5c99d10dff23d153e13cccc6a19c5abe618657ce3faf5c685e604ef55927a0dc713c0606f9e1f41e3bcd0015aeb232b9266713 SHA512 6232f43a0a41e67d912b277294079608808a7243512e7970900fab2be483ba82da99eaae547c41be059828c1f5d316e9b58ab8018651c9643b2b72cf7eb6f67e
23 +DIST fs-uae-launcher-3.1.68.tar.xz 7736036 BLAKE2B b2b14d568efa8c00b45497dea1bf73ac0b2522171269903f50ee68eff7e990f54c1b836af84a0b338caffd159fe3f638e6326db95f86482e190238e75894decd SHA512 a637117602c7276b60350ac3bb9c69eec4c18454efd4024e7b822da897eee0f9299f406e4126771f753b75f29d53591e9bbe3e4cbc016dda1ec063e73fe51f07
24
25 diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-3.1.68.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.1.68.ebuild
26 new file mode 100644
27 index 000000000000..f0f95ef7d072
28 --- /dev/null
29 +++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.1.68.ebuild
30 @@ -0,0 +1,72 @@
31 +# Copyright 1999-2022 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,10} )
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 + xdg_pkg_postinst
86 +
87 + elog "Some important information:"
88 + elog
89 + ewarn " - Do not use QtCurve, it will crash PyQt5!"
90 + elog
91 + elog " - By default, FS-UAE creates its directories under Documents/FS-UAE."
92 + elog " If your Documents directory is not configured according to the XDG"
93 + elog " user diretory spec, ~/FS-UAE will be used as a fallback."
94 + elog
95 + elog " - You can override this by putting the path to the desired base"
96 + elog " directory in a special config file. The config file will be read"
97 + elog " from ~/.config/fs-uae/base-dir by both FS-UAE and FS-UAE Launcher"
98 + elog " if it exists."
99 + elog
100 + elog " Alternatively, you can start FS-UAE and/or FS-UAE Launcher with"
101 + elog " --base-dir=/path/to/desired/dir"
102 +}