From d283bc0fd8d3cc14b7e3207356828245c6d4cca1 Mon Sep 17 00:00:00 2001 From: Carsten Lohrke Date: Wed, 25 Apr 2007 15:38:45 +0000 Subject: [PATCH] Ensure libsdl is built with X support. Package-Manager: portage-2.1.2.4 --- kde-base/kdeaddons/ChangeLog | 5 ++++- kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild | 10 +++++++++- kde-base/noatun-plugins/ChangeLog | 6 +++++- kde-base/noatun-plugins/noatun-plugins-3.5.6.ebuild | 10 +++++++++- 4 files changed, 27 insertions(+), 4 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 kdeaddons-3.5.6-r1.ebuild: + Ensure libsdl is built with X support. 16 Feb 2007; Diego Pettenò 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" diff --git a/kde-base/noatun-plugins/ChangeLog b/kde-base/noatun-plugins/ChangeLog index 007c368e1f9d..d43d48e2cee7 100644 --- a/kde-base/noatun-plugins/ChangeLog +++ b/kde-base/noatun-plugins/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-base/noatun-plugins # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/noatun-plugins/ChangeLog,v 1.65 2007/02/05 12:13:49 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/noatun-plugins/ChangeLog,v 1.66 2007/04/25 15:37:03 carlo Exp $ + + 25 Apr 2007; Carsten Lohrke + noatun-plugins-3.5.6.ebuild: + Ensure libsdl is built with X support. 05 Feb 2007; Diego Pettenò -files/noatun-oblique-db-location-3.4.0_rc1.diff, diff --git a/kde-base/noatun-plugins/noatun-plugins-3.5.6.ebuild b/kde-base/noatun-plugins/noatun-plugins-3.5.6.ebuild index 68e917d3f99a..6c103964b693 100644 --- a/kde-base/noatun-plugins/noatun-plugins-3.5.6.ebuild +++ b/kde-base/noatun-plugins/noatun-plugins-3.5.6.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/noatun-plugins/noatun-plugins-3.5.6.ebuild,v 1.2 2007/01/18 16:11:50 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/noatun-plugins/noatun-plugins-3.5.6.ebuild,v 1.3 2007/04/25 15:37:03 carlo Exp $ KMNAME=kdeaddons MAXKDEVER=$PV KM_DEPRANGE="$PV $MAXKDEVER" @@ -17,6 +17,14 @@ DEPEND="$(deprange-dual $PV $MAXKDEVER kde-base/noatun) RDEPEND="${DEPEND}" +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_compile() { local myconf="$(use_with sdl)" -- 2.26.2