summaryrefslogtreecommitdiff
path: root/games-emulation/gfceux
diff options
context:
space:
mode:
Diffstat (limited to 'games-emulation/gfceux')
-rw-r--r--games-emulation/gfceux/Manifest5
-rw-r--r--games-emulation/gfceux/gfceux-2.1.1-r1.ebuild70
-rw-r--r--games-emulation/gfceux/metadata.xml11
3 files changed, 86 insertions, 0 deletions
diff --git a/games-emulation/gfceux/Manifest b/games-emulation/gfceux/Manifest
new file mode 100644
index 000000000000..5c72b02294f4
--- /dev/null
+++ b/games-emulation/gfceux/Manifest
@@ -0,0 +1,5 @@
+DIST fceux-2.1.1.src.tar.bz2 3263945 SHA256 5f668de5870e28e4b52fcf8816c17831c0f9597307bd643c226a616a1766bdab SHA512 19a1253a3ff1d88baec5636dbebab287b106e5e114081ab4040f52dfcda28b878af748a759e08dc2fe1381eb8f59e728d36993a9aca9ce184ed8760114cf3149 WHIRLPOOL 198d60dd85064f1a865d710b2da7b7fe883d39a2ec8cc111a407fdff78c43b0f7a0840d2b03717bbff46af8c1ec8aaf91bba3ae44fee6112c956b1a59c7075b7
+EBUILD gfceux-2.1.1-r1.ebuild 1256 SHA256 937f6c16259c05b5dd23fd09e10ec0c0d4193a99cd1123c07eeead9ccc573cbb SHA512 94727eb0f7a19e6be3db993c1f96725accd585b031ea571da6966fae4ed590b18a1d56c8739d903f56f17666f702496afa4dcf211fc8f3e913966a0a0073c8cd WHIRLPOOL e17488b315d9b8fbff56c1b630d271ff0cf1782ddd2c24750e51d3af08080addb7aba79c0cc62425b3fc341c4fe071075c5f2d2cd492032a587d7a3418790c5f
+MISC ChangeLog 2471 SHA256 1d6aed673d0d1e103b1f54799817547c8af002c86fd6044ba4d21ddc894eebbc SHA512 4ee9e7375b806bd0b22826c9a49c226742ed2ac06a81e56c69185616b3945a2a8559900bf579e3575db76e89bd75611398a47abf8c0644bb5a459f10be97612a WHIRLPOOL 4109b66feaab1249f8b962acd9797abcdaa9b2059e2079c1c6a131252e0f72d80342a1704ad691756340cee1a7df383ef13927445764c4da2c38f413a9fcd687
+MISC ChangeLog-2015 1447 SHA256 d09d142ccd1beab968e3dca3aaf375e9ae37f736ab9349590bdb628bbf55ca40 SHA512 092b65b34866c5d4dc00a68e345177fa76fee73af5ba3d283f2ef66e05080d5e396f3aa2d42ff3c601e2d50cc639c5410b60e1d03b2a22cf6cf47611ad0af479 WHIRLPOOL 8f3a18489953c13e29f1d1a9d3b7f1585fefa148f9138862fc2e97c506d347c31d3a021f1024897d437ff1860407acefa66644efe0fb2433786931385bce0e82
+MISC metadata.xml 331 SHA256 de4cfe1913bbfdf3c03de2f9430ea82cec151a4441d377e5432a8b232151187f SHA512 c64be39c5960c471c673a706561fc8962a9badcd31912280acbc999ec6617f72eaf432e0bd6f148fae4967f6c83770d8468c990cd191376f919207ae85037fa7 WHIRLPOOL a162c16d893a3a83ecf97167a2144669c0e5d6e5c24172390388d431878ee41192e3a4a7139511913b86cbe690dcabbe3d5f1383b3427b1aa62afa0f127281ab
diff --git a/games-emulation/gfceux/gfceux-2.1.1-r1.ebuild b/games-emulation/gfceux/gfceux-2.1.1-r1.ebuild
new file mode 100644
index 000000000000..b8cb65bb1707
--- /dev/null
+++ b/games-emulation/gfceux/gfceux-2.1.1-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit eutils gnome2-utils distutils-r1 games
+
+DESCRIPTION="A graphical frontend for the FCEUX emulator"
+HOMEPAGE="http://fceux.com"
+SRC_URI="mirror://sourceforge/fceultra/fceux-${PV}.src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+DEPEND="dev-python/pygtk"
+RDEPEND="${DEPEND}
+ games-emulation/fceux"
+
+S=${WORKDIR}/${PN}
+
+python_prepare_all() {
+ distutils-r1_python_prepare_all
+
+ sed -i \
+ -e "s#data/gfceux.glade#${GAMES_DATADIR}/${PN}/gfceux.glade#" \
+ src/main.py || die
+}
+
+python_install() {
+ distutils-r1_python_install --install-scripts="${GAMES_BINDIR}"
+}
+
+src_prepare() {
+ distutils-r1_src_prepare
+}
+
+src_compile() {
+ distutils-r1_src_compile
+}
+
+src_install() {
+ distutils-r1_src_install
+
+ doicon -s 48 data/${PN}.png
+ newicon -s 128 data/${PN}_big.png ${PN}.png
+
+ # respect games variables
+ dodir "${GAMES_DATADIR}"/${PN}
+ mv "${ED}"/usr/share/${PN}/* "${ED}${GAMES_DATADIR}"/${PN}/ || die
+
+ 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/gfceux/metadata.xml b/games-emulation/gfceux/metadata.xml
new file mode 100644
index 000000000000..3c71f364aead
--- /dev/null
+++ b/games-emulation/gfceux/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="sourceforge">fceultra</remote-id>
+ </upstream>
+</pkgmetadata>