From: | "Michael Sterrett (mr_bones_)" <mr_bones_@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in games-emulation/fceux: metadata.xml ChangeLog fceux-2.1.1.ebuild |
Date: | Tue, 29 Sep 2009 03:20:29 |
Message-Id: | E1MsTGN-00055f-4x@stork.gentoo.org |
1 | mr_bones_ 09/09/29 03:20:27 |
2 | |
3 | Added: metadata.xml ChangeLog fceux-2.1.1.ebuild |
4 | Log: |
5 | initial commit - ebuild submitted by Denilson via bug #235860 |
6 | (Portage version: 2.1.6.13/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 games-emulation/fceux/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fceux/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fceux/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>games</herd> |
20 | </pkgmetadata> |
21 | |
22 | |
23 | |
24 | 1.1 games-emulation/fceux/ChangeLog |
25 | |
26 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fceux/ChangeLog?rev=1.1&view=markup |
27 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fceux/ChangeLog?rev=1.1&content-type=text/plain |
28 | |
29 | Index: ChangeLog |
30 | =================================================================== |
31 | # ChangeLog for games-emulation/fceux |
32 | # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
33 | # $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/ChangeLog,v 1.1 2009/09/29 03:20:26 mr_bones_ Exp $ |
34 | |
35 | *fceux-2.1.1 (29 Sep 2009) |
36 | |
37 | 29 Sep 2009; Michael Sterrett <mr_bones_@g.o> +fceux-2.1.1.ebuild, |
38 | +metadata.xml: |
39 | initial commit - ebuild submitted by Denilson via bug #235860 |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 games-emulation/fceux/fceux-2.1.1.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fceux/fceux-2.1.1.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/fceux/fceux-2.1.1.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: fceux-2.1.1.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2009 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/games-emulation/fceux/fceux-2.1.1.ebuild,v 1.1 2009/09/29 03:20:26 mr_bones_ Exp $ |
54 | |
55 | EAPI=2 |
56 | inherit games |
57 | |
58 | DESCRIPTION="A portable Famicom/NES emulator, an evolution of the original FCE Ultra" |
59 | HOMEPAGE="http://fceux.com/" |
60 | SRC_URI="mirror://sourceforge/fceultra/${P}.src.tar.bz2" |
61 | |
62 | LICENSE="GPL-2" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~x86" |
65 | IUSE="lua opengl" |
66 | |
67 | RDEPEND="lua? ( dev-lang/lua ) |
68 | media-libs/libsdl[opengl?,video] |
69 | opengl? ( virtual/opengl ) |
70 | sys-libs/zlib" |
71 | DEPEND="${RDEPEND} |
72 | dev-util/scons" |
73 | RDEPEND="${RDEPEND} |
74 | gnome-extra/zenity" |
75 | # Note: zenity is "almost" optional. It is possible to compile and run fceux |
76 | # without zenity, but file dialogs will not work. |
77 | |
78 | S=${WORKDIR}/fceu |
79 | |
80 | src_compile() { |
81 | local sconsopts=$(echo "${MAKEOPTS}" | sed -ne "/-j/ { s/.*\(-j[[:space:]]*[0-9]\+\).*/\1/; p }") |
82 | scons \ |
83 | ${sconsopts} \ |
84 | CREATE_AVI=1 \ |
85 | OPENGL=$(use opengl && echo 1 || echo 0) \ |
86 | LUA=$(use lua && echo 1 || echo 0) \ |
87 | || die "scons failed" |
88 | } |
89 | |
90 | src_install() { |
91 | dogamesbin bin/fceux || die |
92 | |
93 | doman documentation/fceux.6 || die |
94 | dodoc Authors.txt changelog.txt TODO-PROJECT |
95 | |
96 | # Extra documentation |
97 | insinto "/usr/share/doc/${PF}/" |
98 | doins -r bin/fceux.chm documentation |
99 | rm -f "${D}/usr/share/doc/${PF}/documentation/fceux.6" |
100 | |
101 | prepgamesdirs |
102 | } |