summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/breeze-gtk')
-rw-r--r--kde-plasma/breeze-gtk/Manifest1
-rw-r--r--kde-plasma/breeze-gtk/breeze-gtk-5.18.0.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/Manifest b/kde-plasma/breeze-gtk/Manifest
index b2e8b9009b67..a35508da687c 100644
--- a/kde-plasma/breeze-gtk/Manifest
+++ b/kde-plasma/breeze-gtk/Manifest
@@ -1,2 +1,3 @@
DIST breeze-gtk-5.17.4.tar.xz 44324 BLAKE2B 6dec4aafc548fbe75b96acaffd93e16679f385433012386efe7f1c2d96f27c885fbe1276aa6c1f5c4b65956f88b2094520a5fea1fb773c384c4c870c8a15809b SHA512 b6d7d736d5ac1f236df8a4b227d12891922036af3d71495abc1375c252d64ab21a829d7df327211dcc0854302a679babd66cc837e1aa248af2c90c8ae34c9f46
DIST breeze-gtk-5.17.5.tar.xz 44424 BLAKE2B be93a92d77fbf42ac1ae9af0c40d77d32194c07906b008e5196181c78c37fd92788ce8020bb6a5c69a5391fb82c8e84394852287a1392f3f24f048891f272a23 SHA512 022ffc78ccb0e60819fb92444ce3396c5367e2557290980d67da27aedf10102f80ed4a6a61ca962e873a5ce053c8529be49179a811fab88202f5be118311dd31
+DIST breeze-gtk-5.18.0.tar.xz 42368 BLAKE2B 6050a6bed24098023482eff3b8d095a01a8b5e4b4fc63abce489d186fcdb43876fd05d5be04f6af3bf62e1a198455ba3e67579fe8cece50b1c1ec528b5b174a4 SHA512 ef156b514c50f154c091dd3a39f51c69039ff43147d52cded28d474ce75f1128713f1a06fcd4326c6a39aa634290bfe7cf22a98f4b979dab8351ceb311890983
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.18.0.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.18.0.ebuild
new file mode 100644
index 000000000000..1ebb3cfcbba3
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.18.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2020 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 ~ppc64"
+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
+}