diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-14 20:19:17 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-14 20:19:17 +0000 |
commit | 251e656ed25ffc9cb75de6afb9603ccb462f2c58 (patch) | |
tree | 8edba273119fe5c530b0383aff9ecedcb87d92b0 /games-emulation | |
parent | Respect AR/RANLIB in env. (diff) | |
download | gentoo-2-251e656ed25ffc9cb75de6afb9603ccb462f2c58.tar.gz gentoo-2-251e656ed25ffc9cb75de6afb9603ccb462f2c58.tar.bz2 gentoo-2-251e656ed25ffc9cb75de6afb9603ccb462f2c58.zip |
EAPI=2; add use-based dep
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-emulation')
-rw-r--r-- | games-emulation/dosbox-cvs/ChangeLog | 8 | ||||
-rw-r--r-- | games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild | 19 |
2 files changed, 11 insertions, 16 deletions
diff --git a/games-emulation/dosbox-cvs/ChangeLog b/games-emulation/dosbox-cvs/ChangeLog index 1389d26cc512..1bb36ef83ff8 100644 --- a/games-emulation/dosbox-cvs/ChangeLog +++ b/games-emulation/dosbox-cvs/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-emulation/dosbox-cvs -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/ChangeLog,v 1.15 2007/03/21 23:15:23 mr_bones_ Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/ChangeLog,v 1.16 2009/01/14 20:19:17 mr_bones_ Exp $ + + 14 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> + dosbox-cvs-20030809.ebuild: + EAPI=2; add use-based dep 21 Mar 2007; Michael Sterrett <mr_bones_@gentoo.org> dosbox-cvs-20030809.ebuild: diff --git a/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild b/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild index f1a6284c62ca..2d2019d7f1bf 100644 --- a/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild +++ b/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild,v 1.17 2007/03/21 23:15:23 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-emulation/dosbox-cvs/dosbox-cvs-20030809.ebuild,v 1.18 2009/01/14 20:19:17 mr_bones_ Exp $ +EAPI=2 inherit eutils games cvs DESCRIPTION="DOS emulator" @@ -12,7 +13,7 @@ SLOT="0" KEYWORDS="~amd64 ppc x86" IUSE="alsa debug hardened opengl sdl png" -DEPEND="alsa? ( media-libs/alsa-lib ) +DEPEND="alsa? ( media-libs/alsa-lib[midi] ) opengl? ( virtual/opengl ) png? ( media-libs/libpng ) debug? ( sys-libs/ncurses ) @@ -26,16 +27,7 @@ ECVS_TOP_DIR=${DISTDIR}/cvs-src/${PN} S=${WORKDIR}/${ECVS_MODULE} -pkg_setup() { - if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then - eerror "To be able to build dosbox with ALSA support you need" - eerror "to have built media-libs/alsa-lib with midi USE flag." - die "Missing midi USE flag on media-libs/alsa-lib" - fi - games_pkg_setup -} - -src_compile() { +src_configure() { local myconf= if ! use alsa ; then @@ -54,7 +46,6 @@ src_compile() { ${myconf} \ $(use_enable opengl) \ || die - emake || die "emake failed" } src_install() { |