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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9DDAC158090 for ; Wed, 18 May 2022 07:36:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DEC62E08C8; Wed, 18 May 2022 07:36:20 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C8904E08C8 for ; Wed, 18 May 2022 07:36:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 26C1B3415BA for ; Wed, 18 May 2022 07:36:19 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13ABF4A2 for ; Wed, 18 May 2022 07:36:15 +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: <1652859371.14ccbe7e9cda6e564a806a8f910966faa184bcc4.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_p20211222.ebuild X-VCS-Directories: games-emulation/m64py/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 14ccbe7e9cda6e564a806a8f910966faa184bcc4 X-VCS-Branch: master Date: Wed, 18 May 2022 07:36:15 +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: 2c0119e5-b020-4e3c-b1b5-8c3c7ae70a8a X-Archives-Hash: 82a7d6efc8d838d09660ee9d69b87719 commit: 14ccbe7e9cda6e564a806a8f910966faa184bcc4 Author: Michał Górny gentoo org> AuthorDate: Wed May 18 07:20:05 2022 +0000 Commit: Michał Górny gentoo org> CommitDate: Wed May 18 07:36:11 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14ccbe7e games-emulation/m64py: Bump to 0.2.5_p20211222 Signed-off-by: Michał Górny gentoo.org> games-emulation/m64py/Manifest | 1 + games-emulation/m64py/m64py-0.2.5_p20211222.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 68 insertions(+) diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest index 36736dbfddfb..fc3dfa282a7a 100644 --- a/games-emulation/m64py/Manifest +++ b/games-emulation/m64py/Manifest @@ -1 +1,2 @@ DIST m64py-0.2.5.tar.gz 201868 BLAKE2B 95cbfe58ae2741caac5e05bcc06af563ee398d2916d07902ba4aaf4213277eea3c6219448db5958e0a2d0ea8ea3f65c88e63cfd2938a8b4ed33231ba57ae724f SHA512 338f5e96dc4657ba2230c32a40cf0e85c5efcccaa0d5fdbe4b4dcef020b910f5d2d88e5c224f8b496ec0378051aaf44358a0438de52fb03b4ece353f55abc61c +DIST mupen64plus-ui-python-e24679436a93e8aae0aa664dc4b2dea40d8236c1.gh.tar.gz 14669412 BLAKE2B 08232599557503d606db9e44bdd6dbb30b3fa125bfd9b9bcc2cbc4b6ea71b567f5af4338d03e7580707db522249d9426ec4d64dc1e941a43076b2d21bc974b67 SHA512 2ba865041827a7f47d5151db6123abd62c964c024c14356aa5434619736b19ce150178d536cff1c84e93d0544823e173c67c0f08054c13e01f085912a9b8c2c6 diff --git a/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild new file mode 100644 index 000000000000..e4bd1c4b099e --- /dev/null +++ b/games-emulation/m64py/m64py-0.2.5_p20211222.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +inherit distutils-r1 qmake-utils xdg-utils + +EGIT_COMMIT="e24679436a93e8aae0aa664dc4b2dea40d8236c1" +MY_P=mupen64plus-ui-python-${EGIT_COMMIT} + +DESCRIPTION="A frontend for Mupen64Plus" +HOMEPAGE=" + http://m64py.sourceforge.net/ + https://github.com/mupen64plus/mupen64plus-ui-python/ +" +SRC_URI=" + https://github.com/mupen64plus/mupen64plus-ui-python/archive/${EGIT_COMMIT}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +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 +} + +python_compile() { + local -x PATH=$(qt5_get_bindir):${PATH} + distutils-r1_python_compile +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}