summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-28 17:21:53 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-28 17:37:14 +0200
commit211b9e33715674983527dc8a8969851e8b5ef11b (patch)
tree428356b451d663d67640d00a83a38496796171e6 /kde-plasma/breeze-gtk
parentkde-plasma/breeze-grub: 5.19.4 version bump (diff)
downloadgentoo-211b9e33715674983527dc8a8969851e8b5ef11b.tar.gz
gentoo-211b9e33715674983527dc8a8969851e8b5ef11b.tar.bz2
gentoo-211b9e33715674983527dc8a8969851e8b5ef11b.zip
kde-plasma/breeze-gtk: 5.19.4 version bump
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.4.ebuild48
2 files changed, 49 insertions, 0 deletions
diff --git a/kde-plasma/breeze-gtk/Manifest b/kde-plasma/breeze-gtk/Manifest
index f07b9cfdc7ad..e716be1145d7 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.3.tar.xz 42604 BLAKE2B 730410ef58337958b6ffe31853e93d168226811db13d8b3c55bce597ae6d15683b39fede80e22d4633123cde38710fcfde3cc2278caf03ed7c97048cd79e964b SHA512 8301efa7434fe862357ec3eaf8367900abcbfbc756816a124352de9044cb9f68c56e051d0edfc26505c0826b9038191164b358165995f9c0f67971fc38256b44
+DIST breeze-gtk-5.19.4.tar.xz 42600 BLAKE2B ff47a06d4e9c3a931b840b0a3f7ab4a19cc889ec6b2b4a142cc0a934626a219bbd9618846770ece69d1645a0f5d87753a849348a9d63274ea276998c7544d87d SHA512 1823ee04a273120c8160df41dde444cdf0717c300e413967abe0add86d1e49f8c48fffe983ff24353e2b8edc50b9465c28c8df18efad690c7e0f3f626ff524b5
diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.19.4.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.19.4.ebuild
new file mode 100644
index 000000000000..d5e19d5dcb2b
--- /dev/null
+++ b/kde-plasma/breeze-gtk/breeze-gtk-5.19.4.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 ~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
+}