kde-plasma/breeze: Fix breeze-dark icon theme
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>
Sun, 18 Oct 2015 22:25:05 +0000 (00:25 +0200)
committerMichael Palimaka <kensington@gentoo.org>
Mon, 19 Oct 2015 13:08:56 +0000 (00:08 +1100)
Package-Manager: portage-2.2.20.1

kde-plasma/breeze/breeze-5.4.2-r1.ebuild [new file with mode: 0644]
kde-plasma/breeze/files/breeze-5.4.2-fix-breeze-dark.patch [new file with mode: 0644]

diff --git a/kde-plasma/breeze/breeze-5.4.2-r1.ebuild b/kde-plasma/breeze/breeze-5.4.2-r1.ebuild
new file mode 100644 (file)
index 0000000..21bdadf
--- /dev/null
@@ -0,0 +1,66 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit kde5 multibuild
+
+DESCRIPTION="Breeze visual style for the Plasma desktop"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/breeze"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4"
+
+DEPEND="
+       $(add_frameworks_dep frameworkintegration)
+       $(add_frameworks_dep kcmutils)
+       $(add_frameworks_dep kconfig)
+       $(add_frameworks_dep kconfigwidgets)
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep kguiaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kwidgetsaddons)
+       $(add_frameworks_dep kwindowsystem)
+       $(add_plasma_dep kdecoration)
+       dev-qt/qtdbus:5
+       dev-qt/qtgui:5
+       dev-qt/qtwidgets:5
+       dev-qt/qtx11extras:5
+       x11-libs/libxcb
+       qt4? (
+               kde-base/kdelibs:4
+               x11-libs/libX11
+       )
+"
+RDEPEND="${DEPEND}
+       $(add_plasma_dep kde-cli-tools)
+"
+
+PATCHES=( "${FILESDIR}/${P}-fix-breeze-dark.patch" )
+
+pkg_setup() {
+       kde5_pkg_setup
+       MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
+}
+
+src_configure() {
+       myconfigure() {
+               local mycmakeargs=()
+
+               if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then
+                       mycmakeargs+=( -DUSE_KDE4=true )
+               fi
+
+               kde5_src_configure
+       }
+
+       multibuild_foreach_variant myconfigure
+}
+
+src_compile() {
+       multibuild_foreach_variant kde5_src_compile
+}
+
+src_install() {
+       multibuild_foreach_variant kde5_src_install
+}
diff --git a/kde-plasma/breeze/files/breeze-5.4.2-fix-breeze-dark.patch b/kde-plasma/breeze/files/breeze-5.4.2-fix-breeze-dark.patch
new file mode 100644 (file)
index 0000000..b6e7eab
--- /dev/null
@@ -0,0 +1,23 @@
+From: Harald Sitter <sitter@kde.org>
+Date: Mon, 05 Oct 2015 13:14:00 +0000
+Subject: Install emotes and mimtetypes directories of the dark icon theme
+X-Git-Url: http://quickgit.kde.org/?p=breeze.git&a=commitdiff&h=12d8b9a9907b28ba1cbaffc380f4eeae4de9774d
+---
+Install emotes and mimtetypes directories of the dark icon theme
+
+CCMAIL: kainz.a@gmail.com
+---
+
+
+--- a/icons-dark/CMakeLists.txt
++++ b/icons-dark/CMakeLists.txt
+@@ -11,7 +11,7 @@
+ 
+ ########### install files ###############
+ 
+-set( breeze_icon_dark_dirs  actions apps categories devices emblems places status)
++set( breeze_icon_dark_dirs  actions apps categories devices emblems emotes mimetypes places status)
+ 
+ 
+ set(BREEZE_INSTALL_DIR ${ICON_INSTALL_DIR}/breeze-dark)
+