diff options
author | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-01-18 00:34:53 +0000 |
---|---|---|
committer | Ingmar Vanhassel <ingmar@gentoo.org> | 2008-01-18 00:34:53 +0000 |
commit | 4cacc6dee6cb396b1e04899bca46ee0b03107d94 (patch) | |
tree | 56ad213bffa777514bce258968e3e5f4e76b9bff /kde-base/kscreensaver | |
parent | Fxied to work with ocaml USE flag. #204819 (diff) | |
download | historical-4cacc6dee6cb396b1e04899bca46ee0b03107d94.tar.gz historical-4cacc6dee6cb396b1e04899bca46ee0b03107d94.tar.bz2 historical-4cacc6dee6cb396b1e04899bca46ee0b03107d94.zip |
Added KDE 4.0.0's kscreensaver.
Package-Manager: portage-2.1.4
Diffstat (limited to 'kde-base/kscreensaver')
-rw-r--r-- | kde-base/kscreensaver/ChangeLog | 10 | ||||
-rw-r--r-- | kde-base/kscreensaver/files/digest-kscreensaver-4.0.0 | 3 | ||||
-rw-r--r-- | kde-base/kscreensaver/files/kdebase-4.0.0-pam-optional.patch | 29 | ||||
-rw-r--r-- | kde-base/kscreensaver/kscreensaver-4.0.0.ebuild | 33 |
4 files changed, 73 insertions, 2 deletions
diff --git a/kde-base/kscreensaver/ChangeLog b/kde-base/kscreensaver/ChangeLog index dbac305dab11..7bf77764a528 100644 --- a/kde-base/kscreensaver/ChangeLog +++ b/kde-base/kscreensaver/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kscreensaver -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kscreensaver/ChangeLog,v 1.73 2007/10/19 23:29:46 philantrop Exp $ +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/kde-base/kscreensaver/ChangeLog,v 1.74 2008/01/18 00:34:52 ingmar Exp $ + +*kscreensaver-4.0.0 (18 Jan 2008) + + 18 Jan 2008; Ingmar Vanhassel <ingmar@gentoo.org> + +files/kdebase-4.0.0-pam-optional.patch, +kscreensaver-4.0.0.ebuild: + Added KDE 4.0.0's kscreensaver. *kscreensaver-3.5.8 (19 Oct 2007) diff --git a/kde-base/kscreensaver/files/digest-kscreensaver-4.0.0 b/kde-base/kscreensaver/files/digest-kscreensaver-4.0.0 new file mode 100644 index 000000000000..62148a2dcffb --- /dev/null +++ b/kde-base/kscreensaver/files/digest-kscreensaver-4.0.0 @@ -0,0 +1,3 @@ +MD5 f3d2155ff5ff7472a8884bd3f31bff16 kdebase-workspace-4.0.0.tar.bz2 29792206 +RMD160 bd1f3cb49b6ce0b35a918ffdce60ca3f733fdf06 kdebase-workspace-4.0.0.tar.bz2 29792206 +SHA256 8fb9f077001256c86ad097eb4fc4f6641c6e9af39e96fc34ef4d52ace4b94f23 kdebase-workspace-4.0.0.tar.bz2 29792206 diff --git a/kde-base/kscreensaver/files/kdebase-4.0.0-pam-optional.patch b/kde-base/kscreensaver/files/kdebase-4.0.0-pam-optional.patch new file mode 100644 index 000000000000..6fb54f05c547 --- /dev/null +++ b/kde-base/kscreensaver/files/kdebase-4.0.0-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.0.ebuild b/kde-base/kscreensaver/kscreensaver-4.0.0.ebuild new file mode 100644 index 000000000000..0d9139c2f59f --- /dev/null +++ b/kde-base/kscreensaver/kscreensaver-4.0.0.ebuild @@ -0,0 +1,33 @@ +# 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.0.ebuild,v 1.1 2008/01/18 00:34:52 ingmar Exp $ + +EAPI="1" + +KMNAME=kdebase-workspace +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 +} |