summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2007-01-28 19:36:06 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2007-01-28 19:36:06 +0000
commit1cbf6e9d1c14331ad26aef3ae9ed823d3f770589 (patch)
tree39bcd68d74695efad8da394e65d9244d8da6af21 /x11-misc/idesk
parentfixed bug #160187 and #164137. (diff)
downloadgentoo-2-1cbf6e9d1c14331ad26aef3ae9ed823d3f770589.tar.gz
gentoo-2-1cbf6e9d1c14331ad26aef3ae9ed823d3f770589.tar.bz2
gentoo-2-1cbf6e9d1c14331ad26aef3ae9ed823d3f770589.zip
Die if imlib2 is compiled without X in USE (bug #163762).
(Portage version: 2.1.2-r4)
Diffstat (limited to 'x11-misc/idesk')
-rw-r--r--x11-misc/idesk/ChangeLog7
-rw-r--r--x11-misc/idesk/idesk-0.7.5-r1.ebuild15
2 files changed, 18 insertions, 4 deletions
diff --git a/x11-misc/idesk/ChangeLog b/x11-misc/idesk/ChangeLog
index e6549dff0813..81a25f6ea8ab 100644
--- a/x11-misc/idesk/ChangeLog
+++ b/x11-misc/idesk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-misc/idesk
-# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/idesk/ChangeLog,v 1.49 2006/07/11 08:42:36 nelchael Exp $
+# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/idesk/ChangeLog,v 1.50 2007/01/28 19:36:06 nelchael Exp $
+
+ 28 Jan 2007; Krzysiek Pawlik <nelchael@gentoo.org> idesk-0.7.5-r1.ebuild:
+ Die if imlib2 is compiled without X in USE (bug #163762).
11 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> -idesk-0.5.6.ebuild,
-idesk-0.7.4.ebuild:
diff --git a/x11-misc/idesk/idesk-0.7.5-r1.ebuild b/x11-misc/idesk/idesk-0.7.5-r1.ebuild
index dd14e74f975e..e4f8403e7dc1 100644
--- a/x11-misc/idesk/idesk-0.7.5-r1.ebuild
+++ b/x11-misc/idesk/idesk-0.7.5-r1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/idesk/idesk-0.7.5-r1.ebuild,v 1.7 2006/05/23 20:29:36 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/idesk/idesk-0.7.5-r1.ebuild,v 1.8 2007/01/28 19:36:06 nelchael Exp $
+
+inherit eutils
DESCRIPTION="Utility to place icons on the root window"
HOMEPAGE="http://idesk.sourceforge.net/"
@@ -22,6 +24,15 @@ DEPEND=">=media-libs/imlib2-1.1.2.20040912
media-libs/libart_lgpl
x11-libs/startup-notification"
+pkg_setup() {
+
+ if ! built_with_use media-libs/imlib2 X; then
+ eerror "You need to have media-libs/imlib2 compiled with USE=\"X\""
+ die "You need to have media-libs/imlib2 compiled with USE=\"X\""
+ fi
+
+}
+
src_unpack() {
unpack "${A}"
cd "${S}"