diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-06 19:27:47 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2018-02-06 19:27:47 +0100 |
commit | c6320bb13dc48f0969cc893f4406c7b892b819c3 (patch) | |
tree | a01a01e4f3df86e3ea7d5a862ff5d0e8fc1d7f95 /kde-plasma/breeze | |
parent | net-misc/dhcpcd: Remove more unstable versions (diff) | |
download | gentoo-c6320bb13dc48f0969cc893f4406c7b892b819c3.tar.gz gentoo-c6320bb13dc48f0969cc893f4406c7b892b819c3.tar.bz2 gentoo-c6320bb13dc48f0969cc893f4406c7b892b819c3.zip |
kde-plasma: Add KDE Plasma 5.12.0
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'kde-plasma/breeze')
-rw-r--r-- | kde-plasma/breeze/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/breeze/breeze-5.12.0.ebuild | 87 |
2 files changed, 88 insertions, 0 deletions
diff --git a/kde-plasma/breeze/Manifest b/kde-plasma/breeze/Manifest index caeba360aee0..b0257b5bd365 100644 --- a/kde-plasma/breeze/Manifest +++ b/kde-plasma/breeze/Manifest @@ -1 +1,2 @@ DIST breeze-5.11.5.tar.xz 22228964 BLAKE2B f3fdcc10b7350acf612bec9edf4cbea544c6f1dbbc713c8cf9903054b3fb015fffa3a9be5fed4ce5d19209a476d9a84fbcc219ff5cdcdc93e05f3537bb209e85 SHA512 4ef2e7507f7175af7725157611bfe6339d417749d565e50760a5da70db7603f59a9c41deec42f343149442b2e82204eb9519354fb91e407d4c89a9300edad2df +DIST breeze-5.12.0.tar.xz 22210036 BLAKE2B 768cef2db1f38ea50d2d2c741f48f0e3b53832f1bcf716e4f16242a0c54eafbcd578ec1ec4c4de34b7cd8da0f87983597cbdf9c4b107dc34cc740c3bc1f4d168 SHA512 5551e988fa615ccd713eab20058c4d61fba39f256325759f80b61033f7025c403e66ffd55ed8c86d5faccf586fdcf35f7f56d87d6fad1f426ab7205970fb922f diff --git a/kde-plasma/breeze/breeze-5.12.0.ebuild b/kde-plasma/breeze/breeze-5.12.0.ebuild new file mode 100644 index 000000000000..d16baa9e1fe0 --- /dev/null +++ b/kde-plasma/breeze/breeze-5.12.0.ebuild @@ -0,0 +1,87 @@ +# 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="Breeze visual style for the Plasma desktop" +HOMEPAGE="https://cgit.kde.org/breeze.git" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="qt4 wayland X" + +REQUIRED_USE="qt4? ( X )" + +COMMON_DEPEND=" + $(add_frameworks_dep frameworkintegration) + $(add_frameworks_dep kcmutils) + $(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) + qt4? ( + kde-frameworks/kdelibs:4 + x11-libs/libX11 + ) + wayland? ( $(add_frameworks_dep kwayland) ) + X? ( + $(add_qt_dep qtx11extras) + x11-libs/libxcb + ) +" +DEPEND="${COMMON_DEPEND} + $(add_frameworks_dep kpackage) + qt4? ( dev-util/automoc:0 ) +" +RDEPEND="${COMMON_DEPEND} + $(add_frameworks_dep breeze-icons) + $(add_plasma_dep kde-cli-tools) +" + +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) + $(cmake-utils_use_find_package X XCB) + ) + 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 +} |