Skip to content

Commit

Permalink
kde-*: Merge "'Port' kde-wallpapers to kf5, [...]"
Browse files Browse the repository at this point in the history
Pull-Request: gentoo#59
  • Loading branch information
mgorny committed Oct 4, 2015
2 parents 06c3348 + e93828f commit 2a66e36
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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)

3 changes: 3 additions & 0 deletions kde-apps/kde-wallpapers/kde-wallpapers-15.08.0.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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" )

Expand Down
3 changes: 3 additions & 0 deletions kde-apps/kde-wallpapers/kde-wallpapers-15.08.1.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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" )

Expand Down
2 changes: 1 addition & 1 deletion kde-base/kdebase-startkde/kdebase-startkde-4.11.22.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ IUSE="+wallpapers"
RDEPEND="
$(add_kdebase_dep kcminit)
$(add_kdeapps_dep kdebase-runtime-meta)
wallpapers? ( $(add_kdeapps_dep kde-wallpapers) )
wallpapers? ( || ( $(add_kdeapps_dep kde-wallpapers) kde-apps/kde-wallpapers:5 ) )
$(add_kdeapps_dep kfmclient)
$(add_kdeapps_dep knotify)
$(add_kdeapps_dep kreadconfig)
Expand Down

0 comments on commit 2a66e36

Please sign in to comment.