summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-03 22:04:51 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-03 22:04:51 +0000
commit2ec9a6047daa5efb9305c5c0dfc67854c1c4212d (patch)
tree1f228df0d52d09c2f7092c3f71bf713baa1925a8 /games-arcade/smc
parentadd use-based dep for media-libs/sdl-mixer (diff)
downloadgentoo-2-2ec9a6047daa5efb9305c5c0dfc67854c1c4212d.tar.gz
gentoo-2-2ec9a6047daa5efb9305c5c0dfc67854c1c4212d.tar.bz2
gentoo-2-2ec9a6047daa5efb9305c5c0dfc67854c1c4212d.zip
add use-based deps
(Portage version: 2.1.6.4/cvs/Linux 2.6.27.8 i686)
Diffstat (limited to 'games-arcade/smc')
-rw-r--r--games-arcade/smc/ChangeLog7
-rw-r--r--games-arcade/smc/smc-1.7.ebuild28
2 files changed, 12 insertions, 23 deletions
diff --git a/games-arcade/smc/ChangeLog b/games-arcade/smc/ChangeLog
index 2d1cde43c299..a297e2d17aee 100644
--- a/games-arcade/smc/ChangeLog
+++ b/games-arcade/smc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for games-arcade/smc
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.12 2008/12/25 03:17:39 nyhm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/ChangeLog,v 1.13 2009/01/03 22:04:51 mr_bones_ Exp $
+
+ 03 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> smc-1.7.ebuild:
+ add use-based deps
*smc-1.7 (25 Dec 2008)
diff --git a/games-arcade/smc/smc-1.7.ebuild b/games-arcade/smc/smc-1.7.ebuild
index bfb8b465f94a..53272af434fd 100644
--- a/games-arcade/smc/smc-1.7.ebuild
+++ b/games-arcade/smc/smc-1.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-arcade/smc/smc-1.7.ebuild,v 1.1 2008/12/25 03:17:39 nyhm Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-arcade/smc/smc-1.7.ebuild,v 1.2 2009/01/03 22:04:51 mr_bones_ Exp $
+EAPI=2
inherit eutils games
MUSIC_P=SMC_music_4.0_high
@@ -15,35 +16,20 @@ SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
-RDEPEND="dev-games/cegui
+RDEPEND="dev-games/cegui[opengl,devil]
dev-libs/boost
virtual/opengl
virtual/glu
+ dev-libs/libpcre[unicode]
media-libs/libpng
media-libs/libsdl
- media-libs/sdl-image
- media-libs/sdl-mixer
+ media-libs/sdl-image[png]
+ media-libs/sdl-mixer[vorbis]
media-libs/sdl-ttf"
DEPEND="${RDEPEND}
dev-util/pkgconfig
app-arch/unzip"
-pkg_setup() {
- games_pkg_setup
- if ! built_with_use media-libs/sdl-image png ; then
- die "Please emerge media-libs/sdl-image with USE=png"
- fi
- if ! built_with_use dev-games/cegui opengl ; then
- die "Please emerge dev-games/cegui with USE=opengl"
- fi
- if ! built_with_use dev-games/cegui devil ; then
- die "Please emerge dev-games/cegui with USE=devil"
- fi
- if ! built_with_use dev-libs/libpcre unicode ; then
- die "Please emerge dev-libs/libpcre with USE=unicode"
- fi
-}
-
src_unpack() {
unpack ${P}.tar.bz2
cd "${S}"