summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2018-03-28 22:46:29 +0200
committerJohannes Huber <johu@gentoo.org>2018-03-28 23:01:25 +0200
commit7b987bb059c77d82ef9b24b535e8a09430b9ac35 (patch)
tree202828e2af1320fe8f4218cb1aea662295840a78 /kde-plasma/oxygen/oxygen-5.12.4.ebuild
parentmedia-libs/openjpeg: Fix 2.3.0 USE=static-libs compile (diff)
downloadgentoo-7b987bb059c77d82ef9b24b535e8a09430b9ac35.tar.gz
gentoo-7b987bb059c77d82ef9b24b535e8a09430b9ac35.tar.bz2
gentoo-7b987bb059c77d82ef9b24b535e8a09430b9ac35.zip
kde-plasma: Version bump KDE Plasma 5.12.4
Package-Manager: Portage-2.3.26, Repoman-2.3.7
Diffstat (limited to 'kde-plasma/oxygen/oxygen-5.12.4.ebuild')
-rw-r--r--kde-plasma/oxygen/oxygen-5.12.4.ebuild93
1 files changed, 93 insertions, 0 deletions
diff --git a/kde-plasma/oxygen/oxygen-5.12.4.ebuild b/kde-plasma/oxygen/oxygen-5.12.4.ebuild
new file mode 100644
index 000000000000..ebd8d663ea95
--- /dev/null
+++ b/kde-plasma/oxygen/oxygen-5.12.4.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
+}