summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games-emulation/mednaffe/Manifest1
-rw-r--r--games-emulation/mednaffe/mednaffe-0.8.ebuild49
-rw-r--r--games-emulation/mednaffe/metadata.xml8
3 files changed, 58 insertions, 0 deletions
diff --git a/games-emulation/mednaffe/Manifest b/games-emulation/mednaffe/Manifest
new file mode 100644
index 000000000000..8bfe325f60f5
--- /dev/null
+++ b/games-emulation/mednaffe/Manifest
@@ -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
index 000000000000..97f4c347c184
--- /dev/null
+++ b/games-emulation/mednaffe/mednaffe-0.8.ebuild
@@ -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
index 000000000000..da67c9ffc321
--- /dev/null
+++ b/games-emulation/mednaffe/metadata.xml
@@ -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>