summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2019-11-12 14:07:27 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2019-11-12 23:09:04 +0100
commitde94a25204e681fbae8e608ec7967a6ca2c2681b (patch)
treed56619cac90eebbb7a15ee23cdc05cd5cad26e57 /kde-plasma/breeze-gtk
parentkde-frameworks/solid: Fix ext. optical drives media change detection (diff)
downloadgentoo-de94a25204e681fbae8e608ec7967a6ca2c2681b.tar.gz
gentoo-de94a25204e681fbae8e608ec7967a6ca2c2681b.tar.bz2
gentoo-de94a25204e681fbae8e608ec7967a6ca2c2681b.zip
kde-plasma: Add KDE Plasma 5.17.3
Package-Manager: Portage-2.3.79, Repoman-2.3.17 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.17.3.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/Manifest b/kde-plasma/breeze-gtk/Manifest
index 8ea63edc6dec..20f1527b2bb9 100644
--- a/kde-plasma/breeze-gtk/Manifest
+++ b/kde-plasma/breeze-gtk/Manifest
@@ -1,2 +1,3 @@
DIST breeze-gtk-5.16.5.tar.xz 47412 BLAKE2B d995d6b542c517785b33b4c1178d513ac5faa391b1de9f8605b1ad55f392e9eb8b9d2951cdde173854f25fd9d27ea3099f4505b5701a054eb3c350187d1f294a SHA512 deb172423d0e22d20305d1229b0f7c679c8707f56c0fd1e4589a068d295b5a17eeb3342ab174e94d0399fc357f091c9229f126b58bd1e9f4d45deefd0f6c41aa
DIST breeze-gtk-5.17.2.tar.xz 44304 BLAKE2B d3b056104fc83b4354f870664380312c94cb54cc9d043fb3b94b51643ccef22bf05bbaee0123d1a56b0af8110d01de32bb006382513f33cd539de78dbbb80536 SHA512 7af8a73a9cbc0cb7f09806b5921a840e94726dcf2e3c4ad5f93ab54a900a2656e257b1a90d475a2f734cc80c269fba1bfcf263b3cd0112ac037b369207f6656f
+DIST breeze-gtk-5.17.3.tar.xz 44164 BLAKE2B 5d3959f8c9c568890b1b38c99404be94d7539f32512c9b52348d5740e52b4212b114085e3f629b06e64bfb2b96f505be450cdc2202336efaa37e7042d6f5e981 SHA512 251d7b3722c643048b584665b79d512180396017a5f25b5132e9a5911d9e8fc0556aa56da35a1d71d0ea673c3841d1f6d50d55063c8f868ef6b28f63c7084a74
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.17.3.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.17.3.ebuild
new file mode 100644
index 000000000000..57771364e9b0
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.17.3.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+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 ~x86"
+IUSE=""
+
+BDEPEND="${PYTHON_DEPS}
+ >=kde-plasma/breeze-${PVCUT}:5
+ $(python_gen_any_dep 'dev-python/pycairo[${PYTHON_USEDEP}]')
+ dev-lang/sassc
+"
+
+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
+}