summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-06-21 22:03:29 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-06-23 15:48:42 +0200
commit1f64c80838899482f5fb927789bb3a02b5ec5863 (patch)
tree8a25e307449ee77ec6f068cfe1a3009c34d34c1a /kde-plasma/breeze-gtk
parentdev-java/java-config: clean up bogus version for eprefix folks. (diff)
downloadgentoo-1f64c80838899482f5fb927789bb3a02b5ec5863.tar.gz
gentoo-1f64c80838899482f5fb927789bb3a02b5ec5863.tar.bz2
gentoo-1f64c80838899482f5fb927789bb3a02b5ec5863.zip
kde-plasma: Add KDE Plasma 5.19.2
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
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.19.2.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/Manifest b/kde-plasma/breeze-gtk/Manifest
index 4e60ab5399aa..b71b21376260 100644
--- a/kde-plasma/breeze-gtk/Manifest
+++ b/kde-plasma/breeze-gtk/Manifest
@@ -1,2 +1,3 @@
DIST breeze-gtk-5.18.5.tar.xz 42396 BLAKE2B bbfe9cd57c438ad1b1cb144b0393ee45d0ed0aeebb34b38e557e2950d7e0d8ec950c1404eb2e17fad7421becf6486cbd6d2c44b414fde62f27076f4fa2419791 SHA512 3dea9af26cd18dc0388c76c070c5a375054b6a03ffa97e298341924fd909e2dcc49a7c7b431b36a158c1012ce6f9d48f98ef84fc6cda0965d9a24ab18c7c0951
DIST breeze-gtk-5.19.1.tar.xz 42596 BLAKE2B 54895f73b2064f02df90680a7af563dc7dda186d6c4e20a4ca7fdb604648172e4f42585a7b83ce505958d36654abde7cdac7b29179caf7816327479ded5c42bb SHA512 19ff4bc1665702f556021ade716f1173c5d445689546c86dffb71e48596d3578cd41d40d1db7b898b48011b59a2719fb0069723d6fb20d19a4b7ca369c7eb82d
+DIST breeze-gtk-5.19.2.tar.xz 42576 BLAKE2B 345e64235b7ffd3123511ab598f3860823a958d11764c467351e03dfec981874abd6364e8d0f52670e87ca025f21a831ce7066faf078ca5bbdd7cd692490a242 SHA512 6bb2be8fc59f16de6264b067fa60c0511c0cf49af8293cbdfcd08afd56649b51dc1c5c0f4955957d0bfa84d0a22776e8d486b72284f7133bc61dd41e06b3e54f
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.19.2.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.19.2.ebuild
new file mode 100644
index 000000000000..b58d7dcec409
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.19.2.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_{7,8,9} )
+PVCUT=$(ver_cut 1-3)
+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 ~arm64 ~ppc64 ~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
+}