summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrej Kacian <ticho@gentoo.org>2006-12-04 00:26:45 +0000
committerAndrej Kacian <ticho@gentoo.org>2006-12-04 00:26:45 +0000
commit0f5d9c6fe562966a9a07b7f28175916fcb4a22b7 (patch)
tree9f9e509613045cec111e8f87c514f812373b0fd6 /media-sound/sonata
parentRemove useless <net-im/gabber-1 mask. (diff)
downloadgentoo-2-0f5d9c6fe562966a9a07b7f28175916fcb4a22b7.tar.gz
gentoo-2-0f5d9c6fe562966a9a07b7f28175916fcb4a22b7.tar.bz2
gentoo-2-0f5d9c6fe562966a9a07b7f28175916fcb4a22b7.zip
Warn user if GTK+ was built without jpeg USE flag. Warning suggested by Avuton Olrich <avuton at gmail.com>. Removed old ebuilds.
(Portage version: 2.1.2_rc2-r2)
Diffstat (limited to 'media-sound/sonata')
-rw-r--r--media-sound/sonata/ChangeLog7
-rw-r--r--media-sound/sonata/sonata-0.9.ebuild12
2 files changed, 17 insertions, 2 deletions
diff --git a/media-sound/sonata/ChangeLog b/media-sound/sonata/ChangeLog
index aaa995184800..f73bd9a9d247 100644
--- a/media-sound/sonata/ChangeLog
+++ b/media-sound/sonata/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/sonata
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/sonata/ChangeLog,v 1.6 2006/11/27 02:55:37 ticho Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/sonata/ChangeLog,v 1.7 2006/12/04 00:26:45 ticho Exp $
+
+ 04 Dec 2006; <ticho@gentoo.org> -sonata-0.6.ebuild, -sonata-0.7.1.ebuild,
+ -sonata-0.8.ebuild, -sonata-0.8.1.ebuild, sonata-0.9.ebuild:
+ Warn user if GTK+ was built without jpeg USE flag. Warning suggested by
+ Avuton Olrich <avuton at gmail.com>. Removed old ebuilds.
*sonata-0.9 (27 Nov 2006)
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
}