Date: Saturday, November 13, 2021 @ 11:09:21 Author: arojas Revision: 428218
archrelease: copy trunk to testing-any Added: extra-cmake-modules/repos/testing-any/ extra-cmake-modules/repos/testing-any/ECM-no-init.py.patch (from rev 428217, extra-cmake-modules/trunk/ECM-no-init.py.patch) extra-cmake-modules/repos/testing-any/PKGBUILD (from rev 428217, extra-cmake-modules/trunk/PKGBUILD) ----------------------+ ECM-no-init.py.patch | 10 ++++++++++ PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) Copied: extra-cmake-modules/repos/testing-any/ECM-no-init.py.patch (from rev 428217, extra-cmake-modules/trunk/ECM-no-init.py.patch) =================================================================== --- testing-any/ECM-no-init.py.patch (rev 0) +++ testing-any/ECM-no-init.py.patch 2021-11-13 11:09:21 UTC (rev 428218) @@ -0,0 +1,10 @@ +diff --git a/find-modules/GeneratePythonBindingUmbrellaModule.cmake b/find-modules/GeneratePythonBindingUmbrellaModule.cmake +index de79393..144fab4 100644 +--- a/find-modules/GeneratePythonBindingUmbrellaModule.cmake ++++ b/find-modules/GeneratePythonBindingUmbrellaModule.cmake +@@ -4,4 +4,4 @@ get_filename_component(PYTHON_UMBRELLA_MODULE_DIR ${PYTHON_UMBRELLA_MODULE_FILE} + + file(MAKE_DIRECTORY "${PYTHON_UMBRELLA_MODULE_DIR}") + +-execute_process(COMMAND "${CMAKE_COMMAND}" -E touch "${PYTHON_UMBRELLA_MODULE_FILE}") ++#execute_process(COMMAND "${CMAKE_COMMAND}" -E touch "${PYTHON_UMBRELLA_MODULE_FILE}") Copied: extra-cmake-modules/repos/testing-any/PKGBUILD (from rev 428217, extra-cmake-modules/trunk/PKGBUILD) =================================================================== --- testing-any/PKGBUILD (rev 0) +++ testing-any/PKGBUILD 2021-11-13 11:09:21 UTC (rev 428218) @@ -0,0 +1,39 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Andrea Scarpino <and...@archlinux.org> + +pkgname=extra-cmake-modules +pkgver=5.88.0 +pkgrel=1 +pkgdesc='Extra modules and scripts for CMake' +arch=(any) +url='https://community.kde.org/Frameworks' +license=(LGPL) +depends=(cmake) +makedepends=(python-sphinx python-requests qt5-tools) +optdepends=('python-pyxdg: to generate fastlane metadata for Android apps' + 'python-requests: to generate fastlane metadata for Android apps' + 'python-yaml: to generate fastlane metadata for Android apps') +groups=(kf5) +source=(https://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz{,.sig} + ECM-no-init.py.patch) +sha256sums=('33bd83908daa531654455b77fc121b598f757aadf8ba01dbacfda8b8fb050319' + 'SKIP' + '5695e45c7621a00c0bca28f058c13b5d524f963a00b53337c8cefcdaf22c4b52') +validpgpkeys=(53E6B47B45CEA3E0D5B7457758D0EE648A48B3BB) # David Faure <fa...@kde.org> + +prepare() { + patch -d $pkgname-$pkgver -p1 < ECM-no-init.py.patch # Don't create __init__.py +} + +build() { + cmake -B build -S $pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_HTML_DOCS=ON \ + -DBUILD_QTHELP_DOCS=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}