diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-04-15 04:28:34 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-04-15 04:28:34 +0000 |
commit | 62f6551d10f88a236903b1537e33198f3befb2a5 (patch) | |
tree | da4d2b06bdaf934b4a5f62c78bff0c406649579a /x11-misc | |
parent | Cleaned up gnustep.eclass dependencies; fixed/removed packages that were pack... (diff) | |
download | gentoo-2-62f6551d10f88a236903b1537e33198f3befb2a5.tar.gz gentoo-2-62f6551d10f88a236903b1537e33198f3befb2a5.tar.bz2 gentoo-2-62f6551d10f88a236903b1537e33198f3befb2a5.zip |
Add a check for kde screensaver support #88212 Olaf Freyer.
(Portage version: 2.0.51.19)
Diffstat (limited to 'x11-misc')
-rw-r--r-- | x11-misc/rss-glx/ChangeLog | 7 | ||||
-rw-r--r-- | x11-misc/rss-glx/rss-glx-0.7.6-r1.ebuild | 18 |
2 files changed, 20 insertions, 5 deletions
diff --git a/x11-misc/rss-glx/ChangeLog b/x11-misc/rss-glx/ChangeLog index 26e1c2a3caba..993b655c0a0f 100644 --- a/x11-misc/rss-glx/ChangeLog +++ b/x11-misc/rss-glx/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for x11-misc/rss-glx -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.26 2005/02/02 21:15:17 greg_g Exp $ +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/ChangeLog,v 1.27 2005/04/15 04:28:34 vapier Exp $ + + 15 Apr 2005; Mike Frysinger <vapier@gentoo.org> rss-glx-0.7.6-r1.ebuild: + Add a check for kde screensaver support #88212 Olaf Freyer. *rss-glx-0.7.6-r1 (02 Feb 2005) diff --git a/x11-misc/rss-glx/rss-glx-0.7.6-r1.ebuild b/x11-misc/rss-glx/rss-glx-0.7.6-r1.ebuild index 75473198367b..a619ad7fcaf3 100644 --- a/x11-misc/rss-glx/rss-glx-0.7.6-r1.ebuild +++ b/x11-misc/rss-glx/rss-glx-0.7.6-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/rss-glx-0.7.6-r1.ebuild,v 1.1 2005/02/02 21:15:17 greg_g Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/rss-glx/rss-glx-0.7.6-r1.ebuild,v 1.2 2005/04/15 04:28:34 vapier Exp $ inherit flag-o-matic eutils @@ -12,8 +12,8 @@ SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~x86 ~ppc ~amd64 ~sparc" -IUSE="kde sse 3dnow openal" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="kde sse 3dnow openal xscreensaver" DEPEND="virtual/x11 virtual/opengl @@ -22,6 +22,18 @@ DEPEND="virtual/x11 !kde? ( x11-misc/xscreensaver ) openal? ( media-libs/openal )" +pkg_setup() { + if use kde && use xscreensaver ; then + if ! built_with_use kde-base/kdeartwork-kscreensaver xscreensaver && \ + ! built_with_use kde-base/kdeartwork xscreensaver ; then + eerror "rss-glx wont work nicely with kde unless you" + eerror "emerge kscreensaver with USE=xscreensaver" + eerror "See http://bugs.gentoo.org/show_bug.cgi?id=88212" + die "Please re-emerge your KDE with USE=xscreensaver" + fi + fi +} + src_unpack() { unpack ${A} EPATCH_OPTS="-d ${S}" epatch ${FILESDIR}/${PN}-0.7.4-kdedesktop.patch |