[arch-commits] Commit in qt5-doc/kde-unstable (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Tue May 2 14:57:50 UTC 2017
Date: Tuesday, May 2, 2017 @ 14:57:49
Author: arojas
Revision: 295183
Update to 5.9.0beta3
Modified:
qt5-doc/kde-unstable/PKGBUILD
----------+
PKGBUILD | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-05-02 14:44:52 UTC (rev 295182)
+++ PKGBUILD 2017-05-02 14:57:49 UTC (rev 295183)
@@ -12,7 +12,7 @@
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='A cross-platform application and UI framework (Documentation)'
depends=('qt5-base')
-makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite')
+makedepends=('qt5-tools' 'python2' 'pciutils' 'libxtst' 'libxcursor' 'libxrandr' 'libxss' 'libxcomposite' 'git')
groups=('qt' 'qt5')
_pkgfqn="qt-everywhere-opensource-src-${_qtver}"
source=("http://download.qt.io/development_releases/qt/${pkgver%.*}/${_qtver}/single/${_pkgfqn}.tar.xz")
@@ -21,17 +21,9 @@
prepare() {
cd ${_pkgfqn}
- # Use python2 for Python 2.x
- find . -name '*.py' -exec sed -i \
- 's|#![ ]*/usr/bin/python$|&2|;s|#![ ]*/usr/bin/env python$|&2|' {} +
- find -name '*.pro' -o -name '*.pri' -o -name '*.prf' | xargs sed -i -e 's|python -c|python2 -c|g' -e 's|python \$|python2 \$|g'
-
ln -s /usr/bin qttools/
ln -s /usr/bin/{rcc,uic,moc} qtbase/bin/
- # workaround c++11 detection with GCC6
- sed -e '/requires(c++11)/d' -i qtserialbus/qtserialbus.pro
-
# Hack to force using python2
cd "$srcdir"
mkdir -p bin
More information about the arch-commits
mailing list