summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2015-10-04 17:10:23 +0200
committerMichał Górny <mgorny@gentoo.org>2015-10-04 17:11:50 +0200
commit2a66e36e7a7e17f7a558d869eb8ad31779956ec9 (patch)
tree302e2e663d083720cdeb4de97f702b8197edd6a7 /kde-apps
parentdev-libs/gom: DEPEND on gdk-pixbuf unconditionally (diff)
parentkde-base/kdebase-startkde: RDEPEND on kde-apps/kde-wallpapers:5 alternatively (diff)
downloadgentoo-2a66e36e7a7e17f7a558d869eb8ad31779956ec9.tar.gz
gentoo-2a66e36e7a7e17f7a558d869eb8ad31779956ec9.tar.bz2
gentoo-2a66e36e7a7e17f7a558d869eb8ad31779956ec9.zip
kde-*: Merge "'Port' kde-wallpapers to kf5, [...]"
Pull-Request: https://github.com/gentoo/gentoo/pull/59
Diffstat (limited to 'kde-apps')
-rw-r--r--kde-apps/kde-wallpapers/files/kde-wallpapers-15.08.0-kf5-port.patch15
-rw-r--r--kde-apps/kde-wallpapers/kde-wallpapers-15.08.0.ebuild3
-rw-r--r--kde-apps/kde-wallpapers/kde-wallpapers-15.08.1.ebuild3
3 files changed, 21 insertions, 0 deletions
diff --git a/kde-apps/kde-wallpapers/files/kde-wallpapers-15.08.0-kf5-port.patch b/kde-apps/kde-wallpapers/files/kde-wallpapers-15.08.0-kf5-port.patch
new file mode 100644
index 000000000000..502837ce5295
--- /dev/null
+++ b/kde-apps/kde-wallpapers/files/kde-wallpapers-15.08.0-kf5-port.patch
@@ -0,0 +1,15 @@
+--- a/CMakeLists.txt 2015-08-30 14:18:57.169314811 +0200
++++ b/CMakeLists.txt 2015-08-30 14:17:34.534347890 +0200
+@@ -1,5 +1,10 @@
+-find_package(KDE4 REQUIRED)
+-include(KDE4Defaults)
++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)
+
+ install(DIRECTORY Ariya DESTINATION ${WALLPAPER_INSTALL_DIR} PATTERN .svn EXCLUDE)
+
diff --git a/kde-apps/kde-wallpapers/kde-wallpapers-15.08.0.ebuild b/kde-apps/kde-wallpapers/kde-wallpapers-15.08.0.ebuild
index 8e2328c85f83..96e4903d3019 100644
--- a/kde-apps/kde-wallpapers/kde-wallpapers-15.08.0.ebuild
+++ b/kde-apps/kde-wallpapers/kde-wallpapers-15.08.0.ebuild
@@ -13,8 +13,11 @@ DESCRIPTION="KDE wallpapers"
KEYWORDS="~amd64 ~x86"
IUSE=""
+DEPEND="$(add_frameworks_dep extra-cmake-modules)"
RDEPEND="!kde-apps/kde-wallpapers:4"
+PATCHES=( "${FILESDIR}/${PN}-15.08.0-kf5-port.patch" ) # bug 559156
+
src_configure() {
local mycmakeargs=( -DWALLPAPER_INSTALL_DIR="${EPREFIX}/usr/share/wallpapers" )
diff --git a/kde-apps/kde-wallpapers/kde-wallpapers-15.08.1.ebuild b/kde-apps/kde-wallpapers/kde-wallpapers-15.08.1.ebuild
index 8e2328c85f83..96e4903d3019 100644
--- a/kde-apps/kde-wallpapers/kde-wallpapers-15.08.1.ebuild
+++ b/kde-apps/kde-wallpapers/kde-wallpapers-15.08.1.ebuild
@@ -13,8 +13,11 @@ DESCRIPTION="KDE wallpapers"
KEYWORDS="~amd64 ~x86"
IUSE=""
+DEPEND="$(add_frameworks_dep extra-cmake-modules)"
RDEPEND="!kde-apps/kde-wallpapers:4"
+PATCHES=( "${FILESDIR}/${PN}-15.08.0-kf5-port.patch" ) # bug 559156
+
src_configure() {
local mycmakeargs=( -DWALLPAPER_INSTALL_DIR="${EPREFIX}/usr/share/wallpapers" )