summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWulf Krueger <philantrop@gentoo.org>2008-03-10 23:51:41 +0000
committerWulf Krueger <philantrop@gentoo.org>2008-03-10 23:51:41 +0000
commit6d250153c0dd7442b9ea80955dfc0084d91605bc (patch)
treeab68ad5738000e861bd3ebcccc2d9f29bcb92f42 /kde-base/kscreensaver
parentVersion bump to KDE 4.0.2. (diff)
downloadgentoo-2-6d250153c0dd7442b9ea80955dfc0084d91605bc.tar.gz
gentoo-2-6d250153c0dd7442b9ea80955dfc0084d91605bc.tar.bz2
gentoo-2-6d250153c0dd7442b9ea80955dfc0084d91605bc.zip
Version bump to KDE 4.0.2.
(Portage version: 2.1.4.4)
Diffstat (limited to 'kde-base/kscreensaver')
-rw-r--r--kde-base/kscreensaver/ChangeLog8
-rw-r--r--kde-base/kscreensaver/files/kdebase-4.0.2-pam-optional.patch29
-rw-r--r--kde-base/kscreensaver/kscreensaver-4.0.2.ebuild34
3 files changed, 70 insertions, 1 deletions
diff --git a/kde-base/kscreensaver/ChangeLog b/kde-base/kscreensaver/ChangeLog
index 3469f02691c0..bc4f888c63b4 100644
--- a/kde-base/kscreensaver/ChangeLog
+++ b/kde-base/kscreensaver/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-base/kscreensaver
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-base/kscreensaver/ChangeLog,v 1.83 2008/03/04 03:09:08 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kscreensaver/ChangeLog,v 1.84 2008/03/10 23:51:40 philantrop Exp $
+
+*kscreensaver-4.0.2 (10 Mar 2008)
+
+ 10 Mar 2008; Wulf C. Krueger <philantrop@gentoo.org>
+ +files/kdebase-4.0.2-pam-optional.patch, +kscreensaver-4.0.2.ebuild:
+ Version bump to KDE 4.0.2
04 Mar 2008; Jeroen Roovers <jer@gentoo.org> kscreensaver-3.5.8.ebuild,
kscreensaver-3.5.9.ebuild, kscreensaver-4.0.1.ebuild:
diff --git a/kde-base/kscreensaver/files/kdebase-4.0.2-pam-optional.patch b/kde-base/kscreensaver/files/kdebase-4.0.2-pam-optional.patch
new file mode 100644
index 000000000000..6fb54f05c547
--- /dev/null
+++ b/kde-base/kscreensaver/files/kdebase-4.0.2-pam-optional.patch
@@ -0,0 +1,29 @@
+diff --git a/kdebase/workspace/cmake/modules/FindPAM.cmake b/kdebase/workspace/cmake/modules/FindPAM.cmake
+index 3499836..cd1c2bb 100644
+--- a/kdebase/workspace/cmake/modules/FindPAM.cmake
++++ b/kdebase/workspace/cmake/modules/FindPAM.cmake
+@@ -5,6 +5,8 @@
+ # PAM_INCLUDE_DIR - the pam include directory
+ # PAM_LIBRARIES - libpam library
+
++if (WITH_PAM)
++
+ if (PAM_INCLUDE_DIR AND PAM_LIBRARY)
+ # Already in cache, be silent
+ set(PAM_FIND_QUIETLY TRUE)
+@@ -72,3 +74,5 @@ else (PAM_FOUND)
+ endif (PAM_FOUND)
+
+ mark_as_advanced(PAM_INCLUDE_DIR PAM_LIBRARY DL_LIBRARY PAM_MESSAGE_CONST)
++
++endif (WITH_PAM)
+diff --git a/kdebase/workspace/cmake/modules/UnixAuth.cmake b/kdebase/workspace/cmake/modules/UnixAuth.cmake
+index ed8ab9e..ce3bcc2 100644
+--- a/kdebase/workspace/cmake/modules/UnixAuth.cmake
++++ b/kdebase/workspace/cmake/modules/UnixAuth.cmake
+@@ -1,4 +1,4 @@
+-find_package(PAM)
++macro_optional_find_package(PAM)
+
+ set(UNIXAUTH_LIBRARIES)
+ set(UNIXAUTH_INCLUDE_DIRS)
diff --git a/kde-base/kscreensaver/kscreensaver-4.0.2.ebuild b/kde-base/kscreensaver/kscreensaver-4.0.2.ebuild
new file mode 100644
index 000000000000..5e8fdee696f2
--- /dev/null
+++ b/kde-base/kscreensaver/kscreensaver-4.0.2.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/kde-base/kscreensaver/kscreensaver-4.0.2.ebuild,v 1.1 2008/03/10 23:51:40 philantrop Exp $
+
+EAPI="1"
+
+KMNAME=kdebase-workspace
+OPENGL_REQUIRED="optional"
+inherit kde4-meta
+
+DESCRIPTION="KDE screensaver framework"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug opengl pam"
+
+COMMONDEPEND="dev-libs/glib
+ >=x11-libs/libxklavier-3.2
+ >=x11-libs/libXrandr-1.2.1
+ x11-libs/libXtst
+ opengl? ( virtual/opengl )
+ pam? ( >=kde-base/kdebase-pam-7
+ sys-libs/pam )"
+DEPEND="${COMMONDEPEND}
+ x11-proto/randrproto"
+RDEPEND="${COMMONDEPEND}"
+
+PATCHES="${FILESDIR}/kdebase-${PV}-pam-optional.patch"
+
+src_compile() {
+ mycmakeargs="${mycmakeargs}
+ $(cmake-utils_use_with opengl OpenGL)
+ $(cmake-utils_use_with pam PAM)"
+
+ kde4-meta_src_compile
+}