summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/breeze-gtk/breeze-gtk-5.22.2.ebuild')
-rw-r--r--kde-plasma/breeze-gtk/breeze-gtk-5.22.2.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.22.2.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.22.2.ebuild
new file mode 100644
index 000000000000..2507c67b7838
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.22.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PVCUT=$(ver_cut 1-3)
+PYTHON_COMPAT=( python3_{8..10} )
+inherit ecm kde.org python-any-r1
+
+DESCRIPTION="Official GTK+ port of Plasma's Breeze widget style"
+HOMEPAGE="https://invent.kde.org/plasma/breeze-gtk"
+
+LICENSE="LGPL-2.1+"
+SLOT="5"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+BDEPEND="${PYTHON_DEPS}
+ dev-lang/sassc
+ $(python_gen_any_dep 'dev-python/pycairo[${PYTHON_USEDEP}]')
+ >=dev-util/cmake-3.16
+ >=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_configure() {
+ local mycmakeargs=(
+ -DPython3_EXECUTABLE="${PYTHON}"
+ )
+ ecm_src_configure
+}