summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-08-31 19:27:14 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-08-31 19:27:14 +0000
commit7782d9256c2a7ec1ee5f8f03cc92c0c4d4aeec09 (patch)
treea7e329f822cddaca161c75c33d4e29e04f542325 /games-strategy/darwinia
parentstable ppc64, bug 278857 (diff)
downloadgentoo-2-7782d9256c2a7ec1ee5f8f03cc92c0c4d4aeec09.tar.gz
gentoo-2-7782d9256c2a7ec1ee5f8f03cc92c0c4d4aeec09.tar.bz2
gentoo-2-7782d9256c2a7ec1ee5f8f03cc92c0c4d4aeec09.zip
Use the system libraries (bug #269180)
(Portage version: 2.1.6.13/cvs/Linux i686)
Diffstat (limited to 'games-strategy/darwinia')
-rw-r--r--games-strategy/darwinia/ChangeLog8
-rw-r--r--games-strategy/darwinia/darwinia-1.3.0.ebuild26
-rw-r--r--games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild22
3 files changed, 38 insertions, 18 deletions
diff --git a/games-strategy/darwinia/ChangeLog b/games-strategy/darwinia/ChangeLog
index e314ef974edd..1ffb370bbc11 100644
--- a/games-strategy/darwinia/ChangeLog
+++ b/games-strategy/darwinia/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-strategy/darwinia
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia/ChangeLog,v 1.6 2008/06/23 17:42:55 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia/ChangeLog,v 1.7 2009/08/31 19:27:14 mr_bones_ Exp $
+
+ 31 Aug 2009; Michael Sterrett <mr_bones_@gentoo.org>
+ darwinia-1.3.0.ebuild, darwinia-1.4.0_beta9.ebuild:
+ Use the system libraries (bug #269180)
23 Jun 2008; Tristan Heaven <nyhm@gentoo.org> darwinia-1.3.0.ebuild,
darwinia-1.4.0_beta9.ebuild:
diff --git a/games-strategy/darwinia/darwinia-1.3.0.ebuild b/games-strategy/darwinia/darwinia-1.3.0.ebuild
index beb6aa1f2ce7..9c634d4b894a 100644
--- a/games-strategy/darwinia/darwinia-1.3.0.ebuild
+++ b/games-strategy/darwinia/darwinia-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/darwinia-1.3.0.ebuild,v 1.9 2009/04/16 12:39:24 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia/darwinia-1.3.0.ebuild,v 1.10 2009/08/31 19:27:14 mr_bones_ Exp $
inherit eutils games
@@ -15,9 +15,17 @@ IUSE="cdinstall"
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}
@@ -33,14 +41,14 @@ src_unpack() {
src_install() {
insinto "${dir}"/lib
exeinto "${dir}"/lib
+
doins lib/{language,patch}.dat
- doexe lib/lib{SDL-1.2,ogg,vorbis}.so.0 lib/lib{gcc_s.so.1,vorbisfile.so.3} \
- lib/darwinia.bin.x86 lib/open-www.sh || die "copying libs/executables"
+ doexe lib/darwinia.bin.x86 lib/open-www.sh || die "copying executables"
exeinto "${dir}"
doexe bin/Linux/x86/darwinia || die "couldn't do exe"
- if use cdinstall; then
+ if use cdinstall ; then
doins "${CDROM_ROOT}"/gamefiles/{main,sounds}.dat \
|| die "couldn't copy data files"
fi
@@ -49,7 +57,7 @@ src_install() {
newicon darwinian.png darwinia.png
games_make_wrapper darwinia ./darwinia "${dir}" "${dir}"
- make_desktop_entry darwinia "Darwinia" darwinia
+ make_desktop_entry darwinia "Darwinia"
prepgamesdirs
}
diff --git a/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild b/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild
index 47a190e1816a..da4c6b9bbd08 100644
--- a/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild
+++ b/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild,v 1.6 2009/04/16 12:39:24 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-strategy/darwinia/darwinia-1.4.0_beta9.ebuild,v 1.7 2009/08/31 19:27:14 mr_bones_ Exp $
inherit eutils games
@@ -16,9 +16,17 @@ IUSE="cdinstall"
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}
@@ -34,9 +42,9 @@ src_unpack() {
src_install() {
insinto "${dir}"/lib
exeinto "${dir}"/lib
+
doins lib/{language,patch}.dat
- doexe lib/lib{SDL-1.2,ogg,vorbis}.so.0 lib/lib{gcc_s.so.1,vorbisfile.so.3} \
- lib/darwinia.bin.x86 lib/open-www.sh || die "copying libs/executables"
+ doexe lib/darwinia.bin.x86 lib/open-www.sh || die "copying executables"
exeinto "${dir}"
doexe bin/Linux/x86/darwinia || die "couldn't do exe"
@@ -50,7 +58,7 @@ src_install() {
newicon darwinian.png darwinia.png
games_make_wrapper darwinia ./darwinia "${dir}" "${dir}"
- make_desktop_entry darwinia "Darwinia" darwinia
+ make_desktop_entry darwinia "Darwinia"
prepgamesdirs
}