summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-01-24 00:27:00 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-01-24 00:27:00 +0000
commitf9c776371ef6a3dec4d00e438421599c7ce0093c (patch)
treeeddeb5b60d2e1f74bdb8fd25ef5b2b111bf761f0 /games-emulation
parent0.26 bump (diff)
downloadhistorical-f9c776371ef6a3dec4d00e438421599c7ce0093c.tar.gz
historical-f9c776371ef6a3dec4d00e438421599c7ce0093c.tar.bz2
historical-f9c776371ef6a3dec4d00e438421599c7ce0093c.zip
fix build time issues, revbump: bump eapi, add icon/desktop-entry
Package-Manager: portage-2.2.0_alpha159/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-emulation')
-rw-r--r--games-emulation/fakenes/ChangeLog10
-rw-r--r--games-emulation/fakenes/Manifest25
-rw-r--r--games-emulation/fakenes/fakenes-0.5.8-r1.ebuild10
-rw-r--r--games-emulation/fakenes/fakenes-0.5.8-r2.ebuild79
4 files changed, 112 insertions, 12 deletions
diff --git a/games-emulation/fakenes/ChangeLog b/games-emulation/fakenes/ChangeLog
index e96f805972ae..c6d45d592d5d 100644
--- a/games-emulation/fakenes/ChangeLog
+++ b/games-emulation/fakenes/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-emulation/fakenes
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.22 2012/05/04 04:38:40 jdhore Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/ChangeLog,v 1.23 2013/01/24 00:26:56 hasufell Exp $
+
+ 24 Jan 2013; Julian Ospald <hasufell@gentoo.org> fakenes-0.5.8-r1.ebuild,
+ +fakenes-0.5.8-r2.ebuild:
+ fix build time issues, revbump: bump eapi, add icon/desktop-entry
+
+*fakenes-0.5.8-r2 (24 Jan 2013)
04 May 2012; Jeff Horelick <jdhore@gentoo.org> fakenes-0.5.8-r1.ebuild:
dev-util/pkgconfig -> virtual/pkgconfig
diff --git a/games-emulation/fakenes/Manifest b/games-emulation/fakenes/Manifest
index 0659078c2dad..50ae4815f906 100644
--- a/games-emulation/fakenes/Manifest
+++ b/games-emulation/fakenes/Manifest
@@ -1,5 +1,20 @@
-AUX fakenes-0.5.8-underlink.patch 190 RMD160 ab09ddb9d16a07230c3b3bd9dd47087e6beef2b8 SHA1 6b116329beebdb8fa15e4f613f73263fc1b800b4 SHA256 baced7cfdad03fd9cf958268b4088a7c777d7bfb67592bce857e78b5d04c4bbb
-DIST fakenes-0.5.8.tar.bz2 274503 RMD160 79f9a486e014d1459dd445163926cf26e073b62d SHA1 86927f2a3c5cc1242472eff121df91cb6540462b SHA256 0ffe0ddd05bc6b23fc85892d11aef5e1ccb8be4469eafaa859fb19dd34bcca54
-EBUILD fakenes-0.5.8-r1.ebuild 1473 RMD160 0f7ecc2b3594fd1f022d6f10393abee110d07668 SHA1 562bfe10e82d7f41f15545b4133e1d9dcec94141 SHA256 04e4e9195861e02b1354a283cce760e1e21973f95f7411f79dd1eb0a2ed144c7
-MISC ChangeLog 2815 RMD160 6f2fdcf49e2791a73b2e734e248c9001fa32508c SHA1 2e2676c82ed0ad63b0047fad40a9094c304b9c23 SHA256 5eed6cd648e2fbe18257206ea9bceee65aba617e1c1e821dade1d11f0890a863
-MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
+AUX fakenes-0.5.8-underlink.patch 190 SHA256 baced7cfdad03fd9cf958268b4088a7c777d7bfb67592bce857e78b5d04c4bbb SHA512 8017f0a76ee7a529e8c63ddda68545fe9bdace91353061682d2cbc98eb76a316558ce538e9954d945196fcb7c34ad270f1072712cc137110fb110b4b5c23afdc WHIRLPOOL 9ee88c39dffc91a293adfd3ebc229bdc96a6fe925a19c9214cf41a62c8e14149449fb0a9d4b64c276c20fc689e9a48f0e3bf65cbe41c531d60ec6ceff1776f8b
+DIST fakenes-0.5.8.tar.bz2 274503 SHA256 0ffe0ddd05bc6b23fc85892d11aef5e1ccb8be4469eafaa859fb19dd34bcca54 SHA512 2a22c51cf7171661a92584e083c3dfd69d009b586c22f8b5a4b4022065309ae4d6370a81997c035a9e19ff225e87d92e1b572b313585f2e05776cbf7c1c971aa WHIRLPOOL 8d3bc785be76c29ababf162fe53608dedd55d9fddc8954189388131334a21a5850067fe04b4c5dfc66f418a61e7c823d2fad6756c4d189d32c160bd93194e70c
+EBUILD fakenes-0.5.8-r1.ebuild 1505 SHA256 06a4abfe292aed19089e3002c1f689ffb411c4c6019bea95a5ce8f68a45716ff SHA512 4e4951e82659c9ae05f9923e8c05e3e190b30abc1ce44a2820ec6f8520e71221c9441673939368265644ba39da774e1459ed00cfa564c7ad112e2282f2561557 WHIRLPOOL 75a5619bdb05a757462e6eb9a78fea02fbda91f735add7c92c3c3c5ed751ccb461ea6022be4c449220bca9b185b92c8541e265e33cea68700fbf0f34b3714df5
+EBUILD fakenes-0.5.8-r2.ebuild 1769 SHA256 76dbee220e32d5e5da83e5a2dcda86e5c2b32b5c18ffea322c2cc4b4cb59a0ef SHA512 bf2d34dc57b0903c26cd480f5f708fc011166c04b9ed95cd436f3bb07ca68b0cc70fb2e5d9fef3ed5f3ee57732ef0fb172ca327dd54d5b1f6c2ffd4347b0b5e2 WHIRLPOOL 431a4551293a4607aca859c191b85ad615e4754f293ccb65005aa01cbdee101e8e8eb247865e1345d4dc21fd152cb5cd97553f20e9656f08d39699e4bb9ea4fd
+MISC ChangeLog 3023 SHA256 7f900378f98d2f7a633fd66bfbc15ed76686a018d8a835717c98867c61cd3e4d SHA512 7c73be94fb9294a91a04fe467ff5ab798b0d9c9fa8c8fde37626d1472945f643a22c2ede3db1814620f5e2fcd4c23deb67046d58a5980c299961bd25802dd060 WHIRLPOOL 3e1003757f3e7d8391c7b409c75272ee6c62fc2f1685fa3d8e1e2239e3fca3f2e4316b2506d2c7c2ea717fc8f89c5ed8b601d09c4a195d1f7d47d0f41207e4b5
+MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRAH/UAAoJEFpvPKfnPDWzzCkH/0BYnYo/xZt1y3xWx/eICue7
+iL949DJcoQo0NI3j9fLLSX6DDg9TQN0005q9T0iTul8JJHGss0nLZ7iKYVeq1miw
+unUYPwFWenYYZ9g2S36vA3+qiXXuijTB3fEZyyTnF3c6SBPEhqQaj7s4LH38JrBr
+tW4h225PAzbBa989TQOF2ZzaL3dQEkRkfy3qIy+OogxbJXY6CS9tbVZpR5NJKNL+
+HqJiabenq2W/NASxCA9Nviw5Eu6qBo7MkZdQNh5toL4p1KNaMJyS94EOv5NDPFen
+s6v/czcRSrYjfwsQADFAbZe7dD2Z3BvjJ+Iy6ISIH5SCjeMm6eib0esLneNLFVU=
+=1mnC
+-----END PGP SIGNATURE-----
diff --git a/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild b/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild
index 2f2f41c37a2b..1de0b9d85005 100644
--- a/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild
+++ b/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild,v 1.7 2012/05/04 04:38:40 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.5.8-r1.ebuild,v 1.8 2013/01/24 00:26:56 hasufell Exp $
EAPI="2"
@@ -33,7 +33,7 @@ src_prepare() {
sed -i \
-e "s:LIBAGL = agl:LIBAGL = alleggl:" \
build/alleggl.cbd || die
- epatch "${FILESDIR}"/${P}-underlink.patch
+ epatch "${FILESDIR}"/${P}-{underlink,zlib}.patch
}
src_compile() {
@@ -41,13 +41,13 @@ src_compile() {
append-ldflags -Wl,-z,noexecstack
- $(tc-getCC) ${CFLAGS} cbuild.c -o cbuild || die "cbuild build failed"
+ $(tc-getBUILD_CC) cbuild.c -o cbuild || die "cbuild build failed"
use openal || myconf="$myconf -openal"
use opengl || myconf="$myconf -alleggl"
use zlib || myconf="$myconf -zlib"
- ./cbuild ${myconf} --verbose || die "cbuild failed"
+ LD="$(tc-getCC) ${CFLAGS}" ./cbuild ${myconf} --verbose || die "cbuild failed"
}
src_install() {
diff --git a/games-emulation/fakenes/fakenes-0.5.8-r2.ebuild b/games-emulation/fakenes/fakenes-0.5.8-r2.ebuild
new file mode 100644
index 000000000000..64484433a161
--- /dev/null
+++ b/games-emulation/fakenes/fakenes-0.5.8-r2.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/fakenes/fakenes-0.5.8-r2.ebuild,v 1.1 2013/01/24 00:26:56 hasufell Exp $
+
+EAPI=5
+
+inherit eutils flag-o-matic toolchain-funcs gnome2-utils games
+
+DESCRIPTION="portable, Open Source NES emulator which is written mostly in C"
+HOMEPAGE="http://fakenes.sourceforge.net/"
+SRC_URI="mirror://sourceforge/fakenes/${P}.tar.bz2"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="openal opengl zlib"
+
+RDEPEND=">=media-libs/allegro-4.4.1.1:0[opengl?]
+ dev-games/hawknl
+ openal? (
+ media-libs/openal
+ media-libs/freealut
+ )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_prepare() {
+ sed -i \
+ -e "s:openal-config:pkg-config openal:" \
+ build/openal.cbd || die
+
+ sed -i \
+ -e "s:LIBAGL = agl:LIBAGL = alleggl:" \
+ build/alleggl.cbd || die
+ epatch "${FILESDIR}"/${P}-{underlink,zlib}.patch
+}
+
+src_compile() {
+ local myconf
+
+ append-ldflags -Wl,-z,noexecstack
+
+ echo "$(tc-getBUILD_CC) cbuild.c -o cbuild"
+ $(tc-getBUILD_CC) cbuild.c -o cbuild || die "cbuild build failed"
+
+ use openal || myconf="$myconf -openal"
+ use opengl || myconf="$myconf -alleggl"
+ use zlib || myconf="$myconf -zlib"
+
+ LD="$(tc-getCC) ${CFLAGS}" ./cbuild ${myconf} --verbose || die "cbuild failed"
+}
+
+src_install() {
+ dogamesbin fakenes
+ insinto "${GAMES_DATADIR}/${PN}"
+ doins support/*
+ dodoc docs/{CHANGES,README}
+ dohtml docs/faq.html
+
+ newicon -s 32 support/icon-32x32.png ${PN}.png
+ make_desktop_entry ${PN} "FakeNES"
+
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}