diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-05 19:41:29 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-05 19:41:29 +0000 |
commit | 6646416ff0d3a537302207c7b76cb73695e7a2c9 (patch) | |
tree | b64b32a974aa6101c375d00e3b3a95ab721bbe7f /games-emulation | |
parent | add gtk-doc to the do not install list (diff) | |
download | gentoo-2-6646416ff0d3a537302207c7b76cb73695e7a2c9.tar.gz gentoo-2-6646416ff0d3a537302207c7b76cb73695e7a2c9.tar.bz2 gentoo-2-6646416ff0d3a537302207c7b76cb73695e7a2c9.zip |
png isn't optional, more alsa config stuff
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/dosbox/ChangeLog | 5 | ||||
-rw-r--r-- | games-emulation/dosbox/dosbox-0.61.ebuild | 21 |
2 files changed, 16 insertions, 10 deletions
diff --git a/games-emulation/dosbox/ChangeLog b/games-emulation/dosbox/ChangeLog index 9529096844e9..422e93305c53 100644 --- a/games-emulation/dosbox/ChangeLog +++ b/games-emulation/dosbox/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-emulation/dosbox # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/ChangeLog,v 1.7 2004/02/11 08:50:04 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/ChangeLog,v 1.8 2004/03/05 19:41:29 mr_bones_ Exp $ + + 05 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> dosbox-0.61.ebuild: + png isn't optional, more alsa config stuff 11 Feb 2004; David Holm <dholm@gentoo.org> dosbox-0.61.ebuild: Added to ~ppc. diff --git a/games-emulation/dosbox/dosbox-0.61.ebuild b/games-emulation/dosbox/dosbox-0.61.ebuild index 62adc88de6a6..ca474a97837f 100644 --- a/games-emulation/dosbox/dosbox-0.61.ebuild +++ b/games-emulation/dosbox/dosbox-0.61.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.61.ebuild,v 1.4 2004/02/11 08:50:04 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox/dosbox-0.61.ebuild,v 1.5 2004/03/05 19:41:29 mr_bones_ Exp $ inherit games @@ -11,24 +11,27 @@ SRC_URI="mirror://sourceforge/dosbox/${P}.tar.gz" KEYWORDS="x86 amd64 ~ppc" LICENSE="GPL-2" SLOT="0" -IUSE="alsa png opengl" +IUSE="alsa opengl" -DEPEND="media-libs/sdl-net - png? ( - media-libs/libpng - sys-libs/zlib - ) +DEPEND="virtual/glibc alsa? ( media-libs/alsa-lib ) opengl? ( virtual/opengl ) >=media-libs/libsdl-1.2.0 + sys-libs/zlib + media-libs/libpng media-libs/sdl-net" src_compile() { + local myconf="" + + if ! use alsa ; then + myconf="--without-alsa-prefix --without-alsa-inc-prefix --disable-alsatest" + fi egamesconf \ --disable-dependency-tracking \ + ${myconf} \ `use_enable opengl` \ - `use_enable alsa alsatest` \ - || die + || die emake || die "emake failed" } |