summaryrefslogtreecommitdiffstats
path: root/rules/host-qt5.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2017-02-09 17:31:41 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-02-09 17:32:59 +0100
commit610bd6143159cc34cd2d57a093edd326fdcc04bd (patch)
treed1500ee2c80dec68be8c3ee209dd90079cd91c31 /rules/host-qt5.make
parentf278aed8a2bab78d360ac8eba6c3d38ee1eefe17 (diff)
downloadptxdist-610bd6143159cc34cd2d57a093edd326fdcc04bd.tar.gz
ptxdist-610bd6143159cc34cd2d57a093edd326fdcc04bd.tar.xz
host-qt5: new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/host-qt5.make')
-rw-r--r--rules/host-qt5.make162
1 files changed, 162 insertions, 0 deletions
diff --git a/rules/host-qt5.make b/rules/host-qt5.make
new file mode 100644
index 000000000..923b19562
--- /dev/null
+++ b/rules/host-qt5.make
@@ -0,0 +1,162 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2017 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+HOST_PACKAGES-$(PTXCONF_HOST_QT5) += host-qt5
+
+HOST_QT5_BUILD_OOT := YES
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+HOST_QT5_CONF_TOOL := autoconf
+HOST_QT5_CONF_OPT := \
+ $(if $(filter 1,$(PTXDIST_VERBOSE)),-v) \
+ $(if $(filter 0,$(PTXDIST_VERBOSE)),-silent) \
+ -prefix / \
+ -bindir /bin/qt5 \
+ -headerdir /include/qt5 \
+ -archdatadir /lib/qt5 \
+ -datadir /share/qt5 \
+ -hostbindir /bin/qt5 \
+ -release \
+ --disable-optimized-tools \
+ -opensource \
+ -confirm-license \
+ --enable-shared \
+ --disable-accessibility \
+ --disable-sql-db2 \
+ --disable-sql-ibase \
+ --disable-sql-mysql \
+ --disable-sql-oci \
+ --disable-sql-odbc \
+ --disable-sql-psql \
+ --disable-sql-sqlite2 \
+ --disable-sql-tds \
+ --disable-sql-sqlite \
+ --disable-qml-debug \
+ -pkg-config \
+ -force-pkg-config \
+ \
+ -system-zlib \
+ --disable-mtdev \
+ --disable-journald \
+ --disable-syslog \
+ -no-gif \
+ -no-libpng \
+ -no-libjpeg \
+ -no-freetype \
+ -qt-harfbuzz \
+ --disable-openssl \
+ --disable-libproxy \
+ -qt-pcre \
+ -system-xcb \
+ -no-xkbcommon-x11 \
+ --disable-xkbcommon-evdev \
+ --disable-xinput2 \
+ --disable-xcb-xlib \
+ --disable-glib \
+ --disable-pulseaudio \
+ --disable-alsa \
+ --disable-gtkstyle \
+ \
+ -make libs \
+ -make tools \
+ -skip qt3d \
+ -skip qtactiveqt \
+ -skip qtandroidextras \
+ -skip qtcanvas3d \
+ -skip qtconnectivity \
+ -skip qtdeclarative \
+ -skip qtdoc \
+ -skip qtenginio \
+ -skip qtgraphicaleffects \
+ -skip qtimageformats \
+ -skip qtlocation \
+ -skip qtmacextras \
+ -skip qtmultimedia \
+ -skip qtquickcontrols \
+ -skip qtquickcontrols2 \
+ -skip qtscript \
+ -skip qtsensors \
+ -skip qtserialbus \
+ -skip qtserialport \
+ -skip qtsvg \
+ -skip qttools \
+ -skip qttranslations \
+ -skip qtwayland \
+ -skip qtwebchannel \
+ -skip qtwebengine \
+ -skip qtwebsockets \
+ -skip qtwebview \
+ -skip qtwinextras \
+ -skip qtx11extras \
+ -skip qtxmlpatterns \
+ --disable-compile-examples \
+ --disable-gui \
+ --disable-widgets \
+ --disable-rpath \
+ --disable-nis \
+ --disable-cups \
+ --disable-iconv \
+ --disable-evdev \
+ --disable-tslib \
+ --disable-icu \
+ --disable-fontconfig \
+ --disable-strip \
+ --disable-pch \
+ --disable-ltcg \
+ --disable-dbus \
+ --disable-separate-debug-info \
+ --disable-xcb \
+ --disable-eglfs \
+ --disable-kms \
+ --disable-gbm \
+ --disable-directfb \
+ --disable-linuxfb \
+ --disable-mirclient \
+ --opengl=no \
+ --disable-libinput \
+ -no-gstreamer \
+ --disable-system-proxies
+
+# Note: these options are not listed in '--help' but they exist
+QT5_CONF_OPT += \
+ --disable-sm \
+ --disable-openvg \
+ --disable-libudev \
+ --disable-egl \
+ --disable-xkb \
+ --disable-xrender \
+ --disable-xvideo
+
+HOST_QT5_QT_CONF := $(PTXDIST_SYSROOT_HOST)/bin/qt5/qt.conf
+
+$(STATEDIR)/host-qt5.install.post:
+ @$(call targetinfo)
+ @$(call world/install.post, HOST_QT5)
+ @echo "[Paths]" > $(HOST_QT5_QT_CONF)
+ @echo "HostPrefix=$(PTXDIST_SYSROOT_HOST)" >> $(HOST_QT5_QT_CONF)
+ @echo "HostData=$(PTXDIST_SYSROOT_HOST)/lib/qt5" >> $(HOST_QT5_QT_CONF)
+ @echo "HostBinaries=$(PTXDIST_SYSROOT_HOST)/bin/qt5" >> $(HOST_QT5_QT_CONF)
+ @echo "Prefix=$(PTXDIST_SYSROOT_HOST)" >> $(HOST_QT5_QT_CONF)
+ @echo "Headers=$(PTXDIST_SYSROOT_HOST)/include/qt5" >> $(HOST_QT5_QT_CONF)
+ @echo "Data=$(PTXDIST_SYSROOT_HOST)/share/qt5" >> $(HOST_QT5_QT_CONF)
+ @echo "Binaries=$(PTXDIST_SYSROOT_HOST)/bin/qt5" >> $(HOST_QT5_QT_CONF)
+ @echo "" >> $(HOST_QT5_QT_CONF)
+ @$(call touch)
+
+# vim: syntax=make