1 |
commit: dfef921e2ee31205b59e00f4dc08a441b9fc0e18 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Oct 4 09:40:16 2015 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 4 09:40:16 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfef921e |
7 |
|
8 |
games-emulation/m64py: Remove old, corresp. to mupen64plus*-2.0 |
9 |
|
10 |
Package-Manager: portage-2.2.22 |
11 |
|
12 |
games-emulation/m64py/m64py-0.2.1.ebuild | 74 -------------------------------- |
13 |
1 file changed, 74 deletions(-) |
14 |
|
15 |
diff --git a/games-emulation/m64py/m64py-0.2.1.ebuild b/games-emulation/m64py/m64py-0.2.1.ebuild |
16 |
deleted file mode 100644 |
17 |
index 38ffbbf..0000000 |
18 |
--- a/games-emulation/m64py/m64py-0.2.1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,74 +0,0 @@ |
21 |
-# Copyright 1999-2014 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
-# $Id$ |
24 |
-EAPI=5 |
25 |
- |
26 |
-PYTHON_COMPAT=( python2_7 ) |
27 |
- |
28 |
-inherit distutils-r1 games |
29 |
- |
30 |
-DESCRIPTION="A frontend for Mupen64Plus" |
31 |
-HOMEPAGE="http://m64py.sourceforge.net/" |
32 |
-SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz" |
33 |
- |
34 |
-LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0" |
35 |
-SLOT="0" |
36 |
-KEYWORDS="~amd64 ~x86" |
37 |
-IUSE="" |
38 |
- |
39 |
-# SDL & libmupen64plus are through ctypes, so they rely on specific ABI |
40 |
-RDEPEND="media-libs/libsdl:0/0[joystick] |
41 |
- dev-python/PyQt4[opengl,${PYTHON_USEDEP}] |
42 |
- games-emulation/mupen64plus-core:0/2" |
43 |
- |
44 |
-python_prepare_all() { |
45 |
- # set the correct search path |
46 |
- cat >> src/m64py/platform.py <<-_EOF_ |
47 |
- SEARCH_DIRS = ["$(games_get_libdir)/mupen64plus"] |
48 |
-_EOF_ |
49 |
- |
50 |
- # comment out SDL2 support since our mupen64plus uses SDL1 |
51 |
- sed -e '/from m64py\.SDL2/s:^:#:' \ |
52 |
- -e '/QT2SDL2\[/s:^:#:' \ |
53 |
- -e '/KEYCODE2SCANCODE\[/s:^:#:' \ |
54 |
- -e '/SCANCODE2KEYCODE\[/s:^:#:' \ |
55 |
- -i src/m64py/frontend/keymap.py || die |
56 |
- sed -e '/--sdl2/d' \ |
57 |
- -e '/SDL2/s:=.*$:= False:' \ |
58 |
- -i src/m64py/opts.py || die |
59 |
- |
60 |
- distutils-r1_python_prepare_all |
61 |
-} |
62 |
- |
63 |
-python_install() { |
64 |
- distutils-r1_python_install \ |
65 |
- --install-scripts="${GAMES_BINDIR}" |
66 |
-} |
67 |
- |
68 |
-# games.eclass ABSOLUTELY MUST come last, so we need to clean up the mess |
69 |
-src_prepare() { distutils-r1_src_prepare; } |
70 |
-src_configure() { distutils-r1_src_configure; } |
71 |
-src_compile() { distutils-r1_src_compile; } |
72 |
-src_test() { distutils-r1_src_test; } |
73 |
- |
74 |
-src_install() { |
75 |
- distutils-r1_src_install |
76 |
- prepgamesdirs |
77 |
-} |
78 |
- |
79 |
-pkg_postinst() { |
80 |
- games_pkg_postinst |
81 |
- |
82 |
- if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then |
83 |
- elog |
84 |
- elog "In order to gain RAR archive support, please install either app-arch/rar" |
85 |
- elog "or app-arch/unrar." |
86 |
- fi |
87 |
- |
88 |
- if ! type -P 7z >/dev/null \ |
89 |
- && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; then |
90 |
- elog |
91 |
- elog "In order to gain 7z archive support, please install either app-arch/p7zip" |
92 |
- elog "or dev-python/pylzma." |
93 |
- fi |
94 |
-} |