summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-05-22 21:47:48 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-05-22 21:47:48 +0000
commit2f408b9dae6b470a2c883fecb49da472a4316281 (patch)
treeb229efcead9c593590d5f4b6bedd9b104b7bb515 /games-strategy
parentDon't die if FEATURES=distcc, since we no longer compile scsilib on most plat... (diff)
downloadgentoo-2-2f408b9dae6b470a2c883fecb49da472a4316281.tar.gz
gentoo-2-2f408b9dae6b470a2c883fecb49da472a4316281.tar.bz2
gentoo-2-2f408b9dae6b470a2c883fecb49da472a4316281.zip
Use the system libraries instead of the bundled ones
(Portage version: 2.1.6.11/cvs/Linux i686)
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/darwinia-demo/ChangeLog8
-rw-r--r--games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild30
2 files changed, 25 insertions, 13 deletions
diff --git a/games-strategy/darwinia-demo/ChangeLog b/games-strategy/darwinia-demo/ChangeLog
index 76b3a5c47ca4..7b9ed5cbf728 100644
--- a/games-strategy/darwinia-demo/ChangeLog
+++ b/games-strategy/darwinia-demo/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/darwinia-demo
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia-demo/ChangeLog,v 1.11 2008/06/23 17:44:49 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia-demo/ChangeLog,v 1.12 2009/05/22 21:47:48 mr_bones_ Exp $
+
+ 22 May 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ darwinia-demo-1.3.0.ebuild:
+ Use the system libraries instead of the bundled ones
23 Jun 2008; Tristan Heaven <nyhm@gentoo.org> darwinia-demo-1.3.0.ebuild:
RESTRICT=mirror
diff --git a/games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild b/games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild
index 06960bf34dc3..426c21211167 100644
--- a/games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild
+++ b/games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild,v 1.8 2009/04/14 07:31:06 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia-demo/darwinia-demo-1.3.0.ebuild,v 1.9 2009/05/22 21:47:48 mr_bones_ Exp $
inherit eutils games
@@ -15,9 +15,17 @@ IUSE=""
RESTRICT="mirror strip"
PROPERTIES="interactive"
-RDEPEND="sys-libs/glibc
- virtual/opengl
- amd64? ( app-emulation/emul-linux-x86-xlibs
+RDEPEND="
+ sys-libs/glibc
+ sys-devel/gcc
+ x86? (
+ virtual/opengl
+ virtual/glu
+ media-libs/libsdl
+ media-libs/libvorbis )
+ amd64? (
+ app-emulation/emul-linux-x86-xlibs
+ app-emulation/emul-linux-x86-medialibs
app-emulation/emul-linux-x86-compat )"
S=${WORKDIR}
@@ -31,19 +39,19 @@ src_unpack() {
src_install() {
exeinto "${dir}/lib"
- doexe lib/lib{gcc_s.so.1,SDL-1.2.so.0,vorbis{.so.0,file.so.3},ogg.so.0} \
- || die "Copying libraries"
- doexe lib/{darwinia.bin.x86,open-www.sh} || die "copying executables"
insinto "${dir}/lib"
+
+ doexe lib/{darwinia.bin.x86,open-www.sh} || die "copying executables"
doins lib/{sounds,main,language}.dat || die "copying data files"
+
insinto "${dir}"
dodoc README || die "copying docs"
exeinto "${dir}"
- doexe bin/Linux/x86/darwinia || die "couldn't do exe"
+ doexe bin/Linux/x86/darwinia || die "doexe failed"
games_make_wrapper darwinia-demo ./darwinia "${dir}" "${dir}"
- newicon darwinian.png darwinia-demo.png
- make_desktop_entry darwinia-demo "Darwinia (Demo)" darwinia-demo
+ newicon darwinian.png ${PN}.png
+ make_desktop_entry darwinia-demo "Darwinia (Demo)"
prepgamesdirs
}