1 |
commit: 722d619d181090b56dda31814378863c5c0dc781 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 8 06:28:06 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 8 06:28:06 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=722d619d |
7 |
|
8 |
games-emulation/m64py: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.1 |
11 |
|
12 |
games-emulation/m64py/Manifest | 1 - |
13 |
games-emulation/m64py/m64py-0.2.1-r1.ebuild | 72 ----------------------------- |
14 |
2 files changed, 73 deletions(-) |
15 |
|
16 |
diff --git a/games-emulation/m64py/Manifest b/games-emulation/m64py/Manifest |
17 |
index 6e4466e..ef7d3bd 100644 |
18 |
--- a/games-emulation/m64py/Manifest |
19 |
+++ b/games-emulation/m64py/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST m64py-0.2.1.tar.gz 304897 SHA256 6461b494291f22c10ccd60cda4d4750da3c1514e1d5bc2354bad95a9f4cc1525 SHA512 02d5bc4a501f3c9a5851f242119ad6436be9a59b832f27483591353cfad6975da677a124e61330a4430f1813259f5a423bc8413423ee43a3570d74239e33b487 WHIRLPOOL 5998dd86de565e09c392cef6a9bb94978c6ebbfb3169fc30ae075d291ded187efc16fcf0d380c3ae7a85ae74f3b333de786a202a17320348a0d75595f7e5c024 |
22 |
DIST m64py-0.2.3.tar.gz 304241 SHA256 87dccbad9f27ab1eae3fb9957ef039e23379d264e68f8ef7470ec38a523ef020 SHA512 5471d2ce96007c5cb5492f7ba3bc2a8843455dfea811b114c68862fa5c06a636e6dd6a4304e60bf2273377330b0eb01f2dcdc0340d02ec498ae44cdd2ccc01ff WHIRLPOOL 2d7727c56a67f6ca3901eb846d46dea881cf6361fe1bbcec6ef2d10247320d92d42d2ea9e75f247faef482f715b051a2c6394e814b83fa5f0c71bd5d1aabf8ba |
23 |
|
24 |
diff --git a/games-emulation/m64py/m64py-0.2.1-r1.ebuild b/games-emulation/m64py/m64py-0.2.1-r1.ebuild |
25 |
deleted file mode 100644 |
26 |
index e20ece8..00000000 |
27 |
--- a/games-emulation/m64py/m64py-0.2.1-r1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,72 +0,0 @@ |
30 |
-# Copyright 1999-2014 Gentoo Foundation |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
-# $Id$ |
33 |
- |
34 |
-EAPI=5 |
35 |
- |
36 |
-PYTHON_COMPAT=( python2_7 ) |
37 |
- |
38 |
-inherit distutils-r1 |
39 |
- |
40 |
-DESCRIPTION="A frontend for Mupen64Plus" |
41 |
-HOMEPAGE="http://m64py.sourceforge.net/" |
42 |
-SRC_URI="mirror://sourceforge/m64py/${P}.tar.gz" |
43 |
- |
44 |
-LICENSE="GPL-3 LGPL-3 public-domain GPL-2 BSD CC-BY-SA-3.0" |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~x86" |
47 |
-IUSE="" |
48 |
- |
49 |
-# SDL & libmupen64plus are through ctypes, so they rely on specific ABI |
50 |
-RDEPEND="media-libs/libsdl:0/0[joystick] |
51 |
- dev-python/PyQt4[opengl,${PYTHON_USEDEP}] |
52 |
- >=games-emulation/mupen64plus-core-2.0-r1:0/2" |
53 |
- |
54 |
-python_prepare_all() { |
55 |
- # set the correct search path |
56 |
- cat >> src/m64py/platform.py <<-_EOF_ |
57 |
- SEARCH_DIRS = ["/usr/$(get_libdir)/mupen64plus"] |
58 |
-_EOF_ |
59 |
- |
60 |
- # comment out SDL2 support since our mupen64plus uses SDL1 |
61 |
- sed -e '/from m64py\.SDL2/s:^:#:' \ |
62 |
- -e '/QT2SDL2\[/s:^:#:' \ |
63 |
- -e '/KEYCODE2SCANCODE\[/s:^:#:' \ |
64 |
- -e '/SCANCODE2KEYCODE\[/s:^:#:' \ |
65 |
- -i src/m64py/frontend/keymap.py || die |
66 |
- sed -e '/--sdl2/d' \ |
67 |
- -e '/SDL2/s:=.*$:= False:' \ |
68 |
- -i src/m64py/opts.py || die |
69 |
- |
70 |
- distutils-r1_python_prepare_all |
71 |
-} |
72 |
- |
73 |
-pkg_postinst() { |
74 |
- local vr |
75 |
- for vr in ${REPLACING_VERSIONS}; do |
76 |
- if ! version_is_at_least 0.2.1-r1 ${vr}; then |
77 |
- ewarn |
78 |
- ewarn "Starting with mupen64plus-2.0-r1, the plugin install path has changed." |
79 |
- ewarn "In order for m64py to find mupen64plus, you will either need to set" |
80 |
- ewarn "new paths in configuration dialog or remove your configuration file." |
81 |
- ewarn "The new paths are:" |
82 |
- ewarn |
83 |
- ewarn " Library file: /usr/$(get_libdir)/libmupen64plus.so.2.0.0" |
84 |
- ewarn " Plugins directory: /usr/$(get_libdir)/mupen64plus" |
85 |
- ewarn " Data directory: /usr/share/mupen64plus" |
86 |
- fi |
87 |
- done |
88 |
- |
89 |
- if ! type -P rar >/dev/null && ! type -P unrar >/dev/null; then |
90 |
- elog |
91 |
- elog "In order to gain RAR archive support, please install either app-arch/rar" |
92 |
- elog "or app-arch/unrar." |
93 |
- fi |
94 |
- |
95 |
- if ! type -P 7z >/dev/null \ |
96 |
- && ! has_version "dev-python/pylzma[${PYTHON_USEDEP}]"; then |
97 |
- elog |
98 |
- elog "In order to gain 7z archive support, please install either app-arch/p7zip" |
99 |
- elog "or dev-python/pylzma." |
100 |
- fi |
101 |
-} |