diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-03-24 08:24:07 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2010-03-24 08:24:07 +0000 |
commit | e5467b559178f981493ce86f460c57c2d7524ef2 (patch) | |
tree | 386f282b8466019c1f9a8d128effd7f5c0faed69 /www-plugins | |
parent | Version bump (diff) | |
download | gentoo-2-e5467b559178f981493ce86f460c57c2d7524ef2.tar.gz gentoo-2-e5467b559178f981493ce86f460c57c2d7524ef2.tar.bz2 gentoo-2-e5467b559178f981493ce86f460c57c2d7524ef2.zip |
www-plugins/gnash: more USE flag checks
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'www-plugins')
-rw-r--r-- | www-plugins/gnash/ChangeLog | 6 | ||||
-rw-r--r-- | www-plugins/gnash/gnash-0.8.7.ebuild | 20 |
2 files changed, 15 insertions, 11 deletions
diff --git a/www-plugins/gnash/ChangeLog b/www-plugins/gnash/ChangeLog index fde2b1294abc..179e7f7e6036 100644 --- a/www-plugins/gnash/ChangeLog +++ b/www-plugins/gnash/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for www-plugins/gnash # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/ChangeLog,v 1.24 2010/03/23 23:48:37 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/ChangeLog,v 1.25 2010/03/24 08:24:07 chithanh Exp $ + + 24 Mar 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> + gnash-0.8.7.ebuild: + update USE flag checks more 23 Mar 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> gnash-0.8.7.ebuild: diff --git a/www-plugins/gnash/gnash-0.8.7.ebuild b/www-plugins/gnash/gnash-0.8.7.ebuild index 54446b2b39cd..c0130aa52069 100644 --- a/www-plugins/gnash/gnash-0.8.7.ebuild +++ b/www-plugins/gnash/gnash-0.8.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.7.ebuild,v 1.3 2010/03/23 23:48:37 chithanh Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-plugins/gnash/gnash-0.8.7.ebuild,v 1.4 2010/03/24 08:24:07 chithanh Exp $ EAPI="2" CMAKE_REQUIRED="false" @@ -78,13 +78,8 @@ pkg_setup() { die "Please enable a renderer" elif use agg && use cairo && use opengl; then ewarn "You enabled 3 renderers, agg was chosen as default." - elif use !agg && use cairo; then - if use !gtk; then - eerror "Cairo backend needs gtk." - die "Please enable the gtk USE flag." - elif use opengl; then - ewarn "You enabled cairo and opengl, cairo was chosen as default." - fi + elif use !agg && use cairo && use opengl; then + ewarn "You enabled cairo and opengl, cairo was chosen as default." fi if ! ( use kde || use gtk || use sdl ); then @@ -93,17 +88,22 @@ pkg_setup() { || die "Please enable at least one of these USE flags." fi + if use python && use !gtk; then + eerror "Building gnash with python support requires gtk." + die "python requires the gtk USE flag." + fi + if use nsplugin && use !gtk; then eerror "Building gnash with nsplugin requires the gtk gui." die "Nsplugin requires the gtk gui." fi if use sdl; then - ewarn "Enable SDL as gui frontend and sound handler" + elog "Enable SDL as gui frontend and sound handler" fi if use lirc; then - ewarn "Enable LIRC daemon support and lirc extension" + elog "Enable LIRC daemon support and lirc extension" fi kde4-base_pkg_setup |