blob: 2ccc05c7e75ff98e07c1dee4f4dd079003eaf382 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Contributor: Ivan Tham <pickfire@riseup.net>
# Maintainer: team/kde <bribbers@disroot.org>
# The group tag is just to easily find this APKBUILD by some scripts for automation
# group=kde-frameworks
pkgname=extra-cmake-modules
pkgver=6.1.0
pkgrel=0
pkgdesc="Extra CMake modules"
url="https://invent.kde.org/frameworks/extra-cmake-modules"
arch="noarch"
license="BSD-3-Clause"
depends="
cmake
qt5-qttools-dev
qt6-qttools-dev
"
makedepends="
py3-sphinx
samurai
"
checkdepends="
qt6-qtbase-dev
qt6-qtdeclarative-dev
"
subpackages="$pkgname-doc"
_repo_url="https://invent.kde.org/frameworks/extra-cmake-modules.git"
source="https://download.kde.org/stable/frameworks/${pkgver%.*}/extra-cmake-modules-$pkgver.tar.xz"
build() {
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSphinx_BUILD_EXECUTABLE=/usr/bin/sphinx-build \
-DBUILD_QTHELP_DOCS=ON
cmake --build build
}
check() {
# KDEFetchTranslations expects KDE's git setup
ctest --test-dir build --output-on-failure -E "KDEFetchTranslations"
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
8e31c576e461de927b5f9ff7a0f6c368f95b66c721ef1fb810ae2f2e6ea486e0fe23766023c223c65c2a3cacc62466f0e38d6353c65cfa1db5a7f55f4e3a5820 extra-cmake-modules-6.1.0.tar.xz
"
|