Skip to content

Commit

Permalink
games-emulation/mednaffe: initial commit - bug #507344
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.24
  • Loading branch information
Michael Sterrett committed Jan 2, 2016
1 parent 6f1c67b commit 2e68158
Show file tree
Hide file tree
Showing 3 changed files with 58 additions and 0 deletions.
1 change: 1 addition & 0 deletions games-emulation/mednaffe/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST mednaffe-0.8.zip 311381 SHA256 ad56e7a856c7b516a47ac45031e5e8bc4f4ce7106422c8676af7477e94003702 SHA512 54747318da956616af2fedba5d9760629d0064140b4aa2bd652208c4fda8cb24dec60d869d6999aaa371d837adcaf0c6761f843277c999c33d98cfdd07bf3776 WHIRLPOOL 80940181c9a2c36012f87a8c0cf7ce234801096db7dff7aedc7c7f13253b6bd3b8c350129cc5010c225452b5a0f355607f4dac7cade22f0fa64ffc20138e27e9
49 changes: 49 additions & 0 deletions games-emulation/mednaffe/mednaffe-0.8.ebuild
Original file line number Diff line number Diff line change
@@ -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
}
8 changes: 8 additions & 0 deletions games-emulation/mednaffe/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit 2e68158

Please sign in to comment.