[arch-commits] Commit in qt/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Thu Mar 17 12:45:02 UTC 2011
Date: Thursday, March 17, 2011 @ 08:45:02
Author: andrea
Revision: 115256
upgpkg: qt 4.7.2-3
mysql rebuild
Modified:
qt/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2011-03-17 12:38:41 UTC (rev 115255)
+++ PKGBUILD 2011-03-17 12:45:02 UTC (rev 115256)
@@ -4,7 +4,7 @@
pkgname=qt
pkgver=4.7.2
-pkgrel=1
+pkgrel=3
pkgdesc='A cross-platform application and UI framework'
arch=('i686' 'x86_64')
url='http://qt.nokia.com/'
@@ -109,4 +109,13 @@
# Fix wrong path in prl files
find ${pkgdir}/usr/lib -type f -name '*.prl' \
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d;s/\(QMAKE_PRL_LIBS =\).*/\1/' {} \;
+
+ # Install QtDeclarative private headers needed by QtCreator (FS#23263)
+ install -d ${pkgdir}/usr/include/QtDeclarative
+ cd ${srcdir}/$_pkgfqn/src/declarative/
+ find . -name *_p.h -exec install -m644 {} \
+ ${pkgdir}/usr/include/QtDeclarative/ \; &> /dev/null
+ cd ${pkgdir}/usr/include/QtDeclarative/
+ sed -i 's|#include <private/|#include <|' *_p.h
+ sed -i 's|#include "private/|#include "|' *_p.h
}
More information about the arch-commits
mailing list