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 26434138359 for ; Sun, 12 Jul 2020 06:37:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 08E25E07AE; Sun, 12 Jul 2020 06:37:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 E41B1E07AE for ; Sun, 12 Jul 2020 06:37:14 +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 DDB7E34FA84 for ; Sun, 12 Jul 2020 06:37:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 51405274 for ; Sun, 12 Jul 2020 06:37:09 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1594535822.09d1cf027a7c16bd3f8f9faa8ae82a6d08f2fff7.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/m64py/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-emulation/m64py/Manifest games-emulation/m64py/m64py-0.2.5.ebuild X-VCS-Directories: games-emulation/m64py/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 09d1cf027a7c16bd3f8f9faa8ae82a6d08f2fff7 X-VCS-Branch: master Date: Sun, 12 Jul 2020 06:37:09 +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: 3bae8c80-8ecb-4e4b-b8ac-ecb3e99cc5c9 X-Archives-Hash: a49b3033b764e65ff74536c67c684b61 commit: 09d1cf027a7c16bd3f8f9faa8ae82a6d08f2fff7 Author: Michał Górny gentoo org> AuthorDate: Sun Jul 12 05:45:23 2020 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Jul 12 06:37:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09d1cf02 games-emulation/m64py: Bump to 0.2.5 Signed-off-by: Michał Górny gentoo.org> games-emulation/m64py/Manifest | 1 + games-emulation/m64py/m64py-0.2.5.ebuild | 48 ++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest index abb62a5aaa2..778cdc46eee 100644 --- a/games-emulation/m64py/Manifest +++ b/games-emulation/m64py/Manifest @@ -1 +1,2 @@ DIST m64py-0.2.4.tar.gz 209621 BLAKE2B 05fe7044ec096767ae1eb57aad9f326b157d67ea709ca0bb74cdd68ae16a23eb662a2842bef5e038d1b29cbf0a5252669ff54268d1227390f47e8c9029b63e6a SHA512 ab78565466c6dcfe604cdc00b7e63dee2f0f33514dbf4f9115af646b1f6562042516513d054bd5cb489ad89c9d30431e9ce531f8b27925ecb9c6f7b509836348 +DIST m64py-0.2.5.tar.gz 201868 BLAKE2B 95cbfe58ae2741caac5e05bcc06af563ee398d2916d07902ba4aaf4213277eea3c6219448db5958e0a2d0ea8ea3f65c88e63cfd2938a8b4ed33231ba57ae724f SHA512 338f5e96dc4657ba2230c32a40cf0e85c5efcccaa0d5fdbe4b4dcef020b910f5d2d88e5c224f8b496ec0378051aaf44358a0438de52fb03b4ece353f55abc61c diff --git a/games-emulation/m64py/m64py-0.2.5.ebuild b/games-emulation/m64py/m64py-0.2.5.ebuild new file mode 100644 index 00000000000..be315cbc154 --- /dev/null +++ b/games-emulation/m64py/m64py-0.2.5.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit distutils-r1 xdg-utils + +DESCRIPTION="A frontend for Mupen64Plus" +HOMEPAGE="http://m64py.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/project/m64py/${P}/${P}.tar.gz" + +LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="7z rar" + +RDEPEND=" + dev-python/PyQt5[gui,opengl,widgets,${PYTHON_USEDEP}] + dev-python/PySDL2[${PYTHON_USEDEP}] + media-libs/libsdl2[joystick,video] + >=games-emulation/mupen64plus-core-2.5:0/2-sdl2 + 7z? ( app-arch/p7zip ) + rar? ( + || ( + dev-python/rarfile[${PYTHON_USEDEP}] + app-arch/unrar + app-arch/rar + ) + )" + +python_prepare_all() { + # set the correct search path + cat >> src/m64py/platform.py <<-_EOF_ || die + SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"] + _EOF_ + + distutils-r1_python_prepare_all +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}