diff options
author | Steve Dibb <beandog@gentoo.org> | 2006-12-31 17:49:21 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2006-12-31 17:49:21 +0000 |
commit | 7b2465c62d651e217fb0dfe12ef2ba2f6491e853 (patch) | |
tree | dee95c946a908b1d849a5f8b64f0ac3d0cdc80cb /media-tv/freevo/freevo-1.5.4-r2.ebuild | |
parent | Version bump, remove artwiz-fonts dep, bug 143355 (diff) | |
download | gentoo-2-7b2465c62d651e217fb0dfe12ef2ba2f6491e853.tar.gz gentoo-2-7b2465c62d651e217fb0dfe12ef2ba2f6491e853.tar.bz2 gentoo-2-7b2465c62d651e217fb0dfe12ef2ba2f6491e853.zip |
Check for sdl-image + png use flag, bug 159464
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-tv/freevo/freevo-1.5.4-r2.ebuild')
-rw-r--r-- | media-tv/freevo/freevo-1.5.4-r2.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/media-tv/freevo/freevo-1.5.4-r2.ebuild b/media-tv/freevo/freevo-1.5.4-r2.ebuild index d40df7c28675..9f71f64eb183 100644 --- a/media-tv/freevo/freevo-1.5.4-r2.ebuild +++ b/media-tv/freevo/freevo-1.5.4-r2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.5.4-r2.ebuild,v 1.1 2006/10/24 18:38:21 mattepiu Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/freevo/freevo-1.5.4-r2.ebuild,v 1.2 2006/12/31 17:49:21 beandog Exp $ inherit distutils @@ -29,6 +29,14 @@ DEPEND=">=dev-python/pygame-1.5.6 matrox? ( >=media-video/matroxset-0.3 ) lirc? ( app-misc/lirc >=dev-python/pylirc-0.0.3 )" +pkg_setup() { + if ! built_with_use media-libs/sdl-image png; then + eerror "media-libs/sdl-image must be emerged with the 'png' use flag" + eerror "Please fix and re-emerge freevo." + die "fix use flags" + fi +} + src_unpack() { unpack ${A} cp "${FILESDIR}/freevo.rc6" "${WORKDIR}/" |