public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: kde-apps/kdeartwork-wallpapers/files/, kde-apps/kdeartwork-wallpapers/
@ 2015-12-20 15:47 Michael Palimaka
  0 siblings, 0 replies; only message in thread
From: Michael Palimaka @ 2015-12-20 15:47 UTC (permalink / raw
  To: gentoo-commits

commit:     5ffecc68990bf593ce07f1ac1a462d254c419e02
Author:     Andreas Sturmlechner <andreas.sturmlechner <AT> gmail <DOT> com>
AuthorDate: Sat Dec 19 13:31:03 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Sun Dec 20 15:47:33 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ffecc68

kde-apps/kdeartwork-wallpapers: Port to kf5

Package-Manager: portage-2.2.24

 .../kdeartwork-wallpapers-15.08.3-kf5-port.patch   | 49 ++++++++++++++++++++++
 .../kdeartwork-wallpapers-15.08.3-r1.ebuild        | 31 ++++++++++++++
 2 files changed, 80 insertions(+)

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
new file mode 100644
index 0000000..925560d
--- /dev/null
+++ b/kde-apps/kdeartwork-wallpapers/files/kdeartwork-wallpapers-15.08.3-kf5-port.patch
@@ -0,0 +1,49 @@
+--- a/CMakeLists.txt	2013-10-18 18:04:24.000000000 +0200
++++ b/CMakeLists.txt	2015-12-19 14:20:50.523356947 +0100
+@@ -3,9 +3,14 @@
+ set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules )
+ 
+ # search packages used by KDE
+-find_package(KDE4 REQUIRED)
+-include (KDE4Defaults)
+-include (MacroLibrary)
++cmake_minimum_required(VERSION 2.8.12)
++
++find_package(ECM 0.0.9 REQUIRED NO_MODULE)
++set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
++
++include(KDEInstallDirs)
++include(KDECMakeSettings)
++include(ECMOptionalAddSubdirectory)
+ 
+ add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+ add_definitions( -DQT_NO_CAST_FROM_ASCII )
+@@ -14,18 +19,17 @@
+ include_directories (${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+ 
+ 
+-macro_optional_add_subdirectory(ColorSchemes)
+-macro_optional_add_subdirectory(IconThemes)
+-macro_optional_add_subdirectory(emoticons)
+-macro_optional_add_subdirectory(kscreensaver)
++ecm_optional_add_subdirectory(ColorSchemes)
++ecm_optional_add_subdirectory(IconThemes)
++ecm_optional_add_subdirectory(emoticons)
++ecm_optional_add_subdirectory(kscreensaver)
+ if (Q_WS_X11)
+-   macro_optional_add_subdirectory(kwin-styles)
++   ecm_optional_add_subdirectory(kwin-styles)
+ endif (Q_WS_X11)
+-macro_optional_add_subdirectory(styles)
+-macro_optional_add_subdirectory(wallpapers)
+-macro_optional_add_subdirectory(HighResolutionWallpapers)
+-macro_optional_add_subdirectory(WeatherWallpapers)
+-macro_optional_add_subdirectory(desktopthemes)
++ecm_optional_add_subdirectory(styles)
++ecm_optional_add_subdirectory(wallpapers)
++ecm_optional_add_subdirectory(HighResolutionWallpapers)
++ecm_optional_add_subdirectory(WeatherWallpapers)
++ecm_optional_add_subdirectory(desktopthemes)
+ 
+-macro_display_feature_log()
+ 

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
new file mode 100644
index 0000000..20dc324
--- /dev/null
+++ b/kde-apps/kdeartwork-wallpapers/kdeartwork-wallpapers-15.08.3-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+RESTRICT="binchecks strip"
+
+KMNAME="kdeartwork"
+KDE_AUTODEPS="false"
+KDE_SCM="svn"
+inherit kde5
+
+DESCRIPTION="Wallpapers from kde"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="$(add_frameworks_dep extra-cmake-modules)"
+RDEPEND="!kde-apps/kdeartwork-wallpapers:4"
+
+PATCHES=( "${FILESDIR}/${P}-kf5-port.patch" )
+
+src_configure() {
+	local mycmakeargs=(
+		-DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE
+		-DBUILD_wallpapers=TRUE
+		-DBUILD_HighResolutionWallpapers=TRUE
+	)
+
+	kde5_src_configure
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-12-20 15:47 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-20 15:47 [gentoo-commits] repo/gentoo:master commit in: kde-apps/kdeartwork-wallpapers/files/, kde-apps/kdeartwork-wallpapers/ Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox