summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-09 13:58:13 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-09 13:58:13 +0100
commit0a353bad57296d34a69b3df25e53a6b00d3bd369 (patch)
tree6a45df92d5f875e3004a215c7380c890015b771a /extra
parent0d2db49bfa6eaddb1409e9cdaf4e688341e75382 (diff)
Disable all qt5 modules that need V8.
Diffstat (limited to 'extra')
-rw-r--r--extra/qt5/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/qt5/PKGBUILD b/extra/qt5/PKGBUILD
index d4e5ae7d9..1a8a9f92f 100644
--- a/extra/qt5/PKGBUILD
+++ b/extra/qt5/PKGBUILD
@@ -3,21 +3,23 @@
pkgbase=qt5
pkgname=('qt5-base'
+ 'qt5-imageformats'
+ 'qt5-script'
+ 'qt5-svg'
+ 'qt5-xmlpatterns')
+# V8 is not ported yet to mips64el, don't build jsbackend and its reverse dependencies there.
+[ "$CARCH" != "mips64el" ] && pkgname+=(
'qt5-declarative'
'qt5-graphicaleffects'
- 'qt5-imageformats'
'qt5-jsbackend'
'qt5-multimedia'
'qt5-quick1'
- 'qt5-script'
- 'qt5-svg'
'qt5-tools'
'qt5-translations'
- 'qt5-webkit'
- 'qt5-xmlpatterns')
+ 'qt5-webkit')
pkgver=5.0.1
pkgrel=6
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'mips64el')
url='http://qt-project.org/'
license=('GPL3' 'LGPL')
makedepends=('libxcb' 'xcb-proto' 'xcb-util' 'xcb-util-image' 'xcb-util-wm' 'xcb-util-keysyms'
@@ -82,7 +84,9 @@ build() {
-reduce-relocations \
$extra
- make
+ [ "$CARCH" = "mips64el" ] && modules="module-qtbase module-qtimageformats module-qtscript module-qtsvg module-qtxmlpatterns"
+
+ make $modules
}
package_qt5-base() {