summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Lohrke <carlo@gentoo.org>2007-04-25 15:38:45 +0000
committerCarsten Lohrke <carlo@gentoo.org>2007-04-25 15:38:45 +0000
commit7f17a56aa56aee1fec27ae6259a5955d5885a9e2 (patch)
tree18f370a73ec003ea658bf7fb15c8dd6b44c192c7 /kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild
parent Ensure libsdl is built with X support. (diff)
downloadgentoo-2-7f17a56aa56aee1fec27ae6259a5955d5885a9e2.tar.gz
gentoo-2-7f17a56aa56aee1fec27ae6259a5955d5885a9e2.tar.bz2
gentoo-2-7f17a56aa56aee1fec27ae6259a5955d5885a9e2.zip
Ensure libsdl is built with X support.
(Portage version: 2.1.2.4)
Diffstat (limited to 'kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild')
-rw-r--r--kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild10
1 files changed, 9 insertions, 1 deletions
diff --git a/kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild b/kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild
index 39d175a93c93..e3a8a5c62720 100644
--- a/kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild
+++ b/kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild,v 1.3 2007/02/16 21:55:41 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild,v 1.4 2007/04/25 15:38:45 carlo Exp $
inherit db-use kde-dist
@@ -20,6 +20,14 @@ RDEPEND="${DEPEND}"
PATCHES="${FILESDIR}/konq-plugins-3.5-archiver.patch"
+pkg_setup() {
+ kde_pkg_setup
+ if use sdl && ! built_with_use media-libs/libsdl X ; then
+ eerror "media-libs/libsdl is not build with X support."
+ die "Please reemerge media-libs/libsdl with USE=\"X\"."
+ fi
+}
+
src_unpack() {
einfo "NOTICE: If the compilation dies complaining with"
einfo "\"SDL - version >= 1.2.0... no\", please run"