summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2013-12-15 12:14:38 +0000
committerMichał Górny <mgorny@gentoo.org>2013-12-15 12:14:38 +0000
commit74e4705f82ac4f0c4e21fc59c35c7ab14092e60d (patch)
tree8997e5093c9c253a5ad6aced419df4028696dab2 /games-emulation
parent<=net-libs/opal-2.2.11 removal (pending 11 July 2013), see #290062 and #29006... (diff)
downloadhistorical-74e4705f82ac4f0c4e21fc59c35c7ab14092e60d.tar.gz
historical-74e4705f82ac4f0c4e21fc59c35c7ab14092e60d.tar.bz2
historical-74e4705f82ac4f0c4e21fc59c35c7ab14092e60d.zip
Introduce the PyQt4 UI for mupen64plus-2.0.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/m64py/ChangeLog9
-rw-r--r--games-emulation/m64py/Manifest26
-rw-r--r--games-emulation/m64py/m64py-0.1.6.ebuild74
-rw-r--r--games-emulation/m64py/metadata.xml13
4 files changed, 122 insertions, 0 deletions
diff --git a/games-emulation/m64py/ChangeLog b/games-emulation/m64py/ChangeLog
new file mode 100644
index 000000000000..ad42062d2730
--- /dev/null
+++ b/games-emulation/m64py/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for games-emulation/m64py
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/m64py/ChangeLog,v 1.1 2013/12/15 12:14:36 mgorny Exp $
+
+*m64py-0.1.6 (15 Dec 2013)
+
+ 15 Dec 2013; Michał Górny <mgorny@gentoo.org> +m64py-0.1.6.ebuild,
+ +metadata.xml:
+ Introduce the PyQt4 UI for mupen64plus-2.0.
diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest
new file mode 100644
index 000000000000..fe6760f8c7a1
--- /dev/null
+++ b/games-emulation/m64py/Manifest
@@ -0,0 +1,26 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+DIST m64py-0.1.6.tar.gz 466074 SHA256 31668ce4d7e25e8efc70cc64ed56e905b3a6c80064cf0ce130677ec91177e847 SHA512 90aa58ea5c1d45f530dd02ceb7c20cfcb0ed7bba6d0955ce5a3f609850c07256b27ae67b5e39e8c2ef8e178655c1588d58dacda682a5cdd3cea93ee50c980aff WHIRLPOOL d80f4613d8691866b1c091ac3d3ce57100ef6b078b9c0ce0952f817bfa5cc28f03e5fb12d2902e9eceb037e00ea2c831d6193e692cd97e9e9f724708405e2b6e
+EBUILD m64py-0.1.6.ebuild 2071 SHA256 77e7c36d32ec425891c33506509ab8766e91732f033ee1f58fd1a856c99085c2 SHA512 0ec3caa2d9049bd9245b89296168c4addb26da4f9ea0022f36e622d5a846ad14f0a1219231a057d51c0e46e9bd4560f30cbffabcee0070822da2f13998895c0f WHIRLPOOL 92f8396fdad27a7415e2bf0701762444ad8c972f89d9d0cae1b3f6ff2e98dc626fb48fad5329d36055a830efd3f1cf7d1561f350b9e0aa3ff03f7b8f64cab14c
+MISC ChangeLog 377 SHA256 f4129090acd176b05fec845abb0b3888146449b6e8f72837e401b1f4c61a3795 SHA512 cff66ce982030dffe2358636a0381230b8db5c7bdd0508f66f1e4f7b063e191bb51b97809ab6b8a65441ec9186175397a13af8b037c1baeef8ba7ddb69c93ce7 WHIRLPOOL 2152e2973a54d3bc2aad9145552f0fc1cba7fa5ede26ff78ab557932eecab3d3c6b2582216e795694fc956dc7f0b58831755881dd46756273e9ef56a3dd78b6e
+MISC metadata.xml 352 SHA256 b5b11f77354a3f9a9051da98c3e7499a195f42a2abc71c3fe55979eeab43c7cc SHA512 579bbf3da7e4b2a573bbec036b4e5710dbe5289278094e9dc3c3cda8d8ca9533031e189bc12a15a47abe9f4cb58f83a98d2b0796ac0394797085b367658c3af8 WHIRLPOOL 3ced83d68b1b7923be49ae91e82ffe778aac35895fd681e8be87f28f77b716a60384af1935cc632abd7c510181d76526d475548e33117c73416d9cd922af49f3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.22 (GNU/Linux)
+
+iQJ8BAEBCABmBQJSrZ0tXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
+ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2REJCMDdDQzRGMERBRDA2RUEwQUZFNDFC
+MDdBMUFFQUVGQjQ0NjRFAAoJELB6GurvtEZOlbYP/jow5ueOqJEr30OxOJUT38Bo
+f7lJv7tI8mmvd4QpJMvlop/9fT/GOMah15Rah3nFi+eiEBoCzVaOY7OlvqbJj3OR
+5/LlqJFgrHCJ20piNIfeWgersGVKcJxr1SrlYaa32mMmxOoWNIhQmjPONW+YpEqO
+pUb301uxbOM2EZIwC8zkGqEDD80Hz3ii9ZaTJWpSelGHZSS6X/dwldG6hJgJ0XLI
+vsLidB7X7klGRlgWpoJn+XuiPgwP2NSGD0/9d8fZBmJucCOSO6b64GbeJhyn59oq
+NjnqarXpf7Hb9McusKk/ZfD7K15xFQG77AP+HpJcdzfVnYWAFETkayyy75FxHlgT
+OwE2CTZbSZQtpHJY1v4iC58x1ChQuSoCblLK4fOM3O4HHh/yHtGjueYvxmNPND1U
+cm8UmG4vegoCgvR+V0qTWlauqinVz2vIu8vzpAS7WgZMjEnREbqYiKcoACN9+qRx
+VJo5/UCTY/KKNHIwxu322eI9Qr4/gTXlpjxRN+O3QoPicVCDxaKf/In4M+cBzxJN
+yWA00nJMmDLvZKmwxakqez5M0L9fpYrDrNUS7WyrkKiMzYgs70uVm03GvyXsx2aT
+sFY4W66xfQ7bO4jrF8wKFmrxNAoqj6AJ9RMdeZouqLVwi7s13vCfVpZGzmeM75q7
+wv2SYzbVkLZPuE+9Csuu
+=/XDK
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/m64py/m64py-0.1.6.ebuild b/games-emulation/m64py/m64py-0.1.6.ebuild
new file mode 100644
index 000000000000..e126dbfbf5cf
--- /dev/null
+++ b/games-emulation/m64py/m64py-0.1.6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/m64py/m64py-0.1.6.ebuild,v 1.1 2013/12/15 12:14:36 mgorny Exp $
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 games
+
+DESCRIPTION="A frontend for Mupen64Plus"
+HOMEPAGE="http://m64py.sourceforge.net/"
+SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz"
+
+LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+# SDL & libmupen64plus are through ctypes, so they rely on specific ABI
+RDEPEND="media-libs/libsdl:0/0[joystick]
+ dev-python/PyQt4[opengl,${PYTHON_USEDEP}]
+ games-emulation/mupen64plus-core:0/2"
+
+python_prepare_all() {
+ # set the correct search path
+ cat >> src/m64py/platform.py <<-_EOF_
+ SEARCH_DIRS = ["$(games_get_libdir)/mupen64plus"]
+_EOF_
+
+ # comment out SDL2 support since our mupen64plus uses SDL1
+ sed -e '/from m64py\.SDL2/s:^:#:' \
+ -e '/QT2SDL2\[/s:^:#:' \
+ -e '/KEYCODE2SCANCODE\[/s:^:#:' \
+ -e '/SCANCODE2KEYCODE\[/s:^:#:' \
+ -i src/m64py/frontend/keymap.py || die
+ sed -e '/--sdl2/d' \
+ -e '/SDL2/s:=.*$:= False:' \
+ -i src/m64py/opts.py || die
+
+ distutils-r1_python_prepare_all
+}
+
+python_install() {
+ distutils-r1_python_install \
+ --install-scripts="${GAMES_BINDIR}"
+}
+
+# games.eclass ABSOLUTELY MUST come last, so we need to clean up the mess
+src_prepare() { distutils-r1_src_prepare; }
+src_configure() { distutils-r1_src_configure; }
+src_compile() { distutils-r1_src_compile; }
+src_test() { distutils-r1_src_test; }
+
+src_install() {
+ distutils-r1_src_install
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+
+ if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then
+ elog
+ elog "In order to gain RAR archive support, please install either app-arch/rar"
+ elog "or app-arch/unrar."
+ fi
+
+ if ! type -P 7z >/dev/null \
+ && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; then
+ elog
+ elog "In order to gain 7z archive support, please install either app-arch/p7zip"
+ elog "or dev-python/pylzma."
+ fi
+}
diff --git a/games-emulation/m64py/metadata.xml b/games-emulation/m64py/metadata.xml
new file mode 100644
index 000000000000..9047711e4ffd
--- /dev/null
+++ b/games-emulation/m64py/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>mgorny@gentoo.org</email>
+ <name>Michał Górny</name>
+ </maintainer>
+ <maintainer>
+ <email>joker@gentoo.org</email>
+ <name>Christian Birchinger</name>
+ </maintainer>
+</pkgmetadata>