summaryrefslogtreecommitdiff
path: root/kde-apps/kdeartwork-kscreensaver
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /kde-apps/kdeartwork-kscreensaver
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.xz
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'kde-apps/kdeartwork-kscreensaver')
-rw-r--r--kde-apps/kdeartwork-kscreensaver/Manifest1
-rw-r--r--kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-4.5.95-webcollage.patch11
-rw-r--r--kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-xscreensaver.patch48
-rw-r--r--kde-apps/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.14.3.ebuild46
-rw-r--r--kde-apps/kdeartwork-kscreensaver/metadata.xml9
5 files changed, 115 insertions, 0 deletions
diff --git a/kde-apps/kdeartwork-kscreensaver/Manifest b/kde-apps/kdeartwork-kscreensaver/Manifest
new file mode 100644
index 00000000000..172293cadd3
--- /dev/null
+++ b/kde-apps/kdeartwork-kscreensaver/Manifest
@@ -0,0 +1 @@
+DIST kdeartwork-4.14.3.tar.xz 140848704 SHA256 93dce7cbde334b31f07d7ebfcc00b3431695f685f8ccd9c8ef8f94d883f80ef4 SHA512 5b5b403adc9aca2258fd85d7577fdb960bba35dcf22340f79f2ebf26abdea908e35da767be8b20bf3fde4c62afa9f8a05b6df07661b750cc36054480850474fd WHIRLPOOL dac467bb7ca728efab21fb18ef5241f9cd382f8ae32156fb8e2946f1dff0d9d48a6e8a6b64bd8c1e2508cf10a3c89d986a30cc38612a4458763c42714c4d59a6
diff --git a/kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-4.5.95-webcollage.patch b/kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-4.5.95-webcollage.patch
new file mode 100644
index 00000000000..11ec11b5233
--- /dev/null
+++ b/kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-4.5.95-webcollage.patch
@@ -0,0 +1,11 @@
+diff -ruN kdeartwork-kscreensaver-4.5.95.orig/kscreensaver/kxsconfig/ScreenSavers/webcollage.desktop kdeartwork-kscreensaver-4.5.95/kscreensaver/kxsconfig/ScreenSavers/webcollage.desktop
+--- kdeartwork-kscreensaver-4.5.95.orig/kscreensaver/kxsconfig/ScreenSavers/webcollage.desktop 2010-09-27 21:52:40.000000000 +0200
++++ kdeartwork-kscreensaver-4.5.95/kscreensaver/kxsconfig/ScreenSavers/webcollage.desktop 2011-01-09 20:00:26.000000000 +0100
+@@ -6,6 +6,7 @@
+ TryExec=xscreensaver
+ Actions=InWindow;Root;Setup;
+ X-KDE-Category=Banners & Pictures
++X-KDE-Type=NotSafeForWork
+ Name=Web Collage
+ Name[ast]=Web Collage
+ Name[bg]=Уеб-колаж
diff --git a/kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-xscreensaver.patch b/kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-xscreensaver.patch
new file mode 100644
index 00000000000..3cc2bc65134
--- /dev/null
+++ b/kde-apps/kdeartwork-kscreensaver/files/kdeartwork-kscreensaver-xscreensaver.patch
@@ -0,0 +1,48 @@
+--- cmake/modules/FindXscreensaver.cmake
++++ cmake/modules/FindXscreensaver.cmake
+@@ -113,6 +113,45 @@
+ endif(XSCREENSAVER_DIR)
+ endif(NOT XSCREENSAVER_DIR)
+
++if(NOT XSCREENSAVER_DIR)
++FIND_PATH(XSCREENSAVER_DIR lib${LIB_SUFFIX}/misc/xscreensaver/deco
++ ${KDE4_INCLUDE_DIR}
++ /usr/
++ /usr/local/
++ /opt/local/
++ /usr/X11R6/
++ /opt/kde/
++ /opt/kde3/
++ /usr/kde/
++ /usr/local/kde/
++ /usr/local/xscreensaver/
++ /usr/openwin/lib/xscreensaver/
++ /etc/
++)
++if( XSCREENSAVER_DIR)
++ set(XSCREENSAVER_DIR ${XSCREENSAVER_DIR}/lib${LIB_SUFFIX}/misc/xscreensaver/)
++endif(XSCREENSAVER_DIR)
++endif(NOT XSCREENSAVER_DIR)
++
++if(NOT XSCREENSAVER_DIR)
++FIND_PATH(XSCREENSAVER_DIR lib/misc/xscreensaver/deco
++ ${KDE4_INCLUDE_DIR}
++ /usr/
++ /usr/local/
++ /opt/local/
++ /usr/X11R6/
++ /opt/kde/
++ /opt/kde3/
++ /usr/kde/
++ /usr/local/kde/
++ /usr/local/xscreensaver/
++ /usr/openwin/lib/xscreensaver/
++ /etc/
++)
++if( XSCREENSAVER_DIR)
++ set(XSCREENSAVER_DIR ${XSCREENSAVER_DIR}/lib/misc/xscreensaver/)
++endif(XSCREENSAVER_DIR)
++endif(NOT XSCREENSAVER_DIR)
+
+
+ set(XSCREENSAVER_CONFIG_DIR)
diff --git a/kde-apps/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.14.3.ebuild b/kde-apps/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.14.3.ebuild
new file mode 100644
index 00000000000..3948b3532e4
--- /dev/null
+++ b/kde-apps/kdeartwork-kscreensaver/kdeartwork-kscreensaver-4.14.3.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMMODULE="kscreensaver"
+KMNAME="kdeartwork"
+OPENGL_REQUIRED="optional"
+KDE_SCM="svn"
+inherit kde4-meta
+
+DESCRIPTION="Extra screensavers for kde"
+KEYWORDS="amd64 ~arm ppc ppc64 x86 ~amd64-linux ~x86-linux"
+IUSE="debug +eigen +kexiv2 xscreensaver"
+
+# libkworkspace - only as a stub to provide KDE4Workspace config
+RDEPEND="
+ $(add_kdebase_dep kscreensaver '' 4.11)
+ $(add_kdebase_dep libkworkspace '' 4.11)
+ media-libs/libart_lgpl
+ x11-libs/libX11
+ x11-libs/libXt
+ kexiv2? ( $(add_kdeapps_dep libkexiv2) )
+ virtual/glu
+ virtual/opengl
+ xscreensaver? ( x11-misc/xscreensaver )
+"
+DEPEND="${RDEPEND}
+ eigen? ( dev-cpp/eigen:2 )
+"
+
+PATCHES=( "${FILESDIR}/${PN}-xscreensaver.patch"
+ "${FILESDIR}/${PN}-4.5.95-webcollage.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DKSCREENSAVER_SOUND_SUPPORT=ON
+ -DOPENGL=ON
+ $(cmake-utils_use_with eigen Eigen2)
+ $(cmake-utils_use_with kexiv2)
+ $(cmake-utils_use_with xscreensaver)
+ )
+
+ kde4-meta_src_configure
+}
diff --git a/kde-apps/kdeartwork-kscreensaver/metadata.xml b/kde-apps/kdeartwork-kscreensaver/metadata.xml
new file mode 100644
index 00000000000..5d3b0797325
--- /dev/null
+++ b/kde-apps/kdeartwork-kscreensaver/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>kde</herd>
+ <use>
+ <flag name="eigen">Enable various arithmetic screensavers which use Eigen2 for computations.</flag>
+ <flag name="kexiv2">Enable image rotation based on exif tags with libkexiv2.</flag>
+ </use>
+</pkgmetadata>