diff options
author | Andreas Sturmlechner <andreas.sturmlechner@gmail.com> | 2015-12-19 14:36:07 +0100 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-12-21 02:47:34 +1100 |
commit | 77a66a86deea6c11b681437bd66e38df7c93b280 (patch) | |
tree | 644f902355173d80d58be86d97572c7b6249004d /kde-apps | |
parent | kde-apps/kdeartwork-wallpapers: Port to kf5 (diff) | |
download | gentoo-77a66a86deea6c11b681437bd66e38df7c93b280.tar.gz gentoo-77a66a86deea6c11b681437bd66e38df7c93b280.tar.bz2 gentoo-77a66a86deea6c11b681437bd66e38df7c93b280.zip |
kde-apps/kdeartwork-weatherwallpapers: Port to kf5
Package-Manager: portage-2.2.24
Diffstat (limited to 'kde-apps')
2 files changed, 80 insertions, 0 deletions
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 new file mode 100644 index 000000000000..925560d27414 --- /dev/null +++ b/kde-apps/kdeartwork-weatherwallpapers/files/kdeartwork-weatherwallpapers-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-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r1.ebuild b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-15.08.3-r1.ebuild new file mode 100644 index 000000000000..5adef3627bfc --- /dev/null +++ b/kde-apps/kdeartwork-weatherwallpapers/kdeartwork-weatherwallpapers-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 + +KMNAME="kdeartwork" +KDE_AUTODEPS="false" +KDE_SCM="svn" +inherit kde5 + +DESCRIPTION="Weather aware wallpapers. Changes with weather outside" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="$(add_frameworks_dep extra-cmake-modules)" +RDEPEND=" + $(add_kdeapps_dep kdeartwork-wallpapers) + !kde-apps/kdeartwork-weatherwallpapers:4 +" + +PATCHES=( "${FILESDIR}/${P}-kf5-port.patch" ) + +src_configure() { + local mycmakeargs=( + -DDISABLE_ALL_OPTIONAL_SUBDIRECTORIES=TRUE + -DBUILD_WeatherWallpapers=TRUE + ) + + kde5_src_configure +} |