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/mednaffe/
Date: Sun, 29 Apr 2018 11:27:05
Message-Id: 1525001186.35f55f98cdb871dfd7e257174fe2a3ffdacc3d81.pacho@gentoo
1 commit: 35f55f98cdb871dfd7e257174fe2a3ffdacc3d81
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 29 11:22:31 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 29 11:26:26 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35f55f98
7
8 games-emulation/mednaffe: Version bump
9
10 Package-Manager: Portage-2.3.31, Repoman-2.3.9
11
12 games-emulation/mednaffe/Manifest | 1 +
13 games-emulation/mednaffe/mednaffe-0.8.7.ebuild | 47 ++++++++++++++++++++++++++
14 2 files changed, 48 insertions(+)
15
16 diff --git a/games-emulation/mednaffe/Manifest b/games-emulation/mednaffe/Manifest
17 index e46469bfe6f..2637c79cc93 100644
18 --- a/games-emulation/mednaffe/Manifest
19 +++ b/games-emulation/mednaffe/Manifest
20 @@ -1 +1,2 @@
21 +DIST mednaffe-0.8.7.tar.gz 304300 BLAKE2B 80a57f2afbea0e33ec547f16088b678fd9a319a124bbebe71fe7848497e1276ae77c0fb47718324d8549dbb69709685f46c970dedf982f48ac095f1923b42dbd SHA512 3495ecd3b87f19ab65d8760ea8adfa830c4dc9fe959f2e2f349216b36f58d9623c9cfd0c7e40fe5e8b7b90846fe85d9808c2a5885f36d5d8b16659b25cf8a3a1
22 DIST mednaffe-0.8.zip 311381 BLAKE2B cffa364f58c83dfed85141ed6e740b0e31b76524e8a336b332d79884f745e8d918cfd78658ded4c377b384ccb7dbb921aa883ff3bb0a0d413a2bb00365f0f4a0 SHA512 54747318da956616af2fedba5d9760629d0064140b4aa2bd652208c4fda8cb24dec60d869d6999aaa371d837adcaf0c6761f843277c999c33d98cfdd07bf3776
23
24 diff --git a/games-emulation/mednaffe/mednaffe-0.8.7.ebuild b/games-emulation/mednaffe/mednaffe-0.8.7.ebuild
25 new file mode 100644
26 index 00000000000..904241ddac8
27 --- /dev/null
28 +++ b/games-emulation/mednaffe/mednaffe-0.8.7.ebuild
29 @@ -0,0 +1,47 @@
30 +# Copyright 1999-2018 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +inherit autotools flag-o-matic gnome2-utils
35 +
36 +DESCRIPTION="A front-end (GUI) for mednafen emulator"
37 +HOMEPAGE="https://github.com/AmatCoder/mednaffe"
38 +SRC_URI="https://github.com/AmatCoder/mednaffe/releases/download/${PV}/${P}.tar.gz"
39 +
40 +LICENSE="GPL-3+"
41 +SLOT="0"
42 +KEYWORDS="~amd64 ~x86"
43 +IUSE=""
44 +
45 +RDEPEND="
46 + >=dev-libs/glib-2.32:2
47 + games-emulation/mednafen[debugger]
48 + >=x11-libs/gtk+-3.4:3
49 +"
50 +DEPEND="${RDEPEND}
51 + app-arch/unzip
52 + virtual/pkgconfig
53 +"
54 +
55 +src_prepare() {
56 + default
57 + append-cflags -Wl,-export-dynamic
58 + sed -i -e 's:$(datadir):/usr/share:' share/Makefile.am || die
59 + eautoreconf
60 +}
61 +
62 +src_configure() {
63 + econf --enable-gtk3
64 +}
65 +
66 +pkg_preinst() {
67 + gnome2_icon_savelist
68 +}
69 +
70 +pkg_postinst() {
71 + gnome2_icon_cache_update
72 +}
73 +
74 +pkg_postrm() {
75 + gnome2_icon_cache_update
76 +}