diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-22 20:21:33 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2022-08-22 22:10:22 +0200 |
commit | a3c14c79c9ff33f16d54c0f732d0211594fad2b9 (patch) | |
tree | 276e94ec32ff131f0b2cf2f8fc60970abf4f191d /kde-apps/baloo-widgets | |
parent | ecm.eclass: Support single dependency ecm_punt_bogus_dep call (diff) | |
download | gentoo-a3c14c79c9ff33f16d54c0f732d0211594fad2b9.tar.gz gentoo-a3c14c79c9ff33f16d54c0f732d0211594fad2b9.tar.bz2 gentoo-a3c14c79c9ff33f16d54c0f732d0211594fad2b9.zip |
kde-apps/baloo-widgets: 22.08.0 version bump
Fix build with future Frameworks version
Upstream commit 7ff54ae9b68ca0edf3d6cd57c3eefb6cf072b6f8
See also:
https://mail.kde.org/pipermail/distributions/2022-August/001260.html
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/baloo-widgets')
-rw-r--r-- | kde-apps/baloo-widgets/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/baloo-widgets/baloo-widgets-22.08.0.ebuild | 33 | ||||
-rw-r--r-- | kde-apps/baloo-widgets/files/baloo-widgets-22.08.0-fix-disable-deprecation.patch | 33 |
3 files changed, 67 insertions, 0 deletions
diff --git a/kde-apps/baloo-widgets/Manifest b/kde-apps/baloo-widgets/Manifest index 654b1dce46ce..5ec2c04f1a34 100644 --- a/kde-apps/baloo-widgets/Manifest +++ b/kde-apps/baloo-widgets/Manifest @@ -1 +1,2 @@ DIST baloo-widgets-22.04.3.tar.xz 271288 BLAKE2B 9d06f7891abab5eb92ad5860769dd967cdf38ec8089ba760218c09e45905300270ad7db0170bd3d4440d7a2432062e2ccb9018b2caa1e5e23d82582166bc120f SHA512 c2dd5ed1401e163b26ec6f85284b7eb7a77ffc8c622f70d2d06e6846d91aa9cd00173d035c7ec6053c447dfc4300965047755d6b2d25a6b0efb72ba93e2861bc +DIST baloo-widgets-22.08.0.tar.xz 272688 BLAKE2B 2faba5844c8b30addc8e9de63a3ce2304a760e9775e1134c38511fe2e33e5ba37a043537d9587cbbbc0dbcc6466ae9ee9812a026c0d7102112d25c7379d5d88e SHA512 3969f792b122f53d7310896670092ec2a7a8d5299a6cf9b5ee4f587587a604ff8dbe127d94603f9ee999109990aa229676be8ce02091bf83c90e7ca530d4fa0c diff --git a/kde-apps/baloo-widgets/baloo-widgets-22.08.0.ebuild b/kde-apps/baloo-widgets/baloo-widgets-22.08.0.ebuild new file mode 100644 index 000000000000..cca40b24c5e0 --- /dev/null +++ b/kde-apps/baloo-widgets/baloo-widgets-22.08.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +ECM_TEST="forceoptional" +KFMIN=5.96.0 +QTMIN=5.15.5 +inherit ecm gear.kde.org + +DESCRIPTION="Widget library for baloo" + +LICENSE="LGPL-2+ LGPL-2.1+ || ( LGPL-2.1 LGPL-3 )" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="" + +RESTRICT="test" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/baloo-${KFMIN}:5 + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kfilemetadata-${KFMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/kio-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-fix-disable-deprecation.patch" ) diff --git a/kde-apps/baloo-widgets/files/baloo-widgets-22.08.0-fix-disable-deprecation.patch b/kde-apps/baloo-widgets/files/baloo-widgets-22.08.0-fix-disable-deprecation.patch new file mode 100644 index 000000000000..9abab5a0edba --- /dev/null +++ b/kde-apps/baloo-widgets/files/baloo-widgets-22.08.0-fix-disable-deprecation.patch @@ -0,0 +1,33 @@ +From 7ff54ae9b68ca0edf3d6cd57c3eefb6cf072b6f8 Mon Sep 17 00:00:00 2001 +From: Ahmad Samir <a.samirh78@gmail.com> +Date: Fri, 19 Aug 2022 22:50:26 +0200 +Subject: [PATCH] Disable deprecated KF API from the latest KF released version + +This unbreaks building while porting to new API happens. + +GIT_SILENT + +(cherry picked from commit caa66e6a930a6b892987961a42ea35f5b9b1aac4) +--- + CMakeLists.txt | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 5c62156..9af9cef 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -40,8 +40,9 @@ ecm_setup_version(PROJECT + PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5BalooWidgetsConfigVersion.cmake") + + add_definitions(-DQT_DISABLE_DEPRECATED_BEFORE=0x050F00) +-add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x060000) +- ++# Bump manually after building with the latest KF released version ++# and porting all deprecated code ++add_definitions(-DKF_DISABLE_DEPRECATED_BEFORE_AND_AT=0x056100) # 5.97.0 + add_subdirectory(src) + if (BUILD_TESTING) + add_subdirectory(test) +-- +GitLab + |