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-wallpapers/files/, kde-apps/kdeartwork-wallpapers/
Date: Sun, 20 Dec 2015 15:47:59
Message-Id: 1450626453.5ffecc68990bf593ce07f1ac1a462d254c419e02.kensington@gentoo
1 commit: 5ffecc68990bf593ce07f1ac1a462d254c419e02
2 Author: Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
3 AuthorDate: Sat Dec 19 13:31:03 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 20 15:47:33 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffecc68
7
8 kde-apps/kdeartwork-wallpapers: Port to kf5
9
10 Package-Manager: portage-2.2.24
11
12 .../kdeartwork-wallpapers-15.08.3-kf5-port.patch | 49 ++++++++++++++++++++++
13 .../kdeartwork-wallpapers-15.08.3-r1.ebuild | 31 ++++++++++++++
14 2 files changed, 80 insertions(+)
15
16 diff --git a/kde-apps/kdeartwork-wallpapers/files/kdeartwork-wallpapers-15.08.3-kf5-port.patch b/kde-apps/kdeartwork-wallpapers/files/kdeartwork-wallpapers-15.08.3-kf5-port.patch
17 new file mode 100644
18 index 0000000..925560d
19 --- /dev/null
20 +++ b/kde-apps/kdeartwork-wallpapers/files/kdeartwork-wallpapers-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-wallpapers/kdeartwork-wallpapers-15.08.3-r1.ebuild b/kde-apps/kdeartwork-wallpapers/kdeartwork-wallpapers-15.08.3-r1.ebuild
73 new file mode 100644
74 index 0000000..20dc324
75 --- /dev/null
76 +++ b/kde-apps/kdeartwork-wallpapers/kdeartwork-wallpapers-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 +RESTRICT="binchecks strip"
85 +
86 +KMNAME="kdeartwork"
87 +KDE_AUTODEPS="false"
88 +KDE_SCM="svn"
89 +inherit kde5
90 +
91 +DESCRIPTION="Wallpapers from kde"
92 +KEYWORDS="~amd64 ~x86"
93 +IUSE=""
94 +
95 +DEPEND="$(add_frameworks_dep extra-cmake-modules)"
96 +RDEPEND="!kde-apps/kdeartwork-wallpapers:4"
97 +
98 +PATCHES=( "${FILESDIR}/${P}-kf5-port.patch" )
99 +
100 +src_configure() {
101 + local mycmakeargs=(
102 + -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
103 + -DBUILD_wallpapers=TRUE
104 + -DBUILD_HighResolutionWallpapers=TRUE
105 + )
106 +
107 + kde5_src_configure
108 +}