games-emulation/mednaffe: initial commit - bug #507344
authorMichael Sterrett <mr_bones_@gentoo.org>
Sat, 2 Jan 2016 04:58:34 +0000 (23:58 -0500)
committerMichael Sterrett <mr_bones_@gentoo.org>
Sat, 2 Jan 2016 04:58:34 +0000 (23:58 -0500)
Package-Manager: portage-2.2.24

games-emulation/mednaffe/Manifest [new file with mode: 0644]
games-emulation/mednaffe/mednaffe-0.8.ebuild [new file with mode: 0644]
games-emulation/mednaffe/metadata.xml [new file with mode: 0644]

diff --git a/games-emulation/mednaffe/Manifest b/games-emulation/mednaffe/Manifest
new file mode 100644 (file)
index 0000000..8bfe325
--- /dev/null
@@ -0,0 +1 @@
+DIST mednaffe-0.8.zip 311381 SHA256 ad56e7a856c7b516a47ac45031e5e8bc4f4ce7106422c8676af7477e94003702 SHA512 54747318da956616af2fedba5d9760629d0064140b4aa2bd652208c4fda8cb24dec60d869d6999aaa371d837adcaf0c6761f843277c999c33d98cfdd07bf3776 WHIRLPOOL 80940181c9a2c36012f87a8c0cf7ce234801096db7dff7aedc7c7f13253b6bd3b8c350129cc5010c225452b5a0f355607f4dac7cade22f0fa64ffc20138e27e9
diff --git a/games-emulation/mednaffe/mednaffe-0.8.ebuild b/games-emulation/mednaffe/mednaffe-0.8.ebuild
new file mode 100644 (file)
index 0000000..97f4c34
--- /dev/null
@@ -0,0 +1,49 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+inherit autotools flag-o-matic gnome2-utils games
+
+DESCRIPTION="A front-end (GUI) for mednafen emulator"
+HOMEPAGE="https://github.com/AmatCoder/mednaffe"
+SRC_URI="https://github.com/AmatCoder/mednaffe/archive/v$PV.zip -> ${P}.zip"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/gtk+:3
+       virtual/pkgconfig"
+RDEPEND="x11-libs/gtk+:3
+       games-emulation/mednafen[debugger]"
+
+src_prepare() {
+       append-cflags -Wl,-export-dynamic
+       sed -i -e '/^CFLAGS=/d' configure.ac || die
+       sed -i -e 's:$(datadir):/usr/share:' share/Makefile.am || die
+       eautoreconf
+}
+
+src_configure() {
+       egamesconf --enable-gtk3
+}
+
+src_install() {
+       default
+       prepgamesdirs
+}
+
+pkg_preinst() {
+       games_pkg_preinst
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       games_pkg_postinst
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}
diff --git a/games-emulation/mednaffe/metadata.xml b/games-emulation/mednaffe/metadata.xml
new file mode 100644 (file)
index 0000000..da67c9f
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>games</herd>
+       <upstream>
+               <remote-id type="github">AmatCoder/mednaffe</remote-id>
+       </upstream>
+</pkgmetadata>