summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-02-19 10:42:28 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-02-19 11:46:14 +0100
commitcdc15007a558479a7f46bfb2cb2429ead498306d (patch)
tree0682eddb09b25bd2408d2c476eba74f7c9ebcbd8 /kde-plasma/breeze-gtk
parentdev-libs/kuserfeedback: Restore empty line gone during conflict res. (diff)
downloadgentoo-cdc15007a558479a7f46bfb2cb2429ead498306d.tar.gz
gentoo-cdc15007a558479a7f46bfb2cb2429ead498306d.tar.bz2
gentoo-cdc15007a558479a7f46bfb2cb2429ead498306d.zip
kde-plasma: Add KDE Plasma 5.18.1
Package-Manager: Portage-2.3.89, Repoman-2.3.20 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.1.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/Manifest b/kde-plasma/breeze-gtk/Manifest
index 77655198a645..8492019f500e 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.0.tar.xz 42368 BLAKE2B 6050a6bed24098023482eff3b8d095a01a8b5e4b4fc63abce489d186fcdb43876fd05d5be04f6af3bf62e1a198455ba3e67579fe8cece50b1c1ec528b5b174a4 SHA512 ef156b514c50f154c091dd3a39f51c69039ff43147d52cded28d474ce75f1128713f1a06fcd4326c6a39aa634290bfe7cf22a98f4b979dab8351ceb311890983
+DIST breeze-gtk-5.18.1.tar.xz 42360 BLAKE2B 9e90d440311281b2b096ba2c1a8b81774cfbff32b94df55f0646f51f09ffbc45ad380b0d1933239e3739149fe2d1353a1d89c11cc9fc2028cae92aaaf6824751 SHA512 7dfe4448abbe17bc6bcc26b9083ab7f8f025aff5280fa32b75e90172c0481b8a7e4c54300e1c61ba4949bbdbb798e65897c2f3450f17ea2b4bd4f3e2d2b87963
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.18.1.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.18.1.ebuild
new file mode 100644
index 000000000000..a3e600e76aa6
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.18.1.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 ~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
+}