summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild')
-rw-r--r--net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild b/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild
index a25a9d1801d1..c1382615cc97 100644
--- a/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild
+++ b/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild,v 1.1 2008/10/22 21:10:42 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-irc/xchat-gnome/xchat-gnome-0.24.1.ebuild,v 1.2 2008/11/21 22:00:30 eva Exp $
inherit gnome2 eutils
@@ -9,7 +9,7 @@ HOMEPAGE="http://xchat-gnome.navi.cx/"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~x86"
IUSE="dbus ipv6 libnotify mmx nls perl python sound spell ssl tcl"
RDEPEND=">=dev-libs/glib-2.18.0
@@ -38,6 +38,11 @@ DEPEND="${RDEPEND}
# gnome-base/gnome-common is temporarily needed for re-creating configure
pkg_setup() {
+ if use sound && ! built_with_use media-libs/libcanberra gtk; then
+ eerror "You need to rebuild media-libs/libcanberra with gtk support."
+ die "Rebuild media-libs/libcanberra with USE='gtk'"
+ fi
+
G2CONF="${G2CONF}
--enable-gnomefe
--enable-shm