kde-apps/kde-wallpapers: Unconditionally remove conflicting files
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 27 Mar 2016 00:50:03 +0000 (01:50 +0100)
committerMichael Palimaka <kensington@gentoo.org>
Thu, 7 Apr 2016 13:22:19 +0000 (23:22 +1000)
Plasma-5.4 is gone, and anyone accidentally emerging this without having
plasma-workspace-wallpapers installed will probably get over one missing
wallpaper.

KDEInstallDirs calls query_qmake which requires qtcore.

Package-Manager: portage-2.2.27

kde-apps/kde-wallpapers/kde-wallpapers-15.08.3-r2.ebuild [new file with mode: 0644]

diff --git a/kde-apps/kde-wallpapers/kde-wallpapers-15.08.3-r2.ebuild b/kde-apps/kde-wallpapers/kde-wallpapers-15.08.3-r2.ebuild
new file mode 100644 (file)
index 0000000..d392afc
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KMNAME="kde-wallpapers"
+KDE_AUTODEPS="false"
+KDE_DEBUG="false"
+inherit kde5
+
+DESCRIPTION="KDE wallpapers"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+       $(add_frameworks_dep extra-cmake-modules)
+       $(add_qt_dep qtcore)
+"
+RDEPEND="!kde-apps/kde-wallpapers:4"
+
+PATCHES=( "${FILESDIR}/${PN}-15.08.0-kf5-port.patch" ) # bug 559156
+
+src_install() {
+       kde5_src_install
+       rm -r "${ED}"usr/share/wallpapers/Autumn || die
+}