summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2010-12-02 21:18:24 +0000
committerAlexey Shvetsov <alexxy@gentoo.org>2010-12-02 21:18:24 +0000
commitb0b482a63f92c732c21a7a05f6e91ed9d13d91e6 (patch)
tree5874d7078782459c535f58fd83e3acaff5ea7f72 /kde-base/kdeartwork-kscreensaver
parentMask KDE SC 4.5 due to missing deps on ppc ppc64 and x86-fbsd. bug #336158 (diff)
downloadgentoo-2-b0b482a63f92c732c21a7a05f6e91ed9d13d91e6.tar.gz
gentoo-2-b0b482a63f92c732c21a7a05f6e91ed9d13d91e6.tar.bz2
gentoo-2-b0b482a63f92c732c21a7a05f6e91ed9d13d91e6.zip
[kde-base] Add KDE SC 4.5.4
(Portage version: 2.2.0_alpha6_p10/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'kde-base/kdeartwork-kscreensaver')
-rw-r--r--kde-base/kdeartwork-kscreensaver/ChangeLog8
-rw-r--r--kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.5.4.ebuild47
2 files changed, 54 insertions, 1 deletions
diff --git a/kde-base/kdeartwork-kscreensaver/ChangeLog b/kde-base/kdeartwork-kscreensaver/ChangeLog
index 6a8b3e4c843d..43722ac7f9ed 100644
--- a/kde-base/kdeartwork-kscreensaver/ChangeLog
+++ b/kde-base/kdeartwork-kscreensaver/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kdeartwork-kscreensaver
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork-kscreensaver/ChangeLog,v 1.175 2010/11/03 16:30:49 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork-kscreensaver/ChangeLog,v 1.176 2010/12/02 21:18:05 alexxy Exp $
+
+*kdeartwork-kscreensaver-4.5.4 (02 Dec 2010)
+
+ 02 Dec 2010; Alexey Shvetsov <alexxy@gentoo.org>
+ +kdeartwork-kscreensaver-4.5.4.ebuild:
+ Version bump KDE SC 4.5.4
*kdeartwork-kscreensaver-4.5.3 (03 Nov 2010)
diff --git a/kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.5.4.ebuild b/kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.5.4.ebuild
new file mode 100644
index 000000000000..2b31fc789109
--- /dev/null
+++ b/kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.5.4.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.5.4.ebuild,v 1.1 2010/12/02 21:18:05 alexxy Exp $
+
+EAPI="3"
+
+KMMODULE="kscreensaver"
+KMNAME="kdeartwork"
+OPENGL_REQUIRED="optional"
+inherit kde4-meta
+
+DESCRIPTION="Extra screensavers for kde"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug +eigen opengl xscreensaver"
+
+# libkworkspace - only as a stub to provide KDE4Workspace config
+RDEPEND="
+ $(add_kdebase_dep kscreensaver 'opengl?')
+ $(add_kdebase_dep libkworkspace)
+ media-libs/libart_lgpl
+ opengl? ( virtual/opengl )
+ xscreensaver? ( x11-misc/xscreensaver )
+"
+DEPEND="${RDEPEND}
+ eigen? ( dev-cpp/eigen:2 )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-xscreensaver.patch" )
+
+src_prepare() {
+ sed -i -e 's/${KDE4WORKSPACE_KSCREENSAVER_LIBRARY}/kscreensaver/g' \
+ kscreensaver/{kdesavers{,/asciiquarium},kpartsaver}/CMakeLists.txt \
+ || die "Failed to patch CMake files"
+
+ kde4-meta_src_prepare
+}
+
+src_configure() {
+ mycmakeargs=(
+ -DKSCREENSAVER_SOUND_SUPPORT=ON
+ $(cmake-utils_use_with eigen Eigen2)
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with xscreensaver)
+ )
+
+ kde4-meta_src_configure
+}