[arch-commits] Commit in extra-cmake-modules/repos (3 files)
Felix Yan
felixonmars at archlinux.org
Mon Jul 11 00:58:38 UTC 2016
Date: Monday, July 11, 2016 @ 00:58:38
Author: felixonmars
Revision: 271268
archrelease: copy trunk to testing-any
Added:
extra-cmake-modules/repos/testing-any/
extra-cmake-modules/repos/testing-any/PKGBUILD
(from rev 271267, extra-cmake-modules/trunk/PKGBUILD)
extra-cmake-modules/repos/testing-any/pri-install-dir.patch
(from rev 271267, extra-cmake-modules/trunk/pri-install-dir.patch)
-----------------------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
pri-install-dir.patch | 11 +++++++++++
2 files changed, 50 insertions(+)
Copied: extra-cmake-modules/repos/testing-any/PKGBUILD (from rev 271267, extra-cmake-modules/trunk/PKGBUILD)
===================================================================
--- testing-any/PKGBUILD (rev 0)
+++ testing-any/PKGBUILD 2016-07-11 00:58:38 UTC (rev 271268)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=extra-cmake-modules
+pkgver=5.24.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') # qt5-tools for QtHelp pages
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" pri-install-dir.patch)
+md5sums=('cd3b0c844234ad29cfdba89d63ccb2ae'
+ '76ec20005b7a78be8ac88265b436c13a')
+
+prepare() {
+ mkdir -p build
+
+# Workaround wrong .pri install dir https://bugs.kde.org/show_bug.cgi?id=363348
+ cd $pkgname-$pkgver
+ patch -p1 -i ../pri-install-dir.patch
+}
+
+build() {
+ cd build
+ cmake ../${pkgname}-${pkgver} \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_HTML_DOCS=OFF \
+ -DBUILD_TESTING=OFF
+ make
+}
+
+package() {
+ cd build
+ make DESTDIR="${pkgdir}" install
+}
Copied: extra-cmake-modules/repos/testing-any/pri-install-dir.patch (from rev 271267, extra-cmake-modules/trunk/pri-install-dir.patch)
===================================================================
--- testing-any/pri-install-dir.patch (rev 0)
+++ testing-any/pri-install-dir.patch 2016-07-11 00:58:38 UTC (rev 271268)
@@ -0,0 +1,11 @@
+--- extra-cmake-modules-5.23.0/modules/ECMGeneratePriFile.cmake.orig 2016-06-23 07:40:57.240619651 +0000
++++ extra-cmake-modules-5.23.0/modules/ECMGeneratePriFile.cmake 2016-06-23 07:41:26.010499925 +0000
+@@ -84,6 +84,8 @@
+ # (To distribute this file outside of extra-cmake-modules, substitute the full
+ # License text for the above reference.)
+
++include(KDEInstallDirs)
++
+ if(KDE_INSTALL_USE_QT_SYS_PATHS)
+ include(ECMQueryQmake)
+ query_qmake(qt_host_data_dir QT_HOST_DATA)
More information about the arch-commits
mailing list