diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-03 21:48:08 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2009-01-03 21:48:08 +0000 |
commit | cc0c753d22e7fa827bd8d2eafb840535d89939b8 (patch) | |
tree | 5acea7027aa8ce50f5d4015ddf60dcf7d4329473 /games-strategy/wesnoth | |
parent | use-based dep for media-libs/sdl-mixer (diff) | |
download | gentoo-2-cc0c753d22e7fa827bd8d2eafb840535d89939b8.tar.gz gentoo-2-cc0c753d22e7fa827bd8d2eafb840535d89939b8.tar.bz2 gentoo-2-cc0c753d22e7fa827bd8d2eafb840535d89939b8.zip |
use-based deps for sdl-related packages
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-strategy/wesnoth')
-rw-r--r-- | games-strategy/wesnoth/ChangeLog | 7 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.4.7.ebuild | 25 |
2 files changed, 13 insertions, 19 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog index 43ea58062408..68af11bc4631 100644 --- a/games-strategy/wesnoth/ChangeLog +++ b/games-strategy/wesnoth/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for games-strategy/wesnoth -# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.134 2008/12/14 11:02:42 mr_bones_ Exp $ +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.135 2009/01/03 21:48:08 mr_bones_ Exp $ + + 03 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> wesnoth-1.4.7.ebuild: + use-based deps for sdl-related packages *wesnoth-1.4.7 (14 Dec 2008) diff --git a/games-strategy/wesnoth/wesnoth-1.4.7.ebuild b/games-strategy/wesnoth/wesnoth-1.4.7.ebuild index f83ddc74a754..7b85bd867f25 100644 --- a/games-strategy/wesnoth/wesnoth-1.4.7.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.4.7.ebuild @@ -1,7 +1,8 @@ -# 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/wesnoth/wesnoth-1.4.7.ebuild,v 1.1 2008/12/14 11:02:42 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.4.7.ebuild,v 1.2 2009/01/03 21:48:08 mr_bones_ Exp $ +EAPI=2 inherit eutils toolchain-funcs flag-o-matic games MY_PV=${PV/_/} @@ -14,13 +15,13 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="dedicated editor lite nls server smallgui static tinygui tools" -RDEPEND=">=media-libs/libsdl-1.2.7 +RDEPEND=">=media-libs/libsdl-1.2.7[X] media-libs/sdl-net dev-libs/boost !dedicated? ( x11-libs/libX11 - >=media-libs/sdl-mixer-1.2 - >=media-libs/sdl-image-1.2 + >=media-libs/sdl-mixer-1.2[vorbis] + >=media-libs/sdl-image-1.2[png] dev-lang/python >=media-libs/freetype-2 ) nls? ( virtual/libintl )" @@ -34,24 +35,14 @@ DEPEND="${RDEPEND} tinygui? ( media-gfx/imagemagick ) ) dedicated? ( - >=media-libs/sdl-mixer-1.2 - >=media-libs/sdl-image-1.2 + >=media-libs/sdl-mixer-1.2[vorbis] + >=media-libs/sdl-image-1.2[png] >=media-libs/freetype-2 ) nls? ( sys-devel/gettext )" S=${WORKDIR}/${PN}-${MY_PV} pkg_setup() { - if ! built_with_use media-libs/sdl-mixer vorbis ; then - die "Please emerge media-libs/sdl-mixer with USE=vorbis" - fi - if ! built_with_use media-libs/sdl-image png ; then - die "Please emerge media-libs/sdl-image with USE=png" - fi - # dedicated also needs USE=X for libsdl: bug #222033 - if ! built_with_use media-libs/libsdl X ; then - die "Please emerge media-libs/libsdl with USE=X" - fi if use !dedicated && use smallgui && use tinygui ; then ewarn "USE=tinygui overrides USE=smallgui" ebeep |