summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-05-06 21:12:50 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-05-07 09:53:59 +0200
commita98fc176b8e977eedb3501cf0617948c22547310 (patch)
tree8cc2b8bc25d8a8e6525b49e531e9a1299553f0a6 /kde-plasma/breeze-gtk
parentdev-python/pebble: Bump to 4.5.2 (diff)
downloadgentoo-a98fc176b8e977eedb3501cf0617948c22547310.tar.gz
gentoo-a98fc176b8e977eedb3501cf0617948c22547310.tar.bz2
gentoo-a98fc176b8e977eedb3501cf0617948c22547310.zip
kde-plasma: Add KDE Plasma 5.18.5
Package-Manager: Portage-2.3.99, Repoman-2.3.22 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.18.5.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/Manifest b/kde-plasma/breeze-gtk/Manifest
index 8bee54768c36..0c5ff4823dc3 100644
--- a/kde-plasma/breeze-gtk/Manifest
+++ b/kde-plasma/breeze-gtk/Manifest
@@ -1,2 +1,3 @@
DIST breeze-gtk-5.17.5.tar.xz 44424 BLAKE2B be93a92d77fbf42ac1ae9af0c40d77d32194c07906b008e5196181c78c37fd92788ce8020bb6a5c69a5391fb82c8e84394852287a1392f3f24f048891f272a23 SHA512 022ffc78ccb0e60819fb92444ce3396c5367e2557290980d67da27aedf10102f80ed4a6a61ca962e873a5ce053c8529be49179a811fab88202f5be118311dd31
DIST breeze-gtk-5.18.4.1.tar.xz 42364 BLAKE2B 64186148c283526b7a779aa3059c29df94a5b67490a249c61f5fafdf0cfb4d808565efbf5699614f9c1c16562b440b0a88c6fc2da099bfed9c484e9f1422999f SHA512 c04b7b438dd3f23526627b1c416ff9b29d8cb6d8f27370731ffae9aad53c6554251a36663097d84645597b3cc541fbb80988cad093786a5d497958bd5e9ff57b
+DIST breeze-gtk-5.18.5.tar.xz 42396 BLAKE2B bbfe9cd57c438ad1b1cb144b0393ee45d0ed0aeebb34b38e557e2950d7e0d8ec950c1404eb2e17fad7421becf6486cbd6d2c44b414fde62f27076f4fa2419791 SHA512 3dea9af26cd18dc0388c76c070c5a375054b6a03ffa97e298341924fd909e2dcc49a7c7b431b36a158c1012ce6f9d48f98ef84fc6cda0965d9a24ab18c7c0951
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.18.5.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.18.5.ebuild
new file mode 100644
index 000000000000..da547ee9b70b
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.18.5.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 ~arm ~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
+}