diff options
Diffstat (limited to 'media-sound/sonata/sonata-0.9.ebuild')
-rw-r--r-- | media-sound/sonata/sonata-0.9.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/media-sound/sonata/sonata-0.9.ebuild b/media-sound/sonata/sonata-0.9.ebuild index 13cf92263309..896abeeae412 100644 --- a/media-sound/sonata/sonata-0.9.ebuild +++ b/media-sound/sonata/sonata-0.9.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-sound/sonata/sonata-0.9.ebuild,v 1.1 2006/11/27 02:55:37 ticho Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/sonata/sonata-0.9.ebuild,v 1.2 2006/12/04 00:26:45 ticho Exp $ inherit distutils @@ -17,6 +17,16 @@ RDEPEND=">=virtual/python-2.4 >=dev-python/pygtk-2.6 gnome? ( dev-python/gnome-python-extras )" +pkg_setup() { + if ! built_with_use '=gtk+-2*' jpeg; then + echo + ewarn "If you want album cover art displayed in Sonata," + ewarn "you must build gtk+-2.x with \"jpeg\" USE flag." + echo + ebeep 3 + fi +} + src_compile() { distutils_src_compile } |