From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0E0F5138334 for ; Sat, 20 Apr 2019 23:26:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2E7BEE0919; Sat, 20 Apr 2019 23:20:32 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00333E0A87 for ; Sat, 20 Apr 2019 23:20:31 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A602E342001 for ; Sat, 20 Apr 2019 10:04:59 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DF6E5B7 for ; Sat, 20 Apr 2019 10:04:58 +0000 (UTC) From: "James Le Cuirot" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "James Le Cuirot" Message-ID: <1555754668.03b85469c5d73043a371077217bba2b8b228e699.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/fs-uae-launcher/, app-emulation/fs-uae-launcher/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/fs-uae-launcher/Manifest app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-German-ROMs.patch app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild app-emulation/fs-uae-launcher/metadata.xml X-VCS-Directories: app-emulation/fs-uae-launcher/ app-emulation/fs-uae-launcher/files/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: 03b85469c5d73043a371077217bba2b8b228e699 X-VCS-Branch: master Date: Sat, 20 Apr 2019 10:04:58 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 264cb5e5-ecf0-4d95-821c-a2618657878e X-Archives-Hash: bbc69a14e8cd946c9c7cb5a338822e36 commit: 03b85469c5d73043a371077217bba2b8b228e699 Author: James Le Cuirot gentoo org> AuthorDate: Sat Apr 20 10:04:28 2019 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Sat Apr 20 10:04:28 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03b85469 app-emulation/fs-uae-launcher: New package for launching fs-uae Closes: https://bugs.gentoo.org/403913 Package-Manager: Portage-2.3.64, Repoman-2.3.12 Signed-off-by: James Le Cuirot gentoo.org> app-emulation/fs-uae-launcher/Manifest | 1 + .../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, 112 insertions(+) diff --git a/app-emulation/fs-uae-launcher/Manifest b/app-emulation/fs-uae-launcher/Manifest new file mode 100644 index 00000000000..694c0d62d89 --- /dev/null +++ b/app-emulation/fs-uae-launcher/Manifest @@ -0,0 +1 @@ +DIST fs-uae-launcher-2.8.3.tar.gz 8784242 BLAKE2B e54f73efde6563d9e4ab6b4f57cc73bca80d72d0ded4db67edc53dc344685889abf485df067541e8d635595ac5457ec456ded0306310b1ad95a3b3ef07e53bc3 SHA512 4eaa5979fe2e8f2c792d4878e9a9ad0a0433206aac42aa380d97aee21e4ba29a54caced2437b83357c2c4d2fab121bfb821fdb8a883ead971766866b02067a2d 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 00000000000..41843d5230f --- /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 00000000000..8a1bab4b457 --- /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 00000000000..84e4eb59046 --- /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 + +