summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2017-11-07 16:59:20 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2017-11-07 16:59:55 +0100
commitc271267eba2dc6c051a57815c53b30f75c726f69 (patch)
tree5ab00c34aa81fb1f967afd6bc2ec00b20a10f4b2 /kde-plasma/oxygen
parentwww-client/chromium: stable channel bump (62.0.3202.89) (diff)
downloadgentoo-c271267eba2dc6c051a57815c53b30f75c726f69.tar.gz
gentoo-c271267eba2dc6c051a57815c53b30f75c726f69.tar.bz2
gentoo-c271267eba2dc6c051a57815c53b30f75c726f69.zip
kde-plasma: Add KDE Plasma 5.11.3
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'kde-plasma/oxygen')
-rw-r--r--kde-plasma/oxygen/Manifest1
-rw-r--r--kde-plasma/oxygen/oxygen-5.11.3.ebuild97
2 files changed, 98 insertions, 0 deletions
diff --git a/kde-plasma/oxygen/Manifest b/kde-plasma/oxygen/Manifest
index d048ae7f9eb2..07cd282fd571 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.2.tar.xz 4472224 SHA256 21a9831d03c25955f5381fa8c27e0afa6b024e2c4bf355a982edd38305e0d3a2 SHA512 98cc4a51a222aab50e20126a8c08525473fa41d8a04f316fafc2a079f77c9024f68d6409e335c8ab50d09cebff2e77f806e48be8b6d6e2b5e1b81e28f432d114 WHIRLPOOL 9e6cc87090af17e71e390bf57caba3efc55908a6081dc8b30c97ddc078249532fa071e2a6effb251febf87169a597e94e22cbd7189062f4d24a9fd2adb278e6b
+DIST oxygen-5.11.3.tar.xz 4470280 SHA256 d76b3f5ce15808805a1b6762c01bf103ded56caf14a80750324d851b6dc3e37d SHA512 363c09137d88d02aff1c78307f782c74e4e6565c017e0510e33da3ea18954d9e132e6eb518d113f5e635daa05c2f47dad60c9866d59bedd42a252b29fdc83fa7 WHIRLPOOL 76707aa11d103c76f8c6801267e29d72b25e5e46f9a49c17a45da331435cbf56363c52c02b84f82bb2adef4aabe0239cf770ce0efb6656f8e98f6387fd79af79
diff --git a/kde-plasma/oxygen/oxygen-5.11.3.ebuild b/kde-plasma/oxygen/oxygen-5.11.3.ebuild
new file mode 100644
index 000000000000..247a5aaaf357
--- /dev/null
+++ b/kde-plasma/oxygen/oxygen-5.11.3.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
+}