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-input-sdl/
Date: Sat, 28 Sep 2019 05:35:25
Message-Id: 1569648906.adac1702ced83dc1fcbfa9a91832068181bc05b0.mgorny@gentoo
1 commit: adac1702ced83dc1fcbfa9a91832068181bc05b0
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 28 05:33:40 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 28 05:35:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adac1702
7
8 games-emulation/mupen64plus-input-sdl: Drop old (2.5)
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 games-emulation/mupen64plus-input-sdl/Manifest | 1 -
13 .../mupen64plus-input-sdl-2.5.ebuild | 76 ----------------------
14 2 files changed, 77 deletions(-)
15
16 diff --git a/games-emulation/mupen64plus-input-sdl/Manifest b/games-emulation/mupen64plus-input-sdl/Manifest
17 index 6718157a50a..ab46c51db7a 100644
18 --- a/games-emulation/mupen64plus-input-sdl/Manifest
19 +++ b/games-emulation/mupen64plus-input-sdl/Manifest
20 @@ -1,2 +1 @@
21 DIST mupen64plus-input-sdl-src-2.5.9.tar.gz 56403 BLAKE2B 56d6c390783aa4a7f25f72a5295eb11f1ca2a69f2ffe4f0232d4a0c329e9c0eba0a2cbf46e66adfdf0462d2ec5337f7c6c4587ae29de346cd4cfe1d240f4d5fd SHA512 b613396ee05e82aaaf15e955f83b5cb4e854df1fdb34d5e1c96cf0fddf0af79aa5af2ceb19cc9cfeaef707c2ecafd25e0814e3d7715a20b740482d0ece273f2f
22 -DIST mupen64plus-input-sdl-src-2.5.tar.gz 50580 BLAKE2B ab75c6e200c2979c75d35082a426266e7f835e0731058f8013d8788802ab9d65363b8820326fbfedc0b384facfaeccf6e04da66e01f79aee3d420f3ebe385461 SHA512 014a5e21feb88b14bcee44a74556a257393b799745308421a611eb3b6c11a390a589fdd393f07e69a128ca60426d4dcf8847bcbabed77b0d570be282550148d6
23
24 diff --git a/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild b/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild
25 deleted file mode 100644
26 index dd085bd0c45..00000000000
27 --- a/games-emulation/mupen64plus-input-sdl/mupen64plus-input-sdl-2.5.ebuild
28 +++ /dev/null
29 @@ -1,76 +0,0 @@
30 -# Copyright 1999-2014 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 multilib toolchain-funcs
37 -
38 -DESCRIPTION="A fork of Mupen64 Nintendo 64 emulator, SDL input 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 LGPL-2.1"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE=""
46 -
47 -RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=
48 - media-libs/libsdl2:0=[joystick]"
49 -DEPEND="${RDEPEND}
50 - virtual/pkgconfig"
51 -
52 -S=${WORKDIR}/${MY_P}
53 -
54 -src_prepare() {
55 - epatch_user
56 -
57 - # avoid implicitly appending CPU flags
58 - sed -i -e 's:-mmmx::g' -e 's:-msse::g' projects/unix/Makefile || die
59 -}
60 -
61 -src_compile() {
62 - MAKEARGS=(
63 - # Note: please keep this in sync in all of mupen64plus-* packages
64 -
65 - -C projects/unix
66 -
67 - # this basically means: GNU userspace
68 - UNAME=Linux
69 -
70 - # verbose output
71 - V=1
72 -
73 - CROSS_COMPILE="${CHOST}-"
74 - CC="$(tc-getCC)"
75 - CXX="$(tc-getCXX)"
76 - PKG_CONFIG="$(tc-getPKG_CONFIG)"
77 - # usual CFLAGS, CXXFLAGS and LDFLAGS are respected
78 - # so we can leave OPTFLAGS empty
79 - OPTFLAGS=
80 -
81 - # paths, some of them are used at compile time
82 - PREFIX=/usr
83 - LIBDIR=/usr/$(get_libdir)
84 -
85 - # disable unwanted magic
86 - LDCONFIG=:
87 - INSTALL_STRIP_FLAG=
88 -
89 - # Package-specific stuff
90 -
91 - # CROSS_COMPILE causes it to look for ${CHOST}-sdl2-config...
92 - SDL_CFLAGS="$($(tc-getPKG_CONFIG) --cflags sdl2)"
93 - SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
94 - )
95 -
96 - use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )
97 - use x86 && MAKEARGS+=( HOST_CPU=i386 )
98 -
99 - emake "${MAKEARGS[@]}" all
100 -}
101 -
102 -src_install() {
103 - emake "${MAKEARGS[@]}" DESTDIR="${D}" install
104 - einstalldocs
105 -}