Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mupen64plus-ui-console/
Date: Sat, 28 Sep 2019 05:35:22
Message-Id: 1569648904.2c6e225b5db0dbcb3b1edf4c7ab61cf006d185e3.mgorny@gentoo
1 commit: 2c6e225b5db0dbcb3b1edf4c7ab61cf006d185e3
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 28 05:33:19 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 05:35:04 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6e225b
7
8 games-emulation/mupen64plus-ui-console: Drop old (2.5-r1)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 games-emulation/mupen64plus-ui-console/Manifest | 1 -
13 .../mupen64plus-ui-console-2.5-r1.ebuild | 90 ----------------------
14 2 files changed, 91 deletions(-)
15
16 diff --git a/games-emulation/mupen64plus-ui-console/Manifest b/games-emulation/mupen64plus-ui-console/Manifest
17 index 890dfe76c96..eab78063b76 100644
18 --- a/games-emulation/mupen64plus-ui-console/Manifest
19 +++ b/games-emulation/mupen64plus-ui-console/Manifest
20 @@ -1,2 +1 @@
21 DIST mupen64plus-ui-console-src-2.5.9.tar.gz 58934 BLAKE2B 83fb9502ba910af75eff62a45ac490a7281db27cf7df4c666382eb922249e1483cbfcc204e79e3763d047c876558531021360078e81abb7995c855b274e182b9 SHA512 60be63e94c8a2e44a8f4f215f667bc980f62bee3ba629af53d281328f45e016dbadfc6b7596ac657fd434b9df283d43b54a058cba2cdce3fef4b865adbedd8ca
22 -DIST mupen64plus-ui-console-src-2.5.tar.gz 47852 BLAKE2B 060d93c82b63c5870feffd665513d3a9046c3583103ccd16014865b621f33e2eafc93af5813332ab9416c4b01b6f767ed8b4ff4d08939abee60193638ce9cdb5 SHA512 70293a768c2bc5f80a2f71db229021d497d675536f5dc5eb098f91b62081f993f308d410adebce208a89880f57b037d5b42fa2f95c42ce94ffe2fca326a53046
23
24 diff --git a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5-r1.ebuild b/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5-r1.ebuild
25 deleted file mode 100644
26 index 61ba3cd2e32..00000000000
27 --- a/games-emulation/mupen64plus-ui-console/mupen64plus-ui-console-2.5-r1.ebuild
28 +++ /dev/null
29 @@ -1,90 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=5
34 -
35 -MY_P=${PN}-src-${PV}
36 -inherit eutils gnome2-utils multilib toolchain-funcs xdg-utils
37 -
38 -DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, console UI"
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 LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE=""
46 -
47 -RDEPEND=">=games-emulation/mupen64plus-core-2.0-r1:0=
48 - media-libs/libsdl2:0=
49 - !<games-emulation/mupen64plus-2.0"
50 -DEPEND="${RDEPEND}
51 - virtual/pkgconfig"
52 -
53 -S=${WORKDIR}/${MY_P}
54 -
55 -src_prepare() {
56 - epatch_user
57 -
58 - # avoid implicitly appending CPU flags
59 - sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
60 -
61 - # avoid appending -fPIE/-fno-PIE
62 - sed -i -e '/^if.*PIE/,/endif/d' projects/unix/Makefile || die
63 -}
64 -
65 -src_compile() {
66 - MAKEARGS=(
67 - # Note: please keep this in sync in all of mupen64plus-* packages
68 -
69 - -C projects/unix
70 -
71 - # this basically means: GNU userspace
72 - UNAME=Linux
73 -
74 - # verbose output
75 - V=1
76 -
77 - CROSS_COMPILE="${CHOST}-"
78 - CC="$(tc-getCC)"
79 - CXX="$(tc-getCXX)"
80 - PKG_CONFIG="$(tc-getPKG_CONFIG)"
81 - # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
82 - # so we can leave OPTFLAGS empty
83 - OPTFLAGS=
84 -
85 - # paths, some of them are used at compile time
86 - PREFIX=/usr
87 - LIBDIR=/usr/$(get_libdir)
88 -
89 - # disable unwanted magic
90 - LDCONFIG=:
91 - INSTALL_STRIP_FLAG=
92 -
93 - # Package-specific stuff
94 -
95 - # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
96 - SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
97 - SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
98 - )
99 -
100 - use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
101 - use x86 && MAKEARGS+=( HOST_CPU=i386 )
102 -
103 - emake "${MAKEARGS[@]}" all
104 -}
105 -
106 -src_install() {
107 - emake "${MAKEARGS[@]}" DESTDIR="${D}" install
108 - einstalldocs
109 -}
110 -
111 -pkg_postinst() {
112 - xdg_desktop_database_update
113 - gnome2_icon_cache_update
114 -}
115 -
116 -pkg_postrm() {
117 - xdg_desktop_database_update
118 - gnome2_icon_cache_update
119 -}