mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-10 00:10:19 +03:00
kde-frameworks/extra-cmake-modules: 6.20.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
parent
8bb6d206f5
commit
22683c6f98
@ -1,2 +1,3 @@
|
||||
DIST extra-cmake-modules-6.18.0.tar.xz 330388 BLAKE2B aaeef9fccfd5116fb90402004984b5073b7d62db80035a6d461374d0ceeb4099439eb6500f0d04faf1f62845fb9bba97544b944bff630c61ac368404e3a507fd SHA512 b657f22a27bb968fa67092c8037698613270feb18b4a87a53e97280d8db3df38558d0eff5c7f350d9b17b4270004139a9a71a5eb0586746bf447b3a44b57b9f0
|
||||
DIST extra-cmake-modules-6.19.0.tar.xz 331316 BLAKE2B f99d12a8b7db51ae8d21b612a7f69d800d98fb0dd040ff4e3fb5e6154dca61adb9c1b40e09441110cc61a21ab3cd1f19ace912b3f08c36c7b75d4161c569a853 SHA512 935e11e0ef3b649e479580d091560e2064321f00ecb7981db26ae372a19295b9e33283ffc3f87b7884673561e330f325a664c87f5b1d5d2ac2ba5aad09cbc325
|
||||
DIST extra-cmake-modules-6.20.0.tar.xz 334164 BLAKE2B 1e6cb0037a70bc3d40e29eff5b074808c317a113e0c634a6c196ce5a0558c5dcc0ef71f512ce469be3098cea596507795aeed63580c9488266224b7898845f48 SHA512 f72fdd399c3f6b4f642df1abb0fb34b219b40e96bd9300316677051dbb1cb7debfec64e5eac14ab6e6a44b21be9571faa46e03a29b29aa1d07d73b4a3b5c6e7c
|
||||
|
||||
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
CMAKE_QA_COMPAT_SKIP=1 # bug #964519 tests/ subdir is irrelevant
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
QTMIN=6.8.1
|
||||
inherit cmake frameworks.kde.org python-any-r1
|
||||
|
||||
DESCRIPTION="Extra modules and scripts for CMake"
|
||||
HOMEPAGE="https://invent.kde.org/frameworks/extra-cmake-modules"
|
||||
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86"
|
||||
IUSE="doc test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-arch/libarchive[bzip2]"
|
||||
DEPEND="
|
||||
test? (
|
||||
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui]
|
||||
>=dev-qt/qtdeclarative-${QTMIN}:6
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
doc? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
|
||||
>=dev-qt/qttools-${QTMIN}:6[assistant]
|
||||
)
|
||||
test? (
|
||||
>=dev-qt/qtbase-${QTMIN}:6
|
||||
>=dev-qt/qttools-${QTMIN}:6[linguist]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch"
|
||||
"${FILESDIR}/${PN}-5.93.0-skip-ecm_add_test-early.patch"
|
||||
"${FILESDIR}/${PN}-5.245.0-disable-qmlplugindump.patch"
|
||||
"${FILESDIR}/${PN}-6.5.0-disable-appstreamtest.patch"
|
||||
"${FILESDIR}/${PN}-6.5.0-disable-git-commit-hooks.patch"
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DDOC_INSTALL_DIR=/usr/share/doc/"${PF}"
|
||||
-DBUILD_QTHELP_DOCS=$(usex doc)
|
||||
-DBUILD_HTML_DOCS=$(usex doc)
|
||||
-DBUILD_MAN_DOCS=$(usex doc)
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
if use test; then
|
||||
mycmakeargs+=( -DQT_MAJOR_VERSION=6 ) # bug 938316
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local CMAKE_SKIP_TESTS=(
|
||||
# passes, but then breaks src_install
|
||||
ECMToolchainAndroidTest
|
||||
# broken, bug #627806
|
||||
ECMPoQmToolsTest
|
||||
# can not possibly succeed in releases, bug #764953
|
||||
KDEFetchTranslations
|
||||
)
|
||||
# possible race condition with multiple jobs, bug #701854
|
||||
cmake_src_test -j1
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user