summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-10 20:23:07 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-10 20:44:04 +0200
commit62f4d2977f87a453918ab3667ffd9f6f86f0d9b7 (patch)
tree502e1ed0ec02ce101fbf95e79169312d4427907c /kde-frameworks/extra-cmake-modules
parentkde-frameworks/breeze-icons-rcc: 5.81.0 version bump (diff)
downloadgentoo-62f4d2977f87a453918ab3667ffd9f6f86f0d9b7.tar.gz
gentoo-62f4d2977f87a453918ab3667ffd9f6f86f0d9b7.tar.bz2
gentoo-62f4d2977f87a453918ab3667ffd9f6f86f0d9b7.zip
kde-frameworks/extra-cmake-modules: 5.81.0 version bump
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-frameworks/extra-cmake-modules')
-rw-r--r--kde-frameworks/extra-cmake-modules/Manifest1
-rw-r--r--kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.81.0.ebuild78
2 files changed, 79 insertions, 0 deletions
diff --git a/kde-frameworks/extra-cmake-modules/Manifest b/kde-frameworks/extra-cmake-modules/Manifest
index 991a03fba6e2..c51222d69d14 100644
--- a/kde-frameworks/extra-cmake-modules/Manifest
+++ b/kde-frameworks/extra-cmake-modules/Manifest
@@ -1,2 +1,3 @@
DIST extra-cmake-modules-5.77.0.tar.xz 353784 BLAKE2B 08f70ab68fa1de0a8014fffb5a5f638fc49ea4d17a68de4a2061746bc95218235e18066d865ed12c746deb2212f61299675fefc4c89b2ed9d48e675925904f5e SHA512 0581b3f8f17ad452140a68e9d1b14014235523ecc2df2b6a8e6a6b3cac99a1b58470b8d31ae2eb695c1e5357d4c5ff26d656bf2f4ede7aba824eaed1e38a3a95
DIST extra-cmake-modules-5.80.0.tar.xz 357412 BLAKE2B 1a564eac42bce7001b2840a052596456970e81810d07c091e47161933f906a66d20560a7d031f08660acd48c5db2d32c5512579b243dc4c0c803142cac4bb0bc SHA512 d07dcb31f8142c99270c234679cc0ab4dd13acd61e505a3623b7e2c811250acfb9f260cf355d8264bb1924a2aa61ed12fd3b5b431a4f619e33e3c7d53f2f7f68
+DIST extra-cmake-modules-5.81.0.tar.xz 357528 BLAKE2B 89e5e401dc31a9278977a91c4f253b17a5ac6d0863d66f47b820dd00ec70a507eab14d0b344a7a8147e2262c2576ae407c7a855574523b61a87bfcebb2d14d16 SHA512 b01d36c5d16ff2ad6ccbc55c58d95dc14880ff6d55d408d933eba55199c63e665856a93ccf441f9eb154e0a52837e1d78470ed876490ae2f0ae0a60e63f8dc2f
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.81.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.81.0.ebuild
new file mode 100644
index 000000000000..6bd09789c613
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.81.0.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+QTMIN=5.15.2
+inherit cmake 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 ~ppc ~ppc64 ~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.72.0-skip-ecm_add_test-early.patch"
+ "${FILESDIR}/${PN}-5.74.0-disable-qmlplugindump.patch"
+)
+
+python_check_deps() {
+ 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
+}