[arch-commits] Commit in extra-cmake-modules/trunk (PKGBUILD pri-install-dir.patch)
Antonio Rojas
arojas at archlinux.org
Thu Jun 23 07:46:43 UTC 2016
Date: Thursday, June 23, 2016 @ 07:46:43
Author: arojas
Revision: 270488
Fix .pri install dir (KDEBUG#363348)
Added:
extra-cmake-modules/trunk/pri-install-dir.patch
Modified:
extra-cmake-modules/trunk/PKGBUILD
-----------------------+
PKGBUILD | 11 ++++++++---
pri-install-dir.patch | 11 +++++++++++
2 files changed, 19 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-06-22 21:25:36 UTC (rev 270487)
+++ PKGBUILD 2016-06-23 07:46:43 UTC (rev 270488)
@@ -4,7 +4,7 @@
pkgname=extra-cmake-modules
pkgver=5.23.0
-pkgrel=1
+pkgrel=2
pkgdesc='Extra modules and scripts for CMake'
arch=('any')
url='https://community.kde.org/Frameworks'
@@ -11,11 +11,16 @@
license=('LGPL')
depends=('cmake')
makedepends=('python-sphinx') # qt5-tools for QtHelp pages
-source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz")
-md5sums=('3c04b695a164407a2a2fcaf848c42c55')
+source=("http://download.kde.org/stable/frameworks/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz" pri-install-dir.patch)
+md5sums=('3c04b695a164407a2a2fcaf848c42c55'
+ '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() {
Added: pri-install-dir.patch
===================================================================
--- pri-install-dir.patch (rev 0)
+++ pri-install-dir.patch 2016-06-23 07:46:43 UTC (rev 270488)
@@ -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