1 |
commit: f3bbce52e0e61bd233cf9cab2f1fcf11e2a172a0 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 15 08:54:28 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 15 09:51:15 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3bbce52 |
7 |
|
8 |
games-emulation/mupen64plus-rsp-hle: Bump to 2.5.9 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
games-emulation/mupen64plus-rsp-hle/Manifest | 1 + |
13 |
.../mupen64plus-rsp-hle-2.5.9.ebuild | 68 ++++++++++++++++++++++ |
14 |
2 files changed, 69 insertions(+) |
15 |
|
16 |
diff --git a/games-emulation/mupen64plus-rsp-hle/Manifest b/games-emulation/mupen64plus-rsp-hle/Manifest |
17 |
index e9d855d3812..977842322c9 100644 |
18 |
--- a/games-emulation/mupen64plus-rsp-hle/Manifest |
19 |
+++ b/games-emulation/mupen64plus-rsp-hle/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
+DIST mupen64plus-rsp-hle-src-2.5.9.tar.gz 53889 BLAKE2B e66996ffbce1d4b2b40f1520f0806692652dbf7baa55a73f632f2dafe75f93093e0575bb1c7e63cc1cd8770c1cc0e6d59db9021fcb0fa2e34d707511dd3a40b0 SHA512 562f3a9d9eff01f11c13aca657fb6471f365fbfbe079ea5e1e6f0ad49b27ba04779bc86233bcacd20c95c79f7fa265f053b3fa4c2b12828c6a8992762c4b6963 |
22 |
DIST mupen64plus-rsp-hle-src-2.5.tar.gz 46998 BLAKE2B 3bb5ee627fa4c367e7dd1ef0ac0a1eae1267cf82ac66a35f4dcd972703b9cba832224cab1be20c75e9f61af2afae0c8eb7dd6ba806a47c57eef6e6c5da9e8a5a SHA512 564d96050890cc61df05163f99a0be8198e870f0d4071e87828bf58b283b2be8ca7de20ed03482ea8c45725bdd6f6baea618c068cced407892cf2add6ef373c6 |
23 |
|
24 |
diff --git a/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.9.ebuild b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.9.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..4d18794f870 |
27 |
--- /dev/null |
28 |
+++ b/games-emulation/mupen64plus-rsp-hle/mupen64plus-rsp-hle-2.5.9.ebuild |
29 |
@@ -0,0 +1,68 @@ |
30 |
+# Copyright 1999-2019 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+MY_P=${PN}-src-${PV} |
36 |
+inherit toolchain-funcs |
37 |
+ |
38 |
+DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, HLE RSP plugin" |
39 |
+HOMEPAGE="https://www.mupen64plus.org/" |
40 |
+SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="GPL-2+" |
43 |
+SLOT="0" |
44 |
+KEYWORDS="~amd64 ~x86" |
45 |
+IUSE="" |
46 |
+ |
47 |
+RDEPEND=">=games-emulation/mupen64plus-core-${PV}:0=" |
48 |
+DEPEND="${RDEPEND}" |
49 |
+ |
50 |
+S=${WORKDIR}/${MY_P} |
51 |
+ |
52 |
+src_prepare() { |
53 |
+ default |
54 |
+ |
55 |
+ # avoid implicitly appending CPU flags |
56 |
+ sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die |
57 |
+} |
58 |
+ |
59 |
+src_compile() { |
60 |
+ MAKEARGS=( |
61 |
+ # Note: please keep this in sync in all of mupen64plus-* packages |
62 |
+ |
63 |
+ -C projects/unix |
64 |
+ |
65 |
+ # this basically means: GNU userspace |
66 |
+ UNAME=Linux |
67 |
+ |
68 |
+ # verbose output |
69 |
+ V=1 |
70 |
+ |
71 |
+ CROSS_COMPILE="${CHOST}-" |
72 |
+ CC="$(tc-getCC)" |
73 |
+ CXX="$(tc-getCXX)" |
74 |
+ PKG_CONFIG="$(tc-getPKG_CONFIG)" |
75 |
+ # usual CFLAGS, CXXFLAGS and LDFLAGS are respected |
76 |
+ # so we can leave OPTFLAGS empty |
77 |
+ OPTFLAGS= |
78 |
+ |
79 |
+ # paths, some of them are used at compile time |
80 |
+ PREFIX=/usr |
81 |
+ LIBDIR=/usr/$(get_libdir) |
82 |
+ |
83 |
+ # disable unwanted magic |
84 |
+ LDCONFIG=: |
85 |
+ INSTALL_STRIP_FLAG= |
86 |
+ ) |
87 |
+ |
88 |
+ use amd64 && MAKEARGS+=( HOST_CPU=x86_64 ) |
89 |
+ use x86 && MAKEARGS+=( HOST_CPU=i386 ) |
90 |
+ |
91 |
+ emake "${MAKEARGS[@]}" all |
92 |
+} |
93 |
+ |
94 |
+src_install() { |
95 |
+ emake "${MAKEARGS[@]}" DESTDIR="${D}" install |
96 |
+ dodoc RELEASE |
97 |
+} |