summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2018-03-06 15:19:46 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2018-03-06 16:13:05 +0100
commite0d959b952e0d6584ea86e0f6ef4d5c017d7856b (patch)
tree7994321e886ad0f3bef371f7f6859cebe024b368 /kde-plasma/oxygen
parentsci-physics/root: version bump to 6.12/06 (diff)
downloadgentoo-e0d959b952e0d6584ea86e0f6ef4d5c017d7856b.tar.gz
gentoo-e0d959b952e0d6584ea86e0f6ef4d5c017d7856b.tar.bz2
gentoo-e0d959b952e0d6584ea86e0f6ef4d5c017d7856b.zip
kde-plasma: Add KDE Plasma 5.12.3
Package-Manager: Portage-2.3.24, 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.12.3.ebuild93
2 files changed, 94 insertions, 0 deletions
diff --git a/kde-plasma/oxygen/Manifest b/kde-plasma/oxygen/Manifest
index 8afe6759dbad..fb112d785def 100644
--- a/kde-plasma/oxygen/Manifest
+++ b/kde-plasma/oxygen/Manifest
@@ -1,2 +1,3 @@
DIST oxygen-5.11.5.tar.xz 4489196 BLAKE2B 89d8e9742a68b59ad03c697875ca8e1e49e253668db0081a04922b057a7ba67bba1ab785e1507bf4e16ceb3ffa63f5adda54fead63a1704d7fe4298408db4b63 SHA512 101b9a3ace2e619510702feba868bb98cb873b18730d3705803e047ce2b0c0a761c884e1714fc654f85775e461c0784d199baa1b9026c6b8f8a4cfecce2e4209
DIST oxygen-5.12.2.tar.xz 4468396 BLAKE2B 6179f73e34f8d04854074fc3e92ba7159cb679fea2056e2026f497143984fb895e8a563707ae70bb7732d2d649155f51eb0980409a880dac53f6c06d6ea3e4fd SHA512 6c753eaf27e6507d0bbc8b5f8b5a4a30263bb5577924a30f21268657696d56908a2fc75827311285ce323ad97b65b4e4e793f8df1ff881838c50a1070b46db13
+DIST oxygen-5.12.3.tar.xz 4468608 BLAKE2B a8f179c80c642280c3045a8e27a08b6a80d28250cc56d70e2804fc6a891541d6460e1953ecb9fcc766c2f9592f0415411e47a074e5bc8ed4d85d3c84c9ad268a SHA512 af021a17b1c41ffa7ea69f6833c94ba3ac79bdaf1090df0293c8f2811d80bd9d465cfa2bf1306626d52401a49b2a459569334bfc8410ed03b46696268093e8cc
diff --git a/kde-plasma/oxygen/oxygen-5.12.3.ebuild b/kde-plasma/oxygen/oxygen-5.12.3.ebuild
new file mode 100644
index 000000000000..ebd8d663ea95
--- /dev/null
+++ b/kde-plasma/oxygen/oxygen-5.12.3.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
+}