From b7ebc951da8800f711142f69d9d958bde67a112d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Apr 2019 09:54:45 +0100 Subject: gentoo resync : 28.04.2019 --- app-emulation/fs-uae-launcher/Manifest | 4 ++ .../files/fs-uae-launcher-2.8.3-German-ROMs.patch | 21 ++++++ .../fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild | 76 ++++++++++++++++++++++ app-emulation/fs-uae-launcher/metadata.xml | 14 ++++ 4 files changed, 115 insertions(+) create mode 100644 app-emulation/fs-uae-launcher/Manifest create mode 100644 app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch create mode 100644 app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild create mode 100644 app-emulation/fs-uae-launcher/metadata.xml (limited to 'app-emulation/fs-uae-launcher') diff --git a/app-emulation/fs-uae-launcher/Manifest b/app-emulation/fs-uae-launcher/Manifest new file mode 100644 index 000000000000..ac060cf5d932 --- /dev/null +++ b/app-emulation/fs-uae-launcher/Manifest @@ -0,0 +1,4 @@ +AUX fs-uae-launcher-2.8.3-German-ROMs.patch 747 BLAKE2B a7235e3c55a0e6a365b252e5b856f5a609a8aa938cf114d5717c71d69fb4ac280d1a652f74c5a21088dca44473dd749a6e3955dac453dc8c38396054a90899b5 SHA512 9c757f68f0ed74540affe88af4b061009167c0207b346d77cccef1e3a7184b0cb2112eb2ca1547e04a245a9ccf156f9d55031a35d23ef56312cf283473ff8f26 +DIST fs-uae-launcher-2.8.3.tar.gz 8784242 BLAKE2B e54f73efde6563d9e4ab6b4f57cc73bca80d72d0ded4db67edc53dc344685889abf485df067541e8d635595ac5457ec456ded0306310b1ad95a3b3ef07e53bc3 SHA512 4eaa5979fe2e8f2c792d4878e9a9ad0a0433206aac42aa380d97aee21e4ba29a54caced2437b83357c2c4d2fab121bfb821fdb8a883ead971766866b02067a2d +EBUILD fs-uae-launcher-2.8.3.ebuild 2019 BLAKE2B 95a288de45f5cc2c7d38c4919496223196bfba8d7834ebb00120010b460b12a2eba8ddfee797651c93b03ea3e78df70612973f129e4ed23a2c1c568a06932108 SHA512 222e1ad2b5d47211f551e73c7a827ca1ddd86e5aa5265541de1aaa938e4cd970beb76af7e66cf1a47d5b2dc5050420ecd72b7ef8e2c80ff41997961147f95f34 +MISC metadata.xml 408 BLAKE2B 8722a14caea4642a007f5baf0988f2a2463243b7a019b845ccf6c6a000aa0971fe92011e7b46a013980ef264986889d83a309914cb2465561812775c69461533 SHA512 1ff8604bcb75d5a36f10b0770d5b0983f2ce0674098d21464fc269d47784a261eec7d134b721be3fb49cdba0c01cb668a7b55046e46e67e6325b2cd70b8ffaf3 diff --git a/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch new file mode 100644 index 000000000000..41843d5230f9 --- /dev/null +++ b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch @@ -0,0 +1,21 @@ +--- a/fsgs/amiga/roms.py 2017-07-06 16:50:33.351036624 +0200 ++++ b/fsgs/amiga/roms.py 2017-07-06 16:52:58.335040977 +0200 +@@ -11,6 +11,8 @@ + # 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", ++ # kick13.rom - from Upgrade Commodore Amiga 500 (1989) ++ "90933936cce43ca9bc6bf375662c076b27e3c458", + ] + + A500P_KICKSTARTS = [ +@@ -55,6 +57,9 @@ + + # Kickstart v3.1 r40.68 (1993)(Commodore)(A4000)[h Cloanto] + # "c3c481160866e60d085e436a24db3617ff60b5f9", ++ ++ # Kickstart v3.1 r40.10 (15.7.93) from german A4000 ++ "3b7f1493b27e212830f989f26ca76c02049f09ca", + ] + + CD32_KICKSTARTS = [ diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild new file mode 100644 index 000000000000..8a1bab4b4578 --- /dev/null +++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) +DISTUTILS_SINGLE_IMPL=1 + +inherit distutils-r1 xdg-utils + +DESCRIPTION="PyQt5-based launcher for FS-UAE" +HOMEPAGE="https://fs-uae.net/" +SRC_URI="https://fs-uae.net/stable/${PV}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" +IUSE="lha" + +RDEPEND=" + app-emulation/fs-uae + dev-python/pyopengl[${PYTHON_USEDEP}] + dev-python/PyQt5[${PYTHON_USEDEP},gui] + dev-python/six[${PYTHON_USEDEP}] + lha? ( dev-python/python-lhafile[${PYTHON_USEDEP}] ) +" + +DEPEND=" + sys-devel/gettext +" + +PATCHES=( + "${FILESDIR}"/${P}-German-ROMs.patch +) + +src_prepare() { + default + + # Unbundle some libraries. Keep oyoyo IRC library because upstream + # is long dead and it's not worth packaging separately. + rm -r {OpenGL,six}/ || die + sed -i -r "/OpenGL|six/d" setup.py || die +} + +src_compile() { + emake +} + +src_install() { + local dir=${EPREFIX}/usr/share/${PN} + distutils-r1_python_install --install-lib="${dir}" --install-scripts="${dir}" + dosym ../share/${PN}/${PN} /usr/bin/${PN} + + emake install-data DESTDIR="${D}" prefix="${EPREFIX}"/usr + mv "${ED}"/usr/share/doc/{${PN},${PF}} || die +} + +pkg_postinst() { + elog "Some important information:" + elog + ewarn " - Do not use QtCurve, it will crash PyQt5!" + 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" +} + +pkg_postinst() { xdg_icon_cache_update; } +pkg_postrm() { xdg_icon_cache_update; } diff --git a/app-emulation/fs-uae-launcher/metadata.xml b/app-emulation/fs-uae-launcher/metadata.xml new file mode 100644 index 000000000000..84e4eb59046e --- /dev/null +++ b/app-emulation/fs-uae-launcher/metadata.xml @@ -0,0 +1,14 @@ + + + + + chewi@gentoo.org + James Le Cuirot + + + FrodeSolheim/fs-uae-launcher + + + Enable LHA archive support + + -- cgit v1.2.3