summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-02-13 14:00:15 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2021-02-13 14:03:42 +0100
commitf6a3c1215c0dcae1da7010b458bb8122ce0091df (patch)
treeb5d35dcf9a8e69fb9267bd2ab6f45c69339faa43 /kde-frameworks/extra-cmake-modules
parentkde-frameworks/breeze-icons-rcc: 5.79.0 version bump (diff)
downloadgentoo-f6a3c1215c0dcae1da7010b458bb8122ce0091df.tar.gz
gentoo-f6a3c1215c0dcae1da7010b458bb8122ce0091df.tar.bz2
gentoo-f6a3c1215c0dcae1da7010b458bb8122ce0091df.zip
kde-frameworks/extra-cmake-modules: 5.79.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.79.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 d71a3c9210ae..3a055fcc6526 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.78.0.tar.xz 355416 BLAKE2B 379125601e7d946f16e39aee081e199f7cc3f683ab7babe654dd55bf0977923c7ac049f860cd37dd525a62b17fbc05a2454ce20fb3e241fdba903331e85873e9 SHA512 6cd3bd89d4cbd2463ca3e55538becdc0931b5bd351d5a692dcb9b5f63f3440f7cd0dd4f6f5cc2d2044c798b14d276c6a30d224188caf3e78b4a462facf649e4a
+DIST extra-cmake-modules-5.79.0.tar.xz 356596 BLAKE2B eb74d5be7b19831f26158a86c050952282276e0e0b75156ca81efc82adfc3472bdad9c011deda126b9d5f488671386caf87b4f243484b8ce768cdceca701ee4c SHA512 755d6a52d648fa471f18356f2efdb380397c66e69023da5859bec5d5c66f66d22636550bf3e99cbc5f2b2ab9274ac28219bf4f71a8a464a0b9761024181ea3f1
diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.79.0.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.79.0.ebuild
new file mode 100644
index 000000000000..6bd09789c613
--- /dev/null
+++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-5.79.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
+}