extra-cmake-modules: Update to 1.5.0 / 5.5.0
This commit is contained in:
@@ -4,8 +4,8 @@
|
||||
|
||||
_realname=extra-cmake-modules
|
||||
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}"
|
||||
pkgver=1.3.0
|
||||
_pkgver=5.3.0
|
||||
pkgver=1.5.0
|
||||
_pkgver=5.5.0
|
||||
pkgrel=1
|
||||
pkgdesc='Extra CMake modules (mingw-w64)'
|
||||
arch=('any')
|
||||
@@ -13,8 +13,10 @@ url='https://projects.kde.org/projects/kdesupport/extra-cmake-modules'
|
||||
license=('LGPL')
|
||||
depends=("${MINGW_PACKAGE_PREFIX}-cmake")
|
||||
# makedepends=('python-sphinx') # qt5-tools for QtHelp pages
|
||||
source=("http://download.kde.org/stable/frameworks/${_pkgver}/${_realname}-${pkgver}.tar.xz")
|
||||
md5sums=('a0b95a4e5ffb8bde51a95584292b03ed')
|
||||
source=("http://download.kde.org/stable/frameworks/${_pkgver%.*}/${_realname}-${pkgver}.tar.xz"
|
||||
"set-AUTOSTATICPLUGINS.patch")
|
||||
md5sums=('2967e1ac220cf9b3a52cd19ec2a608df'
|
||||
'0d249754247382f3b8dda80d6833aac4')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build-${CARCH}
|
||||
|
||||
15
mingw-w64-extra-cmake-modules/set-AUTOSTATICPLUGINS.patch
Normal file
15
mingw-w64-extra-cmake-modules/set-AUTOSTATICPLUGINS.patch
Normal file
@@ -0,0 +1,15 @@
|
||||
diff -urN extra-cmake-modules-1.5.0.orig/kde-modules/KDECMakeSettings.cmake extra-cmake-modules-1.5.0/kde-modules/KDECMakeSettings.cmake
|
||||
--- extra-cmake-modules-1.5.0.orig/kde-modules/KDECMakeSettings.cmake 2015-01-04 01:35:09.800389800 +0000
|
||||
+++ extra-cmake-modules-1.5.0/kde-modules/KDECMakeSettings.cmake 2015-01-04 01:37:00.535144400 +0000
|
||||
@@ -151,6 +151,11 @@
|
||||
# Since CMake 2.8.6
|
||||
set(CMAKE_AUTOMOC ON)
|
||||
|
||||
+ # Enable autostaticplugins in MSYS2 qt5-static/cmake
|
||||
+ # Since https://github.com/Alexpux/MINGW-packages/commit/e5517227778695a51bd56df07f1b05c43103ad3f
|
||||
+ # and https://github.com/Alexpux/MINGW-packages/commit/aa8f86ab267446002bcbb59e1455fbdf0d9f1cde
|
||||
+ set(CMAKE_AUTOSTATICPLUGINS ON)
|
||||
+
|
||||
# By default, create 'GUI' executables. This can be reverted on a per-target basis
|
||||
# using ECMMarkNonGuiExecutable
|
||||
# Since CMake 2.8.8
|
||||
Reference in New Issue
Block a user