FS-UAE-Launcher that doesn't clash with amitools

This commit is contained in:
Torsten Kurbad 2025-11-07 10:53:16 +01:00
parent 3cc6423339
commit f970b95b7e
4 changed files with 99 additions and 0 deletions

View File

@ -0,0 +1,4 @@
AUX fs-uae-launcher-3.0.0-ROMs.patch 626 BLAKE2B 2662476f496345e6dc2f169b8c3e6e579ba68c3c7c1d9c782ce2dff39394520bde6dc1a52d9d43f562bddec9dc28daa3d0e7e1e93f1da48a0a932e1415ad40ea SHA512 8b607f64cd1c66601f7fccf5332377a85e905a6d9ba9fadb9a7234d5f36c350590011141602e093ee7a30dce4c9c6c0e9928b8b7a0be716eeaa15aeff1eacce0
DIST fs-uae-launcher-3.2.35.tar.xz 7727452 BLAKE2B 4f176ac1aafc0b4bb5f85731bedc5983033f849cc567e065de6ff6f8bc923b4b2f5efaa2ea7935767335660dd2e3b49d5269d44782c453dca05bd9caa299d3c4 SHA512 2b719fc9f2d47cdbe7e040f1e4632757bf22aa7ccaf5ef0a2ea4e972acca301929dd2f8ecfc63e957ff1f9394229dadf130ac1542ce251e29c84d57592654e3d
EBUILD fs-uae-launcher-3.2.35.ebuild 1840 BLAKE2B 5dbc4f15b0676196dcbe3d1f7a12496debc844b13b92ea64b5120519eacc24e4b6a5320fce7ee304d10ba4c6e0f2584c422cbf490202543f2353c9949cc0b3fb SHA512 d2724b10718e651e87373f25ba39f898f1efd4b3259beadc0db495178c3406e4a1d65c4e5147a463784f6b55609f6a8039230c73f203a73a63dd884c07c386ff
MISC metadata.xml 409 BLAKE2B 0e27dad4e68facd0066f0f7d02e859eef7147a16cffa734b74efce77eea44ed333052e3a2a9956c052d9c7e8459b50893b0af78eb2061d1c0a1eaf32597ee1d0 SHA512 a4cf13ffb131f6049cdbd83c16ee1114651450d874dca73f68dfa19686ab09021277e860068a4ed6e8318d9bb1b750f861cb2a693945bcd8d0d4eece7f576e94

View File

@ -0,0 +1,14 @@
diff -Naur a/fsgs/amiga/roms.py b/fsgs/amiga/roms.py
--- a/fsgs/amiga/roms.py 2019-06-21 17:49:42.000000000 +0100
+++ b/fsgs/amiga/roms.py 2019-07-21 21:42:14.135600616 +0100
@@ -10,7 +10,9 @@
# amiga-os-130.rom (decrypted, patched)
# Kickstart v1.3 r34.5 (1987)(Commodore)(A500-A1000-A2000-CDTV)[!]
# Kickstart v1.3 r34.5 (1987)(Commodore)(A500-A1000-A2000-CDTV)[o] (patch)
- "891e9a547772fe0c6c19b610baf8bc4ea7fcb785"
+ "891e9a547772fe0c6c19b610baf8bc4ea7fcb785",
+ # kick13.rom - from Upgrade Commodore Amiga 500 (1989)
+ "90933936cce43ca9bc6bf375662c076b27e3c458",
]
A500_1_2_KICKSTARTS = [

View File

@ -0,0 +1,67 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{11..13} )
DISTUTILS_USE_PEP517=setuptools
DISTUTILS_SINGLE_IMPL=yes
inherit distutils-r1 xdg
DESCRIPTION="PyQt-based launcher for FS-UAE"
HOMEPAGE="https://fs-uae.net/"
SRC_URI="https://github.com/FrodeSolheim/${PN}/releases/download/v${PV}/${P}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc64"
IUSE="lha"
RESTRICT="test" # The test files are just boilerplate.
RDEPEND="
app-emulation/fs-uae
$(python_gen_cond_dep '
>=app-emulation/amitools-0.8.0[${PYTHON_USEDEP}]
dev-python/pyqt6[${PYTHON_USEDEP},gui,network,opengl,widgets]
dev-python/pyopengl[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
lha? ( dev-python/lhafile[${PYTHON_USEDEP}] )
')
"
BDEPEND="
sys-devel/gettext
"
PATCHES=(
"${FILESDIR}"/${PN}-3.0.0-ROMs.patch
)
python_compile_all() {
emake mo
}
python_install_all() {
emake install-data DESTDIR="${D}" prefix="${EPREFIX}"/usr
# Prevent merge conflict with amitools
rm -rf "${D}/$(python_get_sitedir)/amitools"
mv "${ED}"/usr/share/doc/{${PN},${PF}} || die
}
pkg_postinst() {
xdg_pkg_postinst
elog "Some important information:"
elog
elog " - By default, FS-UAE creates its directories under Documents/FS-UAE."
elog " If your Documents directory is not configured according to the XDG"
elog " user diretory spec, ~/FS-UAE will be used as a fallback."
elog
elog " - You can override this by putting the path to the desired base"
elog " directory in a special config file. The config file will be read"
elog " from ~/.config/fs-uae/base-dir by both FS-UAE and FS-UAE Launcher"
elog " if it exists."
elog
elog " Alternatively, you can start FS-UAE and/or FS-UAE Launcher with"
elog " --base-dir=/path/to/desired/dir"
}

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>chewi@gentoo.org</email>
<name>James Le Cuirot</name>
</maintainer>
<upstream>
<remote-id type="github">FrodeSolheim/fs-uae-launcher</remote-id>
</upstream>
<use>
<flag name="lha">Enable LHA archive support</flag>
</use>
</pkgmetadata>