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 963E0138334 for ; Thu, 21 Nov 2019 23:49:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 298F6E084A; Thu, 21 Nov 2019 23:49:24 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 06116E084A for ; Thu, 21 Nov 2019 23:49:23 +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 3F3F434D1D0 for ; Thu, 21 Nov 2019 23:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DA04B8BA for ; Thu, 21 Nov 2019 23:49:18 +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: <1574380109.daaf54288bf0e7b44a929fbcf3fd60320cebb28b.chewi@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emulation/fs-uae-launcher/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emulation/fs-uae-launcher/Manifest app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.2.ebuild X-VCS-Directories: app-emulation/fs-uae-launcher/ X-VCS-Committer: chewi X-VCS-Committer-Name: James Le Cuirot X-VCS-Revision: daaf54288bf0e7b44a929fbcf3fd60320cebb28b X-VCS-Branch: master Date: Thu, 21 Nov 2019 23:49:18 +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: 5bf58d45-6439-4dde-9092-16c937c8aae9 X-Archives-Hash: ffdc6dda289edf9495ed6bee63ae5f40 commit: daaf54288bf0e7b44a929fbcf3fd60320cebb28b Author: James Le Cuirot gentoo org> AuthorDate: Thu Nov 21 23:48:29 2019 +0000 Commit: James Le Cuirot gentoo org> CommitDate: Thu Nov 21 23:48:29 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daaf5428 app-emulation/fs-uae-launcher: Version bump to 3.0.0 Package-Manager: Portage-2.3.79, Repoman-2.3.17 Signed-off-by: James Le Cuirot gentoo.org> app-emulation/fs-uae-launcher/Manifest | 1 + .../fs-uae-launcher/fs-uae-launcher-3.0.2.ebuild | 77 ++++++++++++++++++++++ 2 files changed, 78 insertions(+) diff --git a/app-emulation/fs-uae-launcher/Manifest b/app-emulation/fs-uae-launcher/Manifest index 2f9ff45fdb8..fc8d7ab0e50 100644 --- a/app-emulation/fs-uae-launcher/Manifest +++ b/app-emulation/fs-uae-launcher/Manifest @@ -1 +1,2 @@ DIST fs-uae-launcher-3.0.0.tar.gz 9631352 BLAKE2B dc2f940cbde1fe9d2386e512bf5c0ca9a4ea19332826095cc5ba95e90c7f6cfaf0cd5dbaa692c192ac7d74a3ddf245062a0faeeccc9d8a135e544d304119e239 SHA512 76f9c48d2a46ece38aebb318a6d684ff40e85fef76bcc6ac57c7f397c828dae45541ba458a7792f102a8afc69a4183b9932b637318716a8b40ff3dbd3b37cad7 +DIST fs-uae-launcher-3.0.2.tar.gz 9633002 BLAKE2B 81e5a9cbdb4f094735fdbffa291c86bea74e3306ea1bc8365ba215daf970665ab45515c82dd180bfc965f5a2ff83c29a9cd8b21b343e6e6c7ebb4d95dbafd8d0 SHA512 6e9d5588b4cee79b7d5468b7d5e3d6c82e54957fcb0b05d3e9d1da8710336f0af82821fea37ee4cf4e0dc12ead6096183fe488afe860ce11573fd828718ba3d3 diff --git a/app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.2.ebuild b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.2.ebuild new file mode 100644 index 00000000000..57269efa716 --- /dev/null +++ b/app-emulation/fs-uae-launcher/fs-uae-launcher-3.0.2.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/PyQt5[${PYTHON_USEDEP},declarative,gui,network,opengl,widgets] + dev-python/pyopengl[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + lha? ( dev-python/python-lhafile[${PYTHON_USEDEP}] ) +" + +DEPEND=" + sys-devel/gettext +" + +PATCHES=( + "${FILESDIR}"/${PN}-3.0.0-ROMs.patch + "${FILESDIR}"/${PN}-2.8.3-QApplication.patch +) + +src_prepare() { + default + + # Unbundle OpenGL library. Keep oyoyo IRC library because upstream + # is long dead and it's not worth packaging separately. + rm -r OpenGL || die + sed -i -r "/OpenGL/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; }