summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-01-02 21:32:04 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-01-02 21:36:57 +0100
commit3a97b1edecd630c0f48d3b0a28f053b0489a9597 (patch)
tree4743b6dcef79e840defe3f0c9f326801845aadf4 /kde-plasma/oxygen
parentmedia-radio/flrig: Drop old (diff)
downloadgentoo-3a97b1edecd630c0f48d3b0a28f053b0489a9597.tar.gz
gentoo-3a97b1edecd630c0f48d3b0a28f053b0489a9597.tar.bz2
gentoo-3a97b1edecd630c0f48d3b0a28f053b0489a9597.zip
kde-plasma: Add KDE Plasma 5.11.5
See also: https://www.kde.org/announcements/plasma-5.11.4-5.11.5-changelog.php Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'kde-plasma/oxygen')
-rw-r--r--kde-plasma/oxygen/Manifest1
-rw-r--r--kde-plasma/oxygen/oxygen-5.11.5.ebuild93
2 files changed, 94 insertions, 0 deletions
diff --git a/kde-plasma/oxygen/Manifest b/kde-plasma/oxygen/Manifest
index 4eaeb71b423a..66d29a33a91a 100644
--- a/kde-plasma/oxygen/Manifest
+++ b/kde-plasma/oxygen/Manifest
@@ -1,2 +1,3 @@
DIST oxygen-5.10.5.tar.xz 4468276 BLAKE2B d14bc24fa7f9d7193f5c15fcbefeaf6b2c0eaa6bce33cbf42fa3f868dbc7326e52e4c08ea05dda8ac6fa00446bb7c969539e1ae428a4b9070a338947d982d616 SHA512 176db69036a3da47544075b9b83059f48d6037be21095ffc622811982bf32ece357a37f501f0528abf6ddd974c5c7d680474c325b752bd2f425c81a33fe94f71
DIST oxygen-5.11.4.tar.xz 4471880 BLAKE2B 71d1d9918a7c75809f726fe00441d96ba18ee241f4d6f631c48d3b80027d74b11e716688a468aac9f283467e8e4968ba4ccbce697b165efaa1aa69682a2d758d SHA512 74c19c1d30b4abde996c2e935247bad93fb00da1dbc6899f42a9808dddb371dc1cb52e95a2b2788efa94e97aac903aee8510a819483fb502155ab6bc28542dba
+DIST oxygen-5.11.5.tar.xz 4489196 BLAKE2B 89d8e9742a68b59ad03c697875ca8e1e49e253668db0081a04922b057a7ba67bba1ab785e1507bf4e16ceb3ffa63f5adda54fead63a1704d7fe4298408db4b63 SHA512 101b9a3ace2e619510702feba868bb98cb873b18730d3705803e047ce2b0c0a761c884e1714fc654f85775e461c0784d199baa1b9026c6b8f8a4cfecce2e4209
diff --git a/kde-plasma/oxygen/oxygen-5.11.5.ebuild b/kde-plasma/oxygen/oxygen-5.11.5.ebuild
new file mode 100644
index 000000000000..ebd8d663ea95
--- /dev/null
+++ b/kde-plasma/oxygen/oxygen-5.11.5.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2018 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() {
+ 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
+}