1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 PYTHON_COMPAT=( python3_{6,7} )
7 inherit kde5 python-any-r1
9 DESCRIPTION="Official GTK+ port of Plasma's Breeze widget style"
10 HOMEPAGE="https://cgit.kde.org/breeze-gtk.git"
12 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
15 BDEPEND="${PYTHON_DEPS}
16 $(add_plasma_dep breeze)
17 $(python_gen_any_dep 'dev-python/pycairo[${PYTHON_USEDEP}]')
22 has_version "dev-python/pycairo[${PYTHON_USEDEP}]"
26 python-any-r1_pkg_setup
32 if has_version "<dev-util/cmake-3.16_rc1"; then
33 eapply "${FILESDIR}"/${PN}-5.16.5-cmake-pre-3.16.patch
39 -DPython3_EXECUTABLE="${PYTHON}"
41 if has_version "<dev-util/cmake-3.16_rc1"; then
42 mycmakeargs=( -DPYTHON_EXECUTABLE="${PYTHON}" )