forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
games-emulation/mednaffe: initial commit - bug #507344
Package-Manager: portage-2.2.24
- Loading branch information
Michael Sterrett
committed
Jan 2, 2016
1 parent
6f1c67b
commit 2e68158
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |