diff options
Diffstat (limited to 'user/extra-cmake-modules')
-rw-r--r-- | user/extra-cmake-modules/APKBUILD | 25 | ||||
-rw-r--r-- | user/extra-cmake-modules/posix.patch | 2 |
2 files changed, 12 insertions, 15 deletions
diff --git a/user/extra-cmake-modules/APKBUILD b/user/extra-cmake-modules/APKBUILD index 40bff86ff..b35bcb3ea 100644 --- a/user/extra-cmake-modules/APKBUILD +++ b/user/extra-cmake-modules/APKBUILD @@ -1,44 +1,41 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=extra-cmake-modules -pkgver=5.54.0 +pkgver=5.94.0 pkgrel=0 pkgdesc="CMake modules needed for KDE development" url="https://www.kde.org/" -arch="all" +arch="noarch" +options="!dbg !check" # apparently tests can't be built in a git repo license="BSD-3-Clause" -options="!dbg" depends="" makedepends="cmake qt5-qtbase-dev qt5-qttools-dev qt5-qtdeclarative-dev - qt5-qtquickcontrols" -subpackages="" + qt5-qtquickcontrols py3-sphinx" +subpackages="$pkgname-doc" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/extra-cmake-modules-$pkgver.tar.xz - posix.patch" + posix.patch + " build() { - cd "$builddir" if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ - -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} . make } check() { - cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE \ - ctest -E '(relative_or_absolute_|KDEFetchTranslations|ECMToolchainAndroidTest|ECMPoQmToolsTest)' + ctest -E '(relative_or_absolute_|KDEFetchTranslations|ECMGeneratePkgConfigFile)' } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } -sha512sums="2c592ab659dc2c1167111d394b976f7d008b9c3e8e18aea06001f4852f93d6a0e61c2ea5f6add2680e11f76da9f5f8c437afd350c5d3224cf1e9adba2dd765e1 extra-cmake-modules-5.54.0.tar.xz -0af703a9d4696080bc52032d1d341e86fd142bef91f3c1afa9cf180e1cf2ff3bba2ea47fd36b8f52135f056a202c58a08e7c7525f671d6993839865ce6aef0f6 posix.patch" +sha512sums="c76e27ded4d5108d756b5891c64cbfbaad8a944e2cc5ce3a1b56ef395bad9688e493a1d8a6e91c2910e156ff5ff018ed054a4b3825b093c877e6c445eb74179e extra-cmake-modules-5.94.0.tar.xz +7787ce077da9e1d0ff082d19591739265d8d63c2a70c9c4f87836327154cd5221850cefefe9291712c121d5875c7442b4a276535f4214ac653dde692a82f398a posix.patch" diff --git a/user/extra-cmake-modules/posix.patch b/user/extra-cmake-modules/posix.patch index 4ed301d5e..aa381080f 100644 --- a/user/extra-cmake-modules/posix.patch +++ b/user/extra-cmake-modules/posix.patch @@ -17,7 +17,7 @@ diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSett index dfa29f7..f50911c 100644 --- a/kde-modules/KDECompilerSettings.cmake +++ b/kde-modules/KDECompilerSettings.cmake -@@ -140,6 +140,9 @@ if (UNIX) +@@ -313,6 +313,9 @@ if (UNIX) # implementation recognize it? _kde_add_platform_definitions(-D_LARGEFILE64_SOURCE) |