diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-17 18:49:34 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-17 18:49:34 +0200 |
commit | c824c3a371a0909bcde90b960d4d6dadf9a880ce (patch) | |
tree | 92de1d03dfc20ba24017e71a97aeacceda950a29 /kde-plasma/oxygen | |
parent | profiles: USE mask LUA for www-servers/nginx on ppc 64bit userland (diff) | |
download | gentoo-c824c3a371a0909bcde90b960d4d6dadf9a880ce.tar.gz gentoo-c824c3a371a0909bcde90b960d4d6dadf9a880ce.tar.bz2 gentoo-c824c3a371a0909bcde90b960d4d6dadf9a880ce.zip |
kde-plasma: Add KDE Plasma 5.11.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'kde-plasma/oxygen')
-rw-r--r-- | kde-plasma/oxygen/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/oxygen/oxygen-5.11.1.ebuild | 91 |
2 files changed, 92 insertions, 0 deletions
diff --git a/kde-plasma/oxygen/Manifest b/kde-plasma/oxygen/Manifest index 9a02d8e80aa4..5e98e398d7a7 100644 --- a/kde-plasma/oxygen/Manifest +++ b/kde-plasma/oxygen/Manifest @@ -1,2 +1,3 @@ DIST oxygen-5.10.5.tar.xz 4468276 SHA256 a97a01d0db02b4b1574f5652a9ff1ffef84b085ed67c2b8f68b3818d56d6315c SHA512 176db69036a3da47544075b9b83059f48d6037be21095ffc622811982bf32ece357a37f501f0528abf6ddd974c5c7d680474c325b752bd2f425c81a33fe94f71 WHIRLPOOL e7218e619045d6df5262f478a1962ab1e4393889ba182912758bf0303a00e09b3efef2ec6e37190fce7c62fd14352afad0142b6edc2ffabf68e784ecc624b9f1 DIST oxygen-5.11.0.tar.xz 4464720 SHA256 205680de697e327096cce06a3895276f0019121ac6018add4da1be95b1779319 SHA512 36706266dbdbed13557080574b42b4eb84a3c5884298808a692a5885884f8457a18d2058b1dc90123e5affef097a158b8e5e4faa81192743ac73f70106e6f1c0 WHIRLPOOL dc9cfc4928f791eb01aa64a173c08fdb7b90b43d7ea584709dd1f339f75017426621d9de2d49165c105d5e44eda7bb3e79e508460beeae3b9a69ed6700560c9b +DIST oxygen-5.11.1.tar.xz 4464660 SHA256 3f0544c0376ac98f063dca14f7c0414a69cff775b1e67e4033922d5630a17e2c SHA512 9d3881e6b818a0a80d156a4db9b8b89a40f99bf97ca3b177498d8adbf5f34cb8a8683097dfbb8001c9378f8b2493c05001655c27fc3b41bde1f1b3f310c82322 WHIRLPOOL 53da73124fa2113ca2527880b2030a1fece716e0f7ccd89befeac4ee645e27aceadbe5aeef5b296ebc2492d453bbbff3c1cc7b1a029875331fb706ada26e5ba8 diff --git a/kde-plasma/oxygen/oxygen-5.11.1.ebuild b/kde-plasma/oxygen/oxygen-5.11.1.ebuild new file mode 100644 index 000000000000..322e8762a9df --- /dev/null +++ b/kde-plasma/oxygen/oxygen-5.11.1.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 +} |