diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-11-03 16:06:58 +0000 |
commit | bd4aeefe33e63f613512604e47bfca7b2187697d (patch) | |
tree | adb35b5a9a00ee7ea591ab0c987f70167c23b597 /kde-plasma/breeze-gtk | |
parent | 48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff) |
gentoo resync : 03.11.2019
Diffstat (limited to 'kde-plasma/breeze-gtk')
-rw-r--r-- | kde-plasma/breeze-gtk/Manifest | 5 | ||||
-rw-r--r-- | kde-plasma/breeze-gtk/breeze-gtk-5.16.5.ebuild | 17 | ||||
-rw-r--r-- | kde-plasma/breeze-gtk/breeze-gtk-5.17.2.ebuild | 45 | ||||
-rw-r--r-- | kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch | 16 |
4 files changed, 82 insertions, 1 deletions
diff --git a/kde-plasma/breeze-gtk/Manifest b/kde-plasma/breeze-gtk/Manifest index 0f7c57ef8957..e7c1340ab736 100644 --- a/kde-plasma/breeze-gtk/Manifest +++ b/kde-plasma/breeze-gtk/Manifest @@ -1,3 +1,6 @@ +AUX breeze-gtk-5.16.5-cmake-pre-3.16.patch 542 BLAKE2B 58af50232fc314cbab7f6d47a54bf87b2be75757354f0ad7fbf65e36822774dc96a3d7928360b1c27c7819e7d55253db73f5f883cddbdaf89ca62e94cf1732c1 SHA512 9065680b040447fa84d4f100bf5ed7fdde2631c53ab777abac238d9a319c33d40ac1f111ec942c9f32721363fd80e71514e405cb0dc429e07b80dbbb4233c0fe DIST breeze-gtk-5.16.5.tar.xz 47412 BLAKE2B d995d6b542c517785b33b4c1178d513ac5faa391b1de9f8605b1ad55f392e9eb8b9d2951cdde173854f25fd9d27ea3099f4505b5701a054eb3c350187d1f294a SHA512 deb172423d0e22d20305d1229b0f7c679c8707f56c0fd1e4589a068d295b5a17eeb3342ab174e94d0399fc357f091c9229f126b58bd1e9f4d45deefd0f6c41aa -EBUILD breeze-gtk-5.16.5.ebuild 613 BLAKE2B 53e90c7de4aaf18b8ca28b389c8778e8a1c9bff95f0ac8b12390a56309780ec8463073ecca20fe946da2c2c8277d4baf3cf5fc5c35cfb93a6eed76331246e46d SHA512 65f365d7b5d198981232627426a11441f3f0dbda52a832a27905e23292b647ae37a06c0d0fd1e103de96ea28e200fb73e76d58c0a1f311ebbcd0ce5d560c4e98 +DIST breeze-gtk-5.17.2.tar.xz 44304 BLAKE2B d3b056104fc83b4354f870664380312c94cb54cc9d043fb3b94b51643ccef22bf05bbaee0123d1a56b0af8110d01de32bb006382513f33cd539de78dbbb80536 SHA512 7af8a73a9cbc0cb7f09806b5921a840e94726dcf2e3c4ad5f93ab54a900a2656e257b1a90d475a2f734cc80c269fba1bfcf263b3cd0112ac037b369207f6656f +EBUILD breeze-gtk-5.16.5.ebuild 963 BLAKE2B e0f3f7601e4de68a01fe80647ff9b4702329ea0a69f41e7589bf16e9c6f3d9369b1cc44c68547c0def595adcfa006f5dbfbdbdb3679a732b0117f36c3b43252a SHA512 8f19454ab609dc18f4c023649aab95a0807d95de6c01a448370c956a2f8160f8a4097e4263325c0a100c133d40487998a122227c61dcd045ded3fd26e78e6d1d +EBUILD breeze-gtk-5.17.2.ebuild 964 BLAKE2B b548b5d3fd01df3ebfe9e51795104164f7076eaff8436011db0c5ea7b65104754ca466446f8db16967f90e646fd1871f90df70d9905e5d4bd3b73a213741af7b SHA512 9651ccb4ccd58e0ffa2d1d7369d8a2ee4d45b3e6fc6a7e0f3a63bf6dce89f1a9d80461545321561f1ba07da453765757456c6975a7b8a93abf5209bf46af0da1 MISC metadata.xml 249 BLAKE2B ad415db89e5dee1627aa77f44ded9d4e1e5b8217d06c7ca25bbaa3fe92ce67c2b1090957c45a821b407d7927e5af798498aa6a5b903895ee1af8ee20a446c7f7 SHA512 76a5a340b13f0053ca3c5e94ed24380ea8d29b45ac8655419e22eaadb1e4a827c04d2e7e36b65145c4964e6526f656618fc6ac144e277ef53cb7373e6239e3c3 diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.16.5.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.16.5.ebuild index 0587632ef9b1..f1f464f67c1c 100644 --- a/kde-plasma/breeze-gtk/breeze-gtk-5.16.5.ebuild +++ b/kde-plasma/breeze-gtk/breeze-gtk-5.16.5.ebuild @@ -26,3 +26,20 @@ pkg_setup() { python-any-r1_pkg_setup kde5_pkg_setup } + +src_prepare() { + kde5_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 + kde5_src_configure +} diff --git a/kde-plasma/breeze-gtk/breeze-gtk-5.17.2.ebuild b/kde-plasma/breeze-gtk/breeze-gtk-5.17.2.ebuild new file mode 100644 index 000000000000..38c53a1e609a --- /dev/null +++ b/kde-plasma/breeze-gtk/breeze-gtk-5.17.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7} ) +inherit kde5 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+" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" +IUSE="" + +BDEPEND="${PYTHON_DEPS} + $(add_plasma_dep breeze) + $(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 + kde5_pkg_setup +} + +src_prepare() { + kde5_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 + kde5_src_configure +} diff --git a/kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch b/kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch new file mode 100644 index 000000000000..cbf8693731ec --- /dev/null +++ b/kde-plasma/breeze-gtk/files/breeze-gtk-5.16.5-cmake-pre-3.16.patch @@ -0,0 +1,16 @@ +Thanks-to: Arfrever Frehtes Taifersar Arahesis <arfrever.fta@gmail.com> + +--- a/cmake/FindPythonCairo.cmake ++++ b/cmake/FindPythonCairo.cmake +@@ -1,10 +1,4 @@ +-if(CMAKE_VERSION VERSION_LESS 3.12.0) +- find_package(PythonInterp 3 REQUIRED) +- # PythonInterp sets PYTHON_EXECUTABLE +-else() +- find_package(Python3 COMPONENTS Interpreter REQUIRED) +- set(PYTHON_EXECUTABLE "${Python3_EXECUTABLE}") +-endif() ++find_package(PythonInterp 3 REQUIRED) + + # Check for python cairo + execute_process(COMMAND ${PYTHON_EXECUTABLE} -c "import cairo" |