Gentoo Archives: gentoo-commits

From: Michael Sterrett <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/mednaffe/
Date: Sat, 02 Jan 2016 04:59:45
Message-Id: 1451710714.2e681588e1ddc98422d5a2da009554df64270d86.mr_bones_@gentoo
1 commit: 2e681588e1ddc98422d5a2da009554df64270d86
2 Author: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 2 04:58:34 2016 +0000
4 Commit: Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 2 04:58:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e681588
7
8 games-emulation/mednaffe: initial commit - bug #507344
9
10 Package-Manager: portage-2.2.24
11
12 games-emulation/mednaffe/Manifest | 1 +
13 games-emulation/mednaffe/mednaffe-0.8.ebuild | 49 ++++++++++++++++++++++++++++
14 games-emulation/mednaffe/metadata.xml | 8 +++++
15 3 files changed, 58 insertions(+)
16
17 diff --git a/games-emulation/mednaffe/Manifest b/games-emulation/mednaffe/Manifest
18 new file mode 100644
19 index 0000000..8bfe325
20 --- /dev/null
21 +++ b/games-emulation/mednaffe/Manifest
22 @@ -0,0 +1 @@
23 +DIST mednaffe-0.8.zip 311381 SHA256 ad56e7a856c7b516a47ac45031e5e8bc4f4ce7106422c8676af7477e94003702 SHA512 54747318da956616af2fedba5d9760629d0064140b4aa2bd652208c4fda8cb24dec60d869d6999aaa371d837adcaf0c6761f843277c999c33d98cfdd07bf3776 WHIRLPOOL 80940181c9a2c36012f87a8c0cf7ce234801096db7dff7aedc7c7f13253b6bd3b8c350129cc5010c225452b5a0f355607f4dac7cade22f0fa64ffc20138e27e9
24
25 diff --git a/games-emulation/mednaffe/mednaffe-0.8.ebuild b/games-emulation/mednaffe/mednaffe-0.8.ebuild
26 new file mode 100644
27 index 0000000..97f4c34
28 --- /dev/null
29 +++ b/games-emulation/mednaffe/mednaffe-0.8.ebuild
30 @@ -0,0 +1,49 @@
31 +# Copyright 1999-2012 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=5
35 +inherit autotools flag-o-matic gnome2-utils games
36 +
37 +DESCRIPTION="A front-end (GUI) for mednafen emulator"
38 +HOMEPAGE="https://github.com/AmatCoder/mednaffe"
39 +SRC_URI="https://github.com/AmatCoder/mednaffe/archive/v$PV.zip -> ${P}.zip"
40 +
41 +LICENSE="GPL-3+"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE=""
45 +
46 +DEPEND="x11-libs/gtk+:3
47 + virtual/pkgconfig"
48 +RDEPEND="x11-libs/gtk+:3
49 + games-emulation/mednafen[debugger]"
50 +
51 +src_prepare() {
52 + append-cflags -Wl,-export-dynamic
53 + sed -i -e '/^CFLAGS=/d' configure.ac || die
54 + sed -i -e 's:$(datadir):/usr/share:' share/Makefile.am || die
55 + eautoreconf
56 +}
57 +
58 +src_configure() {
59 + egamesconf --enable-gtk3
60 +}
61 +
62 +src_install() {
63 + default
64 + prepgamesdirs
65 +}
66 +
67 +pkg_preinst() {
68 + games_pkg_preinst
69 + gnome2_icon_savelist
70 +}
71 +
72 +pkg_postinst() {
73 + games_pkg_postinst
74 + gnome2_icon_cache_update
75 +}
76 +
77 +pkg_postrm() {
78 + gnome2_icon_cache_update
79 +}
80
81 diff --git a/games-emulation/mednaffe/metadata.xml b/games-emulation/mednaffe/metadata.xml
82 new file mode 100644
83 index 0000000..da67c9f
84 --- /dev/null
85 +++ b/games-emulation/mednaffe/metadata.xml
86 @@ -0,0 +1,8 @@
87 +<?xml version="1.0" encoding="UTF-8"?>
88 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
89 +<pkgmetadata>
90 + <herd>games</herd>
91 + <upstream>
92 + <remote-id type="github">AmatCoder/mednaffe</remote-id>
93 + </upstream>
94 +</pkgmetadata>