diff options
author | Andrej Kacian <ticho@gentoo.org> | 2006-12-04 00:49:38 +0000 |
---|---|---|
committer | Andrej Kacian <ticho@gentoo.org> | 2006-12-04 00:49:38 +0000 |
commit | d8a601391a21b351d5cb15f76f758e25d6ac7548 (patch) | |
tree | 4958b50bb2a7adde25cdce290eced755bbe56f36 /media-sound/pympd/pympd-0.07.ebuild | |
parent | stable x86, bug #151612 (diff) | |
download | gentoo-2-d8a601391a21b351d5cb15f76f758e25d6ac7548.tar.gz gentoo-2-d8a601391a21b351d5cb15f76f758e25d6ac7548.tar.bz2 gentoo-2-d8a601391a21b351d5cb15f76f758e25d6ac7548.zip |
Warn user if GTK+ was built without jpeg USE flag. Warning suggested by Avuton Olrich <avuton at gmail.com>.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-sound/pympd/pympd-0.07.ebuild')
-rw-r--r-- | media-sound/pympd/pympd-0.07.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/media-sound/pympd/pympd-0.07.ebuild b/media-sound/pympd/pympd-0.07.ebuild index 2f3da18f2259..0cb422899d64 100644 --- a/media-sound/pympd/pympd-0.07.ebuild +++ b/media-sound/pympd/pympd-0.07.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/pympd/pympd-0.07.ebuild,v 1.2 2006/09/09 18:55:40 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/pympd/pympd-0.07.ebuild,v 1.3 2006/12/04 00:49:38 ticho Exp $ inherit toolchain-funcs python @@ -16,6 +16,16 @@ IUSE="" RDEPEND=">=virtual/python-2.4 >=dev-python/pygtk-2.6" +pkg_setup() { + if ! built_with_use '=gtk+-2*' jpeg; then + echo + ewarn "If you want album cover art displayed in pympd," + ewarn "you must build gtk+-2.x with \"jpeg\" USE flag." + echo + ebeep 3 + fi +} + src_compile() { # Honor CFLAGS in make.conf export BUILDFLAGS="${CFLAGS}" |