Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-apps/kdeartwork-weatherwallpapers/, ...
Date: Sun, 20 Dec 2015 15:48:00
Message-Id: 1450626454.77a66a86deea6c11b681437bd66e38df7c93b280.kensington@gentoo
1 commit: 77a66a86deea6c11b681437bd66e38df7c93b280
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Sat Dec 19 13:36:07 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 20 15:47:34 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a66a86
7
8 kde-apps/kdeartwork-weatherwallpapers: Port to kf5
9
10 Package-Manager: portage-2.2.24
11
12 ...rtwork-weatherwallpapers-15.08.3-kf5-port.patch | 49 ++++++++++++++++++++++
13 .../kdeartwork-weatherwallpapers-15.08.3-r1.ebuild | 31 ++++++++++++++
14 2 files changed, 80 insertions(+)
15
16 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
17 new file mode 100644
18 index 0000000..925560d
19 --- /dev/null
20 +++ b/kde-apps/kdeartwork-weatherwallpapers/files/kdeartwork-weatherwallpapers-15.08.3-kf5-port.patch
21 @@ -0,0 +1,49 @@
22 +--- a/CMakeLists.txt 2013-10-18 18:04:24.000000000 +0200
23 ++++ b/CMakeLists.txt 2015-12-19 14:20:50.523356947 +0100
24 +@@ -3,9 +3,14 @@
25 + set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
26 +
27 + # search packages used by KDE
28 +-find_package(KDE4 REQUIRED)
29 +-include (KDE4Defaults)
30 +-include (MacroLibrary)
31 ++cmake_minimum_required(VERSION 2.8.12)
32 ++
33 ++find_package(ECM 0.0.9 REQUIRED NO_MODULE)
34 ++set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
35 ++
36 ++include(KDEInstallDirs)
37 ++include(KDECMakeSettings)
38 ++include(ECMOptionalAddSubdirectory)
39 +
40 + add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
41 + add_definitions( -DQT_NO_CAST_FROM_ASCII )
42 +@@ -14,18 +19,17 @@
43 + include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
44 +
45 +
46 +-macro_optional_add_subdirectory(ColorSchemes)
47 +-macro_optional_add_subdirectory(IconThemes)
48 +-macro_optional_add_subdirectory(emoticons)
49 +-macro_optional_add_subdirectory(kscreensaver)
50 ++ecm_optional_add_subdirectory(ColorSchemes)
51 ++ecm_optional_add_subdirectory(IconThemes)
52 ++ecm_optional_add_subdirectory(emoticons)
53 ++ecm_optional_add_subdirectory(kscreensaver)
54 + if (Q_WS_X11)
55 +- macro_optional_add_subdirectory(kwin-styles)
56 ++ ecm_optional_add_subdirectory(kwin-styles)
57 + endif (Q_WS_X11)
58 +-macro_optional_add_subdirectory(styles)
59 +-macro_optional_add_subdirectory(wallpapers)
60 +-macro_optional_add_subdirectory(HighResolutionWallpapers)
61 +-macro_optional_add_subdirectory(WeatherWallpapers)
62 +-macro_optional_add_subdirectory(desktopthemes)
63 ++ecm_optional_add_subdirectory(styles)
64 ++ecm_optional_add_subdirectory(wallpapers)
65 ++ecm_optional_add_subdirectory(HighResolutionWallpapers)
66 ++ecm_optional_add_subdirectory(WeatherWallpapers)
67 ++ecm_optional_add_subdirectory(desktopthemes)
68 +
69 +-macro_display_feature_log()
70 +
71
72 diff --git a/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r1.ebuild b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r1.ebuild
73 new file mode 100644
74 index 0000000..5adef36
75 --- /dev/null
76 +++ b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r1.ebuild
77 @@ -0,0 +1,31 @@
78 +# Copyright 1999-2015 Gentoo Foundation
79 +# Distributed under the terms of the GNU General Public License v2
80 +# $Id$
81 +
82 +EAPI=5
83 +
84 +KMNAME="kdeartwork"
85 +KDE_AUTODEPS="false"
86 +KDE_SCM="svn"
87 +inherit kde5
88 +
89 +DESCRIPTION="Weather aware wallpapers. Changes with weather outside"
90 +KEYWORDS="~amd64 ~x86"
91 +IUSE=""
92 +
93 +DEPEND="$(add_frameworks_dep extra-cmake-modules)"
94 +RDEPEND="
95 + $(add_kdeapps_dep kdeartwork-wallpapers)
96 + !kde-apps/kdeartwork-weatherwallpapers:4
97 +"
98 +
99 +PATCHES=( "${FILESDIR}/${P}-kf5-port.patch" )
100 +
101 +src_configure() {
102 + local mycmakeargs=(
103 + -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
104 + -DBUILD_WeatherWallpapers=TRUE
105 + )
106 +
107 + kde5_src_configure
108 +}