diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-24 20:36:44 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-10-24 20:37:43 +0200 |
commit | fa5afa61befbe287b98df7f718e673c94b4a4c48 (patch) | |
tree | 69563062d82d932c21890904ed618166f149c359 /kde-plasma/oxygen | |
parent | sci-mathematics/why3-for-spark: Adding examples (diff) | |
download | gentoo-fa5afa61befbe287b98df7f718e673c94b4a4c48.tar.gz gentoo-fa5afa61befbe287b98df7f718e673c94b4a4c48.tar.bz2 gentoo-fa5afa61befbe287b98df7f718e673c94b4a4c48.zip |
kde-plasma: Add KDE Plasma 5.11.2
Package-Manager: Portage-2.3.12, 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.2.ebuild | 97 |
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-plasma/oxygen/Manifest b/kde-plasma/oxygen/Manifest index f5d72339d88b..916910d1e27a 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.1.tar.xz 4464660 SHA256 3f0544c0376ac98f063dca14f7c0414a69cff775b1e67e4033922d5630a17e2c SHA512 9d3881e6b818a0a80d156a4db9b8b89a40f99bf97ca3b177498d8adbf5f34cb8a8683097dfbb8001c9378f8b2493c05001655c27fc3b41bde1f1b3f310c82322 WHIRLPOOL 53da73124fa2113ca2527880b2030a1fece716e0f7ccd89befeac4ee645e27aceadbe5aeef5b296ebc2492d453bbbff3c1cc7b1a029875331fb706ada26e5ba8 +DIST oxygen-5.11.2.tar.xz 4472224 SHA256 21a9831d03c25955f5381fa8c27e0afa6b024e2c4bf355a982edd38305e0d3a2 SHA512 98cc4a51a222aab50e20126a8c08525473fa41d8a04f316fafc2a079f77c9024f68d6409e335c8ab50d09cebff2e77f806e48be8b6d6e2b5e1b81e28f432d114 WHIRLPOOL 9e6cc87090af17e71e390bf57caba3efc55908a6081dc8b30c97ddc078249532fa071e2a6effb251febf87169a597e94e22cbd7189062f4d24a9fd2adb278e6b diff --git a/kde-plasma/oxygen/oxygen-5.11.2.ebuild b/kde-plasma/oxygen/oxygen-5.11.2.ebuild new file mode 100644 index 000000000000..247a5aaaf357 --- /dev/null +++ b/kde-plasma/oxygen/oxygen-5.11.2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit flag-o-matic kde5 multibuild + +DESCRIPTION="Oxygen visual style for the Plasma desktop" +HOMEPAGE="https://cgit.kde.org/oxygen.git" +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=() + + if [[ ${MULTIBUILD_VARIANT} = qt4 ]] ; then + use debug || append-cppflags -DQT_NO_DEBUG + mycmakeargs+=( + -DUSE_KDE4=true + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc + ) + cmake-utils_src_configure + else + mycmakeargs+=( + $(cmake-utils_use_find_package wayland KF5Wayland) + ) + kde5_src_configure + fi + } + + 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 +} |