Ensure libsdl is built with X support.
authorCarsten Lohrke <carlo@gentoo.org>
Wed, 25 Apr 2007 15:38:45 +0000 (15:38 +0000)
committerCarsten Lohrke <carlo@gentoo.org>
Wed, 25 Apr 2007 15:38:45 +0000 (15:38 +0000)
Package-Manager: portage-2.1.2.4

kde-base/kdeaddons/ChangeLog
kde-base/kdeaddons/kdeaddons-3.5.6-r1.ebuild
kde-base/noatun-plugins/ChangeLog
kde-base/noatun-plugins/noatun-plugins-3.5.6.ebuild

index 72d7862dbc8e912ff158d870da92f1f4eb1ceea7..05546ae0b06eb5aeb3b63c00a6784e7e86ce6127 100644 (file)
@@ -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:
index 39d175a93c935a23ea8d5cf8fac9c9cbf5b768b6..e3a8a5c6272032ade954c72307c0f3e63ac4ed85 100644 (file)
@@ -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"
index 007c368e1f9d88b5664c470e8045dc078d52a335..d43d48e2cee7466cf25c8dc95cb6fa187d925a74 100644 (file)
@@ -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 <carlo@gentoo.org>
+  noatun-plugins-3.5.6.ebuild:
+  Ensure libsdl is built with X support.
 
   05 Feb 2007; Diego Pettenò <flameeyes@gentoo.org>
   -files/noatun-oblique-db-location-3.4.0_rc1.diff,
index 68e917d3f99a26937f41f0a2b5d622e431f3ee02..6c103964b693fe142adfd91f7bf2228169112d84 100644 (file)
@@ -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)"