summaryrefslogtreecommitdiff
path: root/chunks/qt4-tools.morph
diff options
context:
space:
mode:
authorAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:02:36 +0000
committerAdam Coldrick <adam.coldrick@codethink.co.uk>2014-04-14 16:13:23 +0000
commitaa85df216ef454a47f2d6d027fcec2400d1083e3 (patch)
treeeb238277d6e9f1c7be5d99043d507d9c0e5961ff /chunks/qt4-tools.morph
parent519294adf840fd3981a9aafc7744d3fe66301c68 (diff)
downloaddefinitions-aa85df216ef454a47f2d6d027fcec2400d1083e3.tar.gz
Add chunk morphologies to the definitions repository
Diffstat (limited to 'chunks/qt4-tools.morph')
-rw-r--r--chunks/qt4-tools.morph21
1 files changed, 21 insertions, 0 deletions
diff --git a/chunks/qt4-tools.morph b/chunks/qt4-tools.morph
new file mode 100644
index 00000000..4e979b7d
--- /dev/null
+++ b/chunks/qt4-tools.morph
@@ -0,0 +1,21 @@
+name: qt4-tools
+kind: chunk
+repo: upstream:qt4-tools
+ref: a182f020bc1703c20d86ba18f2f6b4ea8889de84
+unpetrify-ref: baserock/morph
+max-jobs: 1
+configure-commands:
+- |
+ arch=$(uname -m)
+ if [ "${arch}" != "${arch//arm/}" ] ; then
+ sed 's/g++-unix.conf)/&\nQMAKE_CXXFLAGS += -fno-strict-volatile-bitfields/' \
+ -i mkspecs/linux-g++/qmake.conf
+ else
+ echo Running on x86, not modifying qmake.conf
+ fi
+- ./configure -v -prefix /usr -opensource -confirm-license
+build-commands:
+- make
+- LD_LIBRARY_PATH="$PWD"/lib QT_PLUGIN_PATH="$PWD"/plugins make docs
+install-commands:
+- make install INSTALL_ROOT="$DESTDIR"