Package Details: extra-cmake-modules-git 6.1.0.r3681.1e6808bd-1

Git Clone URL: https://aur.archlinux.org/extra-cmake-modules-git.git (read-only, click to copy)
Package Base: extra-cmake-modules-git
Description: Extra modules and scripts for CMake. (GIT version)
Upstream URL: https://projects.kde.org/projects/kdesupport/extra-cmake-modules
Keywords: extra-cmake-modules
Licenses: LGPL
Groups: kf6
Conflicts: extra-cmake-modules
Provides: extra-cmake-modules
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 38
Popularity: 0.051885
First Submitted: 2015-08-10 14:56 (UTC)
Last Updated: 2024-03-21 00:14 (UTC)

Dependencies (12)

Required by (939)

Sources (1)

Latest Comments

1 2 3 Next › Last »

MarsSeed commented on 2024-03-20 15:55 (UTC)

Fails in check() (clean chroot):

CMake Error at CMakeLists.txt:22 (message):
  Wrong repository name: extra-cmake-modules, should match
  '*/extra-cmake-modules'

Configuring incomplete, errors occurred!

99% tests passed, 1 tests failed out of 105

Total Test time (real) = 348.11 sec

The following tests FAILED:
          3 - KDEFetchTranslations (Failed)
Errors while running CTest
==> ERROR: A failure occurred in check().

MarsSeed commented on 2024-02-27 02:15 (UTC)

sip4??? Are you sure? That can't be right... o.O

But I do see that upstream still has quite some polishing and streamlining to do with their build config. (There are some work branches in the pipeline that touch Qt handling.)

sl1pkn07 commented on 2024-02-11 19:26 (UTC) (edited on 2024-02-11 19:28 (UTC) by sl1pkn07)

@MarsSeed, for make Qt bindings needs sip4, and the rules_engine is here https://invent.kde.org/frameworks/extra-cmake-modules/-/blob/master/find-modules/rules_engine.py?ref_type=heads

dreieck commented on 2023-10-30 18:13 (UTC)

Can you please change
provides=('extra-cmake-modules')
to
provides=("extra-cmake-modules=${pkgver}")?

kate-git needs a versioned make dependency on extra-cmake-modules, and extra-cmake-modules-git could then fulfill the versioned dependency.

Regards!

Rustmilian commented on 2023-03-15 14:46 (UTC) (edited on 2023-03-15 15:30 (UTC) by Rustmilian)

PKGBUILD

pkgname=extra-cmake-modules-git
pkgver=5.240.0_r3561.gbc92a861
pkgrel=1
pkgdesc='Extra modules and scripts for CMake. (GIT version)'
arch=('any')
url='https://community.kde.org/Frameworks'
license=('LGPL')
depends=('cmake')
makedepends=('git'
             'python-sphinx'
             'python-requests'
             'qt6-tools'
             'qt6-base'
             'qt6-declarative')
checkdepends=('reuse')
conflicts=('extra-cmake-modules')
provides=('extra-cmake-modules')
source=("git+https://github.com/KDE/${pkgname%-git}.git")
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  _ver="$(grep -m1 'set(VERSION' CMakeLists.txt | cut -d '"' -f2 | tr - .)"
  echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}

prepare() {
  sed 's|frameworks/||g' -i extra-cmake-modules/tests/KDEFetchTranslations/CMakeLists.txt
}

build() {
  cmake -B build -S ${pkgname%-git} \
    -DCMAKE_BUILD_TYPE=Release \
    -DQT_MAJOR_VERSION=6 \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DBUILD_QTHELP_DOCS=ON \
    -DBUILD_TESTING=ON
  cmake --build build
}

check() {
  cd build
  ctest --output-on-failure -E ECMPoQmToolsTest
}

package() {
  DESTDIR="${pkgdir}" cmake --install build
}

tech-man commented on 2022-08-03 17:16 (UTC)

as i'm trying to install this package in package() stage i get this error [code]CMake Error at docs/cmake_install.cmake:69 (file): file INSTALL cannot find "/home/tech-man/.cache/yay/extra-cmake-modules-git/src/build/docs/qthelp/ExtraCMakeModules.qch": No such file or directory. Call Stack (most recent call first): cmake_install.cmake:42 (include)

[/code]

IslandC0der commented on 2021-07-07 01:17 (UTC)

Hey, could you please add this patch?

It fixes a very annoying issue many users are having, where they can't compile certain KDE apps if they have python2 installed.

IslandC0der commented on 2021-06-03 15:40 (UTC)

Hi :)

Please consider adding this patch, otherwise we get __init__.py conflicts with certain KDE packages

desaparecido commented on 2021-05-17 15:01 (UTC)

solved in upstream:

"Fix doc build with Sphinx 4" https://github.com/KDE/extra-cmake-modules/commit/001f901ee297bb5346729a02e8920b7528e20717

builds fine now without patch