diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 13:00:39 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-02-28 14:53:09 +0100 |
commit | 3706e8655c06e06772b5b0467369b0ead6cb359f (patch) | |
tree | 09bd7e0ec5dd547314c2cac355d0a95f65db7df6 /kde-apps/libksane | |
parent | kde-apps/libkexiv2: 24.02.0 version bump (diff) | |
download | gentoo-3706e8655c06e06772b5b0467369b0ead6cb359f.tar.gz gentoo-3706e8655c06e06772b5b0467369b0ead6cb359f.tar.bz2 gentoo-3706e8655c06e06772b5b0467369b0ead6cb359f.zip |
kde-apps/libksane: 24.02.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-apps/libksane')
-rw-r--r-- | kde-apps/libksane/Manifest | 1 | ||||
-rw-r--r-- | kde-apps/libksane/files/libksane-24.02.0-ksanecore-23.08.patch | 13 | ||||
-rw-r--r-- | kde-apps/libksane/libksane-24.02.0.ebuild | 35 |
3 files changed, 49 insertions, 0 deletions
diff --git a/kde-apps/libksane/Manifest b/kde-apps/libksane/Manifest index 119592ac7244..af2d711ebdbe 100644 --- a/kde-apps/libksane/Manifest +++ b/kde-apps/libksane/Manifest @@ -1,2 +1,3 @@ DIST libksane-23.08.4.tar.xz 155488 BLAKE2B 70cb2ca0f40acfeba8f8bc7ddc54bce5770fa7071e72b140d13d541d05b11ceda52973ce5e2acb02f0e09e40b1961c403564b1618f278cfeab0a528b6764d86a SHA512 af3f0d0e66a9ca7b259264a8b94496786ddd563ee87382123b07be4ca8eaea77d58ea44a7a2312d9d43a7643283e36c4ab7dca8c435c85ece7aa55a7575e4deb DIST libksane-23.08.5.tar.xz 156004 BLAKE2B 9ecc437f0eb94a8f74defdd58909cc6a0d7738c9972e778298894093139c145193d403e1121e4682a7895f6b9a8098e5ca97e2a8efce7a6280b0802cdedc2b51 SHA512 1013d54d70667d9784aae0eb202ed9b1314b4b865b40d1185af8bccc2a2d23fdf8c2f24864e1f92e356aadf6e8026b77b9334a57c7ccace9d5815bee932d2cb8 +DIST libksane-24.02.0.tar.xz 153792 BLAKE2B 86b537b489015c6d869c47a2e287f36608cb57ade092eb37c38676f14cac4d79674b69e2b61fee08fe3661ba8ea3f5d9aeec8ad79363f647b6ca30f137c6ab11 SHA512 97777cf30d89de0c4b4db0454d1e9385cd5aa9045933a9af1b4b238dadb89c27ec46090465f74232d4f8151cb19260c48fe31bd2a6f79795c56075eb65fec109 diff --git a/kde-apps/libksane/files/libksane-24.02.0-ksanecore-23.08.patch b/kde-apps/libksane/files/libksane-24.02.0-ksanecore-23.08.patch new file mode 100644 index 000000000000..2bd46f773647 --- /dev/null +++ b/kde-apps/libksane/files/libksane-24.02.0-ksanecore-23.08.patch @@ -0,0 +1,13 @@ +We need SLOT 5 here. + +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -86,7 +86,7 @@ + ) + + # Check if sane API is available. +- find_package(${KSANECORE_NAME} "${RELEASE_SERVICE_VERSION_MAJOR}.${RELEASE_SERVICE_VERSION_MINOR}" REQUIRED) ++ find_package(${KSANECORE_NAME} "23.08" REQUIRED) + add_subdirectory(src) + if (BUILD_TESTING) + #DONOTCOMPILE add_subdirectory(autotests) diff --git a/kde-apps/libksane/libksane-24.02.0.ebuild b/kde-apps/libksane/libksane-24.02.0.ebuild new file mode 100644 index 000000000000..e908bf015014 --- /dev/null +++ b/kde-apps/libksane/libksane-24.02.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KFMIN=5.113.0 +QTMIN=5.15.9 +inherit ecm gear.kde.org + +DESCRIPTION="SANE Library interface based on KDE Frameworks" + +LICENSE="|| ( LGPL-2.1 LGPL-3 )" +SLOT="5" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="kwallet" + +DEPEND=" + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtwidgets-${QTMIN}:5 + >=kde-frameworks/ki18n-${KFMIN}:5 + >=kde-frameworks/ktextwidgets-${KFMIN}:5 + >=kde-frameworks/kwidgetsaddons-${KFMIN}:5 + >=media-libs/ksanecore-23.08.5:5 + kwallet? ( >=kde-frameworks/kwallet-${KFMIN}:5 ) +" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${P}-ksanecore-23.08.patch" ) + +src_configure() { + local mycmakeargs=( + $(cmake_use_find_package kwallet KF5Wallet) + ) + ecm_src_configure +} |