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
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')
-rw-r--r--kde-base/kdeaddons/ChangeLog5
-rw-r--r--kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild10
2 files changed, 13 insertions, 2 deletions
diff --git a/kde-base/kdeaddons/ChangeLog b/kde-base/kdeaddons/ChangeLog
index 72d7862dbc8e..05546ae0b06e 100644
--- a/kde-base/kdeaddons/ChangeLog
+++ b/kde-base/kdeaddons/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for kde-base/kdeaddons
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/ChangeLog,v 1.202 2007/02/16 21:55:41 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeaddons/ChangeLog,v 1.203 2007/04/25 15:38:45 carlo Exp $
+
+ 25 Apr 2007; Carsten Lohrke <carlo@gentoo.org> kdeaddons-3.5.6-r1.ebuild:
+ Ensure libsdl is built with X support.
16 Feb 2007; Diego Pettenò <flameeyes@gentoo.org>
kdeaddons-3.5.5-r1.ebuild, kdeaddons-3.5.6-r1.ebuild:
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"