summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-07-18 22:00:32 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2017-07-18 22:00:58 +0200
commit154e8fb9324bda4fa1a364bc67785caa39d97c4c (patch)
treea41a34d2274714f7e726119a69477fd69ab98827 /kde-plasma/oxygen
parentdev-lang/julia: add new ebuild for 0.6.0 (diff)
downloadgentoo-154e8fb9324bda4fa1a364bc67785caa39d97c4c.tar.gz
gentoo-154e8fb9324bda4fa1a364bc67785caa39d97c4c.tar.bz2
gentoo-154e8fb9324bda4fa1a364bc67785caa39d97c4c.zip
kde-plasma: Add KDE Plasma 5.10.4
Package-Manager: Portage-2.3.6, Repoman-2.3.1
Diffstat (limited to 'kde-plasma/oxygen')
-rw-r--r--kde-plasma/oxygen/Manifest1
-rw-r--r--kde-plasma/oxygen/oxygen-5.10.4.ebuild91
2 files changed, 92 insertions, 0 deletions
diff --git a/kde-plasma/oxygen/Manifest b/kde-plasma/oxygen/Manifest
index 7a92eb0d74b6..fdb849f71fb4 100644
--- a/kde-plasma/oxygen/Manifest
+++ b/kde-plasma/oxygen/Manifest
@@ -1,2 +1,3 @@
DIST oxygen-5.10.3.tar.xz 4464960 SHA256 9b3a92c8f0be7fc9f24d2fd834cd1942f410d122bf064362d26211446daa581e SHA512 9b6b221b9c039e14f780c6073d5a0fad53b15b48c000aae5abdd615d01d4d8829556f8dc30b1dfd0d7b560942a70882fbcc8fdf21f6317f476037126d43c00ba WHIRLPOOL 1df38b847e07d3fa6e7c575365de4e8a8db7b9d1ccced95c1eeabd18d094034364b011357e4ed5f1a89635af14843bf18280ac3458660c3f334588b61081bcca
+DIST oxygen-5.10.4.tar.xz 4469784 SHA256 6d467fe31704b8efb1405c6b3a3ac7cc6877388886ec907b28af8d71e74e3742 SHA512 b6714e2800f2a7f09e0ed96747344b1f65a8977f60b5a685d4eab6b43e126513b3d7a638a286ed2e144f2b68311fe54c1e9930550c70f2382112a14a22c79de2 WHIRLPOOL 26cb5a3fea072f4f22a61b13fccd29485b6739113a74f31341928ef15d9da4dff1181cd4b45089cd6f430ce5e4835cfe06202ca205732ca1dc24e2dc515ebbb3
DIST oxygen-5.9.5.tar.xz 4466012 SHA256 e3930de3af907a58a72b15849fc205751f6acc904a3e147df0eb20f4bc6fe35c SHA512 54e70abad2d4f11e2c28d9aecda9404c61c05727148495263860380b577c8a7e514e3d6efbedbc3fadb757775b240d5b151c95cc9bb3f64af3a017c2362c01e1 WHIRLPOOL 13c521893e7a4f2e3a5e30e7fd21aa4909c2bbace35d581e45f0b7a7f5b4d52384ae5d6383ba3abe4e2c2b71f3112c76e2f492465e30780dc8585eee41b8aedb
diff --git a/kde-plasma/oxygen/oxygen-5.10.4.ebuild b/kde-plasma/oxygen/oxygen-5.10.4.ebuild
new file mode 100644
index 000000000000..322e8762a9df
--- /dev/null
+++ b/kde-plasma/oxygen/oxygen-5.10.4.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit kde5 multibuild
+
+DESCRIPTION="Oxygen visual style for the Plasma desktop"
+HOMEPAGE="https://projects.kde.org/projects/kde/workspace/oxygen"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="qt4 wayland"
+
+COMMON_DEPEND="
+ $(add_frameworks_dep frameworkintegration)
+ $(add_frameworks_dep kcmutils)
+ $(add_frameworks_dep kcompletion)
+ $(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)
+ $(add_qt_dep qtdbus)
+ $(add_qt_dep qtdeclarative)
+ $(add_qt_dep qtgui)
+ $(add_qt_dep qtwidgets)
+ $(add_qt_dep qtx11extras)
+ x11-libs/libxcb
+ qt4? (
+ >=dev-qt/qtcore-4.8.7-r2:4
+ >=dev-qt/qtdbus-4.8.7:4
+ >=dev-qt/qtgui-4.8.7:4
+ kde-frameworks/kdelibs:4
+ x11-libs/libX11
+ )
+ wayland? ( $(add_frameworks_dep kwayland) )
+"
+DEPEND="${COMMON_DEPEND}
+ $(add_frameworks_dep kservice)
+ qt4? (
+ dev-util/automoc:0
+ virtual/pkgconfig
+ )
+"
+RDEPEND="${COMMON_DEPEND}
+ $(add_plasma_dep kde-cli-tools)
+ qt4? (
+ !kde-plasma/kstyles:4
+ !kde-plasma/liboxygenstyle:4
+ )
+ !kde-plasma/kdebase-cursors:4
+"
+
+pkg_setup() {
+ if use qt4 && [[ $(gcc-major-version) -lt 5 ]] ; then
+ ewarn "A GCC version older than 5 was detected. There may be trouble. See also Gentoo bug #595618"
+ fi
+
+ kde5_pkg_setup
+ MULTIBUILD_VARIANTS=( kf5 $(usev qt4) )
+}
+
+src_configure() {
+ myconfigure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package wayland KF5Wayland)
+ )
+
+ 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_test() {
+ multibuild_foreach_variant kde5_src_test
+}
+
+src_install() {
+ multibuild_foreach_variant kde5_src_install
+}