diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-09 17:01:25 -0500 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-12-09 17:48:07 -0500 |
commit | 36ef1d01e75437a0a610d6df13a1515e76e008ba (patch) | |
tree | 3cd89b1e35487a44f20515da8fd9fac4ff4e1a3e /games-emulation/fceux | |
parent | app-text/texlive-core: Drop unused X11 dependencies. (diff) | |
download | gentoo-36ef1d01e75437a0a610d6df13a1515e76e008ba.tar.gz gentoo-36ef1d01e75437a0a610d6df13a1515e76e008ba.tar.bz2 gentoo-36ef1d01e75437a0a610d6df13a1515e76e008ba.zip |
rev bump to make automagic dep on media-libs/gd a user knob (bug #567852)
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'games-emulation/fceux')
-rw-r--r-- | games-emulation/fceux/fceux-2.2.2-r1.ebuild | 51 | ||||
-rw-r--r-- | games-emulation/fceux/metadata.xml | 3 |
2 files changed, 54 insertions, 0 deletions
diff --git a/games-emulation/fceux/fceux-2.2.2-r1.ebuild b/games-emulation/fceux/fceux-2.2.2-r1.ebuild new file mode 100644 index 000000000000..3ffbf284b449 --- /dev/null +++ b/games-emulation/fceux/fceux-2.2.2-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils scons-utils games + +DESCRIPTION="A portable Famicom/NES emulator, an evolution of the original FCE Ultra" +HOMEPAGE="http://fceux.com/" +SRC_URI="mirror://sourceforge/fceultra/${P}.src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="gtk logo +lua +opengl" + +DEPEND="lua? ( dev-lang/lua:0 ) + media-libs/libsdl[opengl?,video] + logo? ( media-libs/gd[png] ) + opengl? ( virtual/opengl ) + gtk? ( x11-libs/gtk+:3 ) + sys-libs/zlib[minizip]" +RDEPEND=${DEPEND} + +src_prepare() { + epatch "${FILESDIR}"/${P}-warnings.patch +} + +src_compile() { + escons \ + GTK=0 \ + CREATE_AVI=1 \ + SYSTEM_LUA=1 \ + SYSTEM_MINIZIP=1 \ + $(use_scons gtk GTK3) \ + $(use_scons logo LOGO) \ + $(use_scons opengl OPENGL) \ + $(use_scons lua LUA) +} + +src_install() { + dogamesbin bin/fceux + + doman documentation/fceux.6 + docompress -x /usr/share/doc/${PF}/documentation /usr/share/doc/${PF}/fceux.chm + dodoc -r Authors changelog.txt TODO-SDL bin/fceux.chm documentation + rm -f "${D}/usr/share/doc/${PF}/documentation/fceux.6" + make_desktop_entry fceux FCEUX + doicon fceux.png + prepgamesdirs +} diff --git a/games-emulation/fceux/metadata.xml b/games-emulation/fceux/metadata.xml index ee1fe81755b2..33927f3e6a54 100644 --- a/games-emulation/fceux/metadata.xml +++ b/games-emulation/fceux/metadata.xml @@ -2,6 +2,9 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>games</herd> + <use> + <flag name="logo">Enable the ability to add a logo screen when creating AVIs</flag> + </use> <upstream> <remote-id type="sourceforge">fceultra</remote-id> </upstream> |