From eccb70a7f91b2d22582587f26d1a28bb31408b45 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 18 May 2019 00:10:51 +0100 Subject: gentoo resync : 18.05.2019 --- app-emulation/fs-uae-launcher/Manifest | 3 +- .../files/fs-uae-launcher-2.8.3-QApplication.patch | 13 ++++ .../fs-uae-launcher-2.8.3-r1.ebuild | 77 ++++++++++++++++++++++ .../fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild | 76 --------------------- 4 files changed, 92 insertions(+), 77 deletions(-) create mode 100644 app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch create mode 100644 app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild delete mode 100644 app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild (limited to 'app-emulation/fs-uae-launcher') diff --git a/app-emulation/fs-uae-launcher/Manifest b/app-emulation/fs-uae-launcher/Manifest index ac060cf5d932..f07b50af4a21 100644 --- a/app-emulation/fs-uae-launcher/Manifest +++ b/app-emulation/fs-uae-launcher/Manifest @@ -1,4 +1,5 @@ AUX fs-uae-launcher-2.8.3-German-ROMs.patch 747 BLAKE2B a7235e3c55a0e6a365b252e5b856f5a609a8aa938cf114d5717c71d69fb4ac280d1a652f74c5a21088dca44473dd749a6e3955dac453dc8c38396054a90899b5 SHA512 9c757f68f0ed74540affe88af4b061009167c0207b346d77cccef1e3a7184b0cb2112eb2ca1547e04a245a9ccf156f9d55031a35d23ef56312cf283473ff8f26 +AUX fs-uae-launcher-2.8.3-QApplication.patch 457 BLAKE2B 814c7d04240bb3e90f18e0b4d1a8041b985fe6f3241e098b0d26f2d8b096ba79c33e04f0c938a3af2a12b55d080f831fbc9da404e8d62751b16021e3f229a530 SHA512 e1892b9a7f440ea373e7a7c8313d56328395fa054918cf402b9a8b5e96c15f48a3bee901aef4297774a79b5eb1d4f909ff4843da16a0f1a6f8a6343afe104162 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 +EBUILD fs-uae-launcher-2.8.3-r1.ebuild 2093 BLAKE2B 127c7f61cb14207ff917dea6f10ad8c469ab995e853d6fe81dfdbd9212612afcb34d83e87f971513c40f8813755eb8f26c510a2bdaf7c0338a9caf6af704aadc SHA512 32818439bd446f8e2d1b28b66c5c33c963fb7e542a6a4bb435807726b1023a9def2af1d9fd70f6e64fbc34f58207c950d46981ffc5184346a3495d4ec555b0e1 MISC metadata.xml 408 BLAKE2B 8722a14caea4642a007f5baf0988f2a2463243b7a019b845ccf6c6a000aa0971fe92011e7b46a013980ef264986889d83a309914cb2465561812775c69461533 SHA512 1ff8604bcb75d5a36f10b0770d5b0983f2ce0674098d21464fc269d47784a261eec7d134b721be3fb49cdba0c01cb668a7b55046e46e67e6325b2cd70b8ffaf3 diff --git a/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch new file mode 100644 index 000000000000..446bfd835912 --- /dev/null +++ b/app-emulation/fs-uae-launcher/files/fs-uae-launcher-2.8.3-QApplication.patch @@ -0,0 +1,13 @@ +https://bugs.gentoo.org/684948 + +--- fs-uae-launcher-2.8.3/fsui/qt/qt.py 2017-01-08 19:48:56.000000000 +0000 ++++ fs-uae-launcher-2.8.3/fsui/qt/qt.py 2019-05-03 22:28:16.979041988 +0100 +@@ -60,7 +60,7 @@ + # fix_qt_for_maverick() + + fsbc.desktop.set_open_url_in_browser_function(open_url_in_browser) +- qapplication = QtBaseApplication([]) ++ qapplication = QtBaseApplication(['']) + initialize_qt_style(qapplication) + return qapplication + diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild new file mode 100644 index 000000000000..ea3355abae22 --- /dev/null +++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3-r1.ebuild @@ -0,0 +1,77 @@ +# 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},declarative,gui,network,opengl,widgets] + dev-python/six[${PYTHON_USEDEP}] + lha? ( dev-python/python-lhafile[${PYTHON_USEDEP}] ) +" + +DEPEND=" + sys-devel/gettext +" + +PATCHES=( + "${FILESDIR}"/${P}-German-ROMs.patch + "${FILESDIR}"/${P}-QApplication.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/fs-uae-launcher-2.8.3.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild deleted file mode 100644 index 8a1bab4b4578..000000000000 --- a/app-emulation/fs-uae-launcher/fs-uae-launcher-2.8.3.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# 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; } -- cgit v1.2.3