mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
games-emulation/m64py: Bump to 0.2.5_p20231226
Closes: https://bugs.gentoo.org/929578 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
e8c1819470
commit
437d882dab
@ -1 +1,2 @@
|
||||
DIST mupen64plus-ui-python-90093ce3b353ff0fbe3277eb5d75130debdf0fab.gh.tar.gz 14669607 BLAKE2B 98384d2fd8c0adda12500006e40aa50856cf74b71d8cd6b95a9717e864ebb85b76f8b3b719b84adca29a5269b8c5af447c144fb15f4e061ae44ff9d6cd097345 SHA512 75756367306a951110ed7b37aec875627d6e807e70d51518b771c4592c7e6bf7acc0e4e18531b33cabc2317c78b333e556f47e06227d8af0a767ca350c9685ee
|
||||
DIST mupen64plus-ui-python-e24679436a93e8aae0aa664dc4b2dea40d8236c1.gh.tar.gz 14669412 BLAKE2B 08232599557503d606db9e44bdd6dbb30b3fa125bfd9b9bcc2cbc4b6ea71b567f5af4338d03e7580707db522249d9426ec4d64dc1e941a43076b2d21bc974b67 SHA512 2ba865041827a7f47d5151db6123abd62c964c024c14356aa5434619736b19ce150178d536cff1c84e93d0544823e173c67c0f08054c13e01f085912a9b8c2c6
|
||||
|
||||
70
games-emulation/m64py/m64py-0.2.5_p20231226.ebuild
Normal file
70
games-emulation/m64py/m64py-0.2.5_p20231226.ebuild
Normal file
@ -0,0 +1,70 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 qmake-utils xdg-utils
|
||||
|
||||
EGIT_COMMIT="90093ce3b353ff0fbe3277eb5d75130debdf0fab"
|
||||
MY_P=mupen64plus-ui-python-${EGIT_COMMIT}
|
||||
|
||||
DESCRIPTION="A frontend for Mupen64Plus"
|
||||
HOMEPAGE="
|
||||
https://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
|
||||
)
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
dev-qt/linguist-tools:5
|
||||
"
|
||||
|
||||
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
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user