diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-12-15 18:09:03 +0000 |
commit | 7bc9c63c9da678a7e6fceb095d56c634afd22c56 (patch) | |
tree | 4a67d50a439e9af63947e5f8b6ba3719af98b6c9 /kde-plasma/breeze-gtk/breeze-gtk-5.17.4.ebuild | |
parent | b284a3168fa91a038925d2ecf5e4791011ea5e7d (diff) |
gentoo resync : 15.12.2019
Diffstat (limited to 'kde-plasma/breeze-gtk/breeze-gtk-5.17.4.ebuild')
-rw-r--r-- | kde-plasma/breeze-gtk/breeze-gtk-5.17.4.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.17.4.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.17.4.ebuild new file mode 100644 index 000000000000..48251401a142 --- /dev/null +++ b/kde-plasma/breeze-gtk/breeze-gtk-5.17.4.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +PVCUT=$(ver_cut 1-3) +inherit ecm kde.org python-any-r1 + +DESCRIPTION="Official GTK+ port of Plasma's Breeze widget style" +HOMEPAGE="https://cgit.kde.org/breeze-gtk.git" +LICENSE="LGPL-2.1+" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +BDEPEND="${PYTHON_DEPS} + dev-lang/sassc + $(python_gen_any_dep 'dev-python/pycairo[${PYTHON_USEDEP}]') + >=kde-plasma/breeze-${PVCUT}:5 +" + +python_check_deps() { + has_version "dev-python/pycairo[${PYTHON_USEDEP}]" +} + +pkg_setup() { + python-any-r1_pkg_setup + ecm_pkg_setup +} + +src_prepare() { + ecm_src_prepare + if has_version "<dev-util/cmake-3.16_rc1"; then + eapply "${FILESDIR}"/${PN}-5.16.5-cmake-pre-3.16.patch + fi +} + +src_configure() { + local mycmakeargs=( + -DPython3_EXECUTABLE="${PYTHON}" + ) + if has_version "<dev-util/cmake-3.16_rc1"; then + mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" ) + fi + ecm_src_configure +} |