mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
kde-frameworks/extra-cmake-modules: drop 5.102.0
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST extra-cmake-modules-5.102.0.tar.xz 330720 BLAKE2B 1f2036a3a9cf240afa822024d13520b720c039f6ae0de46d1eff150d475623bd122e4824d5f55877eaa7fddeeef0a4fd769f266542bdd4dc0ef3870d70f50ca6 SHA512 aa947bf03d296d193b2407b3f381414116c48e2ad7e8a7e499d00868aa85cde483599e9ce28f87f5dcf2973df84c6322e75bfc7a277af9e032706e32420553ce
|
||||
DIST extra-cmake-modules-5.104.0.tar.xz 330988 BLAKE2B 9092045fe525f42647d426231997765fd7170b7768408b560af2599231a5183ec02314422deca2b1354cdfa291e1b16e29d3a368e97365e421c3945d763427e8 SHA512 63a3c4d66a07d48bf0a9ebe4fd009b5e043baee42d8a3f58b286e2b825250de05b896aa7e9c06f543eb29a12dd16be7ef5fb773c06477195cf6f018877805014
|
||||
DIST extra-cmake-modules-5.105.0.tar.xz 330968 BLAKE2B 96ba9374e8cdf8cba016017a411f90e5faf3c5055ed4444eded3395dd586b3039f7e125ac2ccba0d20520f00ee8af642e094381d0ef71455b4269c17d1885146 SHA512 04de829d7b0d42eba010aad235d68cea7e0fc4970e5ca86bdf441630893887baefe20588ed8e2fbe5bcdd51cfc352e94192e642e7dac9932de8e8f99a1734ca1
|
||||
|
||||
@@ -1,78 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
QTMIN=5.15.5
|
||||
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 )"
|
||||
|
||||
BDEPEND="
|
||||
doc? (
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]')
|
||||
>=dev-qt/qthelp-${QTMIN}:5
|
||||
)
|
||||
test? (
|
||||
>=dev-qt/linguist-tools-${QTMIN}:5
|
||||
>=dev-qt/qtcore-${QTMIN}:5
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
app-arch/libarchive[bzip2]
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-5.49.0-no-fatal-warnings.patch"
|
||||
"${FILESDIR}/${PN}-5.93.0-skip-ecm_add_test-early.patch"
|
||||
"${FILESDIR}/${PN}-5.93.0-disable-qmlplugindump.patch"
|
||||
)
|
||||
|
||||
python_check_deps() {
|
||||
python_has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
# Requires PyQt5, bug #680256
|
||||
sed -i -e "/^if(NOT SIP_Qt5Core_Mod_FILE)/s/NOT SIP_Qt5Core_Mod_FILE/TRUE/" \
|
||||
tests/CMakeLists.txt || die "failed to disable GenerateSipBindings tests"
|
||||
}
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# ECMToolchainAndroidTest passes but then breaks src_install
|
||||
# ECMPoQmToolsTest is broken, bug #627806
|
||||
# KDEFetchTranslations can not possibly succeed in releases, bug #764953
|
||||
# possible race condition with multiple jobs, bug #701854
|
||||
local myctestargs=(
|
||||
-j1
|
||||
-E "(ECMToolchainAndroidTest|ECMPoQmToolsTest|KDEFetchTranslations)"
|
||||
)
|
||||
|
||||
cmake_src_test
|
||||
}
|
||||
Reference in New Issue
Block a user