Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde-sunset:master commit in: kde-apps/kdeartwork-weatherwallpapers/, ...
Date: Mon, 01 Aug 2016 18:30:28
Message-Id: 1470075772.53d16c52fd9899eeb10227ee54de92c2146e247b.johu@gentoo
1 commit: 53d16c52fd9899eeb10227ee54de92c2146e247b
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 1 18:22:52 2016 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 1 18:22:52 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/kde-sunset.git/commit/?id=53d16c52
7
8 kde-apps/kdeartwork-weatherwallpapers: Import latest from gentoo main tree
9
10 Package-Manager: portage-2.3.0
11
12 ...rtwork-weatherwallpapers-15.08.3-kf5-port.patch | 49 ++++++++++++++++++++++
13 .../kdeartwork-weatherwallpapers-15.08.3-r2.ebuild | 34 +++++++++++++++
14 .../kdeartwork-weatherwallpapers-15.08.3.ebuild | 18 ++++++++
15 3 files changed, 101 insertions(+)
16
17 diff --git a/kde-apps/kdeartwork-weatherwallpapers/files/kdeartwork-weatherwallpapers-15.08.3-kf5-port.patch b/kde-apps/kdeartwork-weatherwallpapers/files/kdeartwork-weatherwallpapers-15.08.3-kf5-port.patch
18 new file mode 100644
19 index 0000000..925560d
20 --- /dev/null
21 +++ b/kde-apps/kdeartwork-weatherwallpapers/files/kdeartwork-weatherwallpapers-15.08.3-kf5-port.patch
22 @@ -0,0 +1,49 @@
23 +--- a/CMakeLists.txt 2013-10-18 18:04:24.000000000 +0200
24 ++++ b/CMakeLists.txt 2015-12-19 14:20:50.523356947 +0100
25 +@@ -3,9 +3,14 @@
26 + set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
27 +
28 + # search packages used by KDE
29 +-find_package(KDE4 REQUIRED)
30 +-include (KDE4Defaults)
31 +-include (MacroLibrary)
32 ++cmake_minimum_required(VERSION 2.8.12)
33 ++
34 ++find_package(ECM 0.0.9 REQUIRED NO_MODULE)
35 ++set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
36 ++
37 ++include(KDEInstallDirs)
38 ++include(KDECMakeSettings)
39 ++include(ECMOptionalAddSubdirectory)
40 +
41 + add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
42 + add_definitions( -DQT_NO_CAST_FROM_ASCII )
43 +@@ -14,18 +19,17 @@
44 + include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
45 +
46 +
47 +-macro_optional_add_subdirectory(ColorSchemes)
48 +-macro_optional_add_subdirectory(IconThemes)
49 +-macro_optional_add_subdirectory(emoticons)
50 +-macro_optional_add_subdirectory(kscreensaver)
51 ++ecm_optional_add_subdirectory(ColorSchemes)
52 ++ecm_optional_add_subdirectory(IconThemes)
53 ++ecm_optional_add_subdirectory(emoticons)
54 ++ecm_optional_add_subdirectory(kscreensaver)
55 + if (Q_WS_X11)
56 +- macro_optional_add_subdirectory(kwin-styles)
57 ++ ecm_optional_add_subdirectory(kwin-styles)
58 + endif (Q_WS_X11)
59 +-macro_optional_add_subdirectory(styles)
60 +-macro_optional_add_subdirectory(wallpapers)
61 +-macro_optional_add_subdirectory(HighResolutionWallpapers)
62 +-macro_optional_add_subdirectory(WeatherWallpapers)
63 +-macro_optional_add_subdirectory(desktopthemes)
64 ++ecm_optional_add_subdirectory(styles)
65 ++ecm_optional_add_subdirectory(wallpapers)
66 ++ecm_optional_add_subdirectory(HighResolutionWallpapers)
67 ++ecm_optional_add_subdirectory(WeatherWallpapers)
68 ++ecm_optional_add_subdirectory(desktopthemes)
69 +
70 +-macro_display_feature_log()
71 +
72
73 diff --git a/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r2.ebuild b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r2.ebuild
74 new file mode 100644
75 index 0000000..11bf1eb
76 --- /dev/null
77 +++ b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r2.ebuild
78 @@ -0,0 +1,34 @@
79 +# Copyright 1999-2016 Gentoo Foundation
80 +# Distributed under the terms of the GNU General Public License v2
81 +# $Id$
82 +
83 +EAPI=6
84 +
85 +KMNAME="kdeartwork"
86 +KDE_AUTODEPS="false"
87 +KDE_DEBUG="false"
88 +inherit kde5
89 +
90 +DESCRIPTION="Weather aware wallpapers. Changes with weather outside"
91 +KEYWORDS="~amd64 ~x86"
92 +IUSE=""
93 +
94 +DEPEND="
95 + $(add_frameworks_dep extra-cmake-modules)
96 + $(add_qt_dep qtcore)
97 +"
98 +RDEPEND="
99 + $(add_kdeapps_dep kdeartwork-wallpapers)
100 + !kde-apps/kdeartwork-weatherwallpapers:4
101 +"
102 +
103 +PATCHES=( "${FILESDIR}/${P}-kf5-port.patch" )
104 +
105 +src_configure() {
106 + local mycmakeargs=(
107 + -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
108 + -DBUILD_WeatherWallpapers=TRUE
109 + )
110 +
111 + kde5_src_configure
112 +}
113
114 diff --git a/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3.ebuild b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3.ebuild
115 new file mode 100644
116 index 0000000..16214a4
117 --- /dev/null
118 +++ b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3.ebuild
119 @@ -0,0 +1,18 @@
120 +# Copyright 1999-2016 Gentoo Foundation
121 +# Distributed under the terms of the GNU General Public License v2
122 +# $Id$
123 +
124 +EAPI=5
125 +
126 +KMNAME="kdeartwork"
127 +KMMODULE="WeatherWallpapers"
128 +KDE_SCM="svn"
129 +inherit kde4-meta
130 +
131 +DESCRIPTION="Weather aware wallpapers. Changes with weather outside"
132 +KEYWORDS="~amd64 ~arm ~x86"
133 +IUSE=""
134 +
135 +RDEPEND="
136 + $(add_kdeapps_dep kdeartwork-wallpapers)
137 +"