Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mupen64plus-core/
Date: Sat, 08 Oct 2016 06:29:36
Message-Id: 1475908036.ec5cf3687347e890de8079d48ecdaa73240cb3e7.pacho@gentoo
1 commit: ec5cf3687347e890de8079d48ecdaa73240cb3e7
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 8 06:27:16 2016 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 8 06:27:16 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec5cf368
7
8 games-emulation/mupen64plus-core: Drop old
9
10 Package-Manager: portage-2.3.1
11
12 games-emulation/mupen64plus-core/Manifest | 1 -
13 .../mupen64plus-core-2.0-r1.ebuild | 112 ---------------------
14 2 files changed, 113 deletions(-)
15
16 diff --git a/games-emulation/mupen64plus-core/Manifest b/games-emulation/mupen64plus-core/Manifest
17 index 4a2a712..becbd3d 100644
18 --- a/games-emulation/mupen64plus-core/Manifest
19 +++ b/games-emulation/mupen64plus-core/Manifest
20 @@ -1,2 +1 @@
21 -DIST mupen64plus-core-src-2.0.tar.gz 1127862 SHA256 7e98795dbe4646b858919078f58a6ed94f7cfa30867df6cf44ef33da6aaa7a28 SHA512 6f7391536c23b465af737b3b64f3488bc0275c472e27f97f1d8be61e917c6772cad2c747db8ffa251ba88ba4f4c0d29de2451325f3ea4bcc6049534ef1dac41e WHIRLPOOL c32c97071d911696c9b24a931287ba7da1bdb29434300d984926a2a1b0541660022b6a811f616e8ed18de8d59fdafd168a571b248165c950d80f4e045e25aa53
22 DIST mupen64plus-core-src-2.5.tar.gz 895890 SHA256 59e99a79e7f862517232e3115bd1f72377e3e34da795c118ba617c478c839578 SHA512 1bf643798de4f17e2ce4f2a67dfd242a8b24d873c413b49cbcb280e4264131222e3f3bc02c46111868102b0b5174d117ababceab66551cb38b76b22b3a94f697 WHIRLPOOL 3ea76e1bd914c9f8f2857976df7ab1ee6cc8d41e7b34f2fc832e0f4030b139b702b0295fca157f475b90245dbfe93aaab05ec5677cd676010b69af873b5f8840
23
24 diff --git a/games-emulation/mupen64plus-core/mupen64plus-core-2.0-r1.ebuild b/games-emulation/mupen64plus-core/mupen64plus-core-2.0-r1.ebuild
25 deleted file mode 100644
26 index c2f1ca6..00000000
27 --- a/games-emulation/mupen64plus-core/mupen64plus-core-2.0-r1.ebuild
28 +++ /dev/null
29 @@ -1,112 +0,0 @@
30 -# Copyright 1999-2015 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -# $Id$
33 -
34 -EAPI=5
35 -
36 -MY_P=${PN}-src-${PV}
37 -inherit eutils multilib toolchain-funcs
38 -
39 -DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, core library"
40 -HOMEPAGE="http://www.mupen64plus.org/"
41 -SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.tar.gz"
42 -
43 -LICENSE="GPL-2 LGPL-2.1"
44 -SLOT="0/2"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="lirc new-dynarec +osd cpu_flags_x86_sse"
47 -
48 -RDEPEND="media-libs/libpng:0=
49 - media-libs/libsdl:0=[joystick,opengl,video]
50 - sys-libs/zlib:0=[minizip]
51 - lirc? ( app-misc/lirc:0 )
52 - osd? (
53 - media-fonts/ttf-bitstream-vera
54 - media-libs/freetype:2=
55 - virtual/opengl:0=
56 - virtual/glu:0=
57 - )
58 - !<games-emulation/mupen64plus-2.0"
59 -DEPEND="${RDEPEND}
60 - virtual/pkgconfig"
61 -
62 -# block versions using games.eclass
63 -RDEPEND="${RDEPEND}
64 - !<games-emulation/m64py-0.2.1-r1
65 - !<games-emulation/mupen64plus-audio-sdl-2.0-r1
66 - !<games-emulation/mupen64plus-input-sdl-2.0-r1
67 - !<games-emulation/mupen64plus-rsp-hle-2.0-r1
68 - !<games-emulation/mupen64plus-ui-console-2.0-r1
69 - !<games-emulation/mupen64plus-video-glide64mk2-2.0-r1
70 - !<games-emulation/mupen64plus-video-rice-2.0-r1"
71 -
72 -S=${WORKDIR}/${MY_P}
73 -
74 -src_prepare() {
75 - epatch_user
76 -
77 - # avoid implicitly appending CPU flags
78 - sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
79 -}
80 -
81 -src_compile() {
82 - MAKEARGS=(
83 - # Note: please keep this in sync in all of mupen64plus-* packages
84 -
85 - -C projects/unix
86 -
87 - # this basically means: GNU userspace
88 - UNAME=Linux
89 -
90 - # verbose output
91 - V=1
92 -
93 - CROSS_COMPILE="${CHOST}-"
94 - CC="$(tc-getCC)"
95 - CXX="$(tc-getCXX)"
96 - PKG_CONFIG="$(tc-getPKG_CONFIG)"
97 - # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
98 - # so we can leave OPTFLAGS empty
99 - OPTFLAGS=
100 -
101 - # paths, some of them are used at compile time
102 - PREFIX=/usr
103 - LIBDIR=/usr/$(get_libdir)
104 -
105 - # disable unwanted magic
106 - LDCONFIG=:
107 - INSTALL_STRIP_FLAG=
108 -
109 - # Package-specific stuff
110 -
111 - # CROSS_COMPILE causes it to look for ${CHOST}-sdl-config...
112 - SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl)"
113 - SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl)"
114 -
115 - OSD=$(usex osd 1 0)
116 - NO_ASM=$(usex cpu_flags_x86_sse 0 1)
117 - LIRC=$(usex lirc 1 0)
118 - # (it does not build)
119 - # DEBUGGER=$(usex debug 1 0)
120 - NEW_DYNAREC=$(usex new-dynarec 1 0)
121 - )
122 -
123 - use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
124 - use x86 && MAKEARGS+=( HOST_CPU=i386 )
125 -
126 - emake "${MAKEARGS[@]}" all
127 -}
128 -
129 -src_install() {
130 - emake "${MAKEARGS[@]}" DESTDIR="${D}" install
131 - einstalldocs
132 - dodoc -r doc/{emuwiki-api-doc,new_dynarec.txt}
133 -
134 - # replace bundled font with a symlink
135 - # TODO: fix the code to not rely on it
136 - local font_path=/usr/share/mupen64plus/font.ttf
137 - rm "${D%/}/${font_path}" || die
138 - if use osd; then
139 - dosym /usr/share/fonts/ttf-bitstream-vera/Vera.ttf "${font_path}"
140 - fi
141 -}