libunwind: update to 1.8.1
[openadk.git] / package / qtbase / Makefile
blobce054fae04dff9767bb13617af36e8f9a942b301
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= qtbase
7 PKG_VERSION:= 5.7.0
8 PKG_RELEASE:= 1
9 PKG_HASH:= 3e7b6d123cab23a587ccbc45173296b33786faa409dba0494e4658fda3ede646
10 PKG_DESCR:= qt5 base
11 PKG_SECTION:= libs/qt
12 PKG_DEPENDS:= zlib libressl
13 PKG_BUILDDEP:= zlib libressl
14 PKG_NEEDS:= c++
15 PKG_URL:= https://www.qt.io/
16 PKG_SITES:= http://download.qt.io/official_releases/qt/5.7/$(PKG_VERSION)/submodules/
18 DISTFILES:= $(PKG_NAME)-opensource-src-$(PKG_VERSION).tar.xz
19 WRKDIST= $(WRKDIR)/$(PKG_NAME)-opensource-src-$(PKG_VERSION)
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call PKG_template,QTBASE,qtbase,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
25 CONFIGURE_ENV:=
26 CONFIG_STYLE:= minimal
27 CONFIGURE_ARGS+= -v \
28 -prefix /usr \
29 -hostprefix $(STAGING_HOST_DIR) \
30 -opensource \
31 -confirm-license \
32 -no-nis \
33 -no-pch \
34 -no-cups \
35 -no-iconv \
36 -no-rpath \
37 -no-gstreamer \
38 -no-dbus \
39 -no-pulseaudio \
40 -no-alsa \
41 -no-openssl \
42 -release \
43 -shared \
44 -system-zlib \
45 -nomake tests \
46 -nomake examples \
47 -device openadk \
48 -device-option CROSS_COMPILE="$(TARGET_CROSS)" \
49 -device-option ADK_COMPILER_CFLAGS="$(TARGET_CFLAGS)" \
50 -device-option ADK_COMPILER_CXXFLAGS="$(TARGET_CXXFLAGS)" \
51 -device-option ADK_COMPILER_LDFLAGS="$(TARGET_LDFLAGS)" \
52 -no-gcc-sysroot \
53 -sysroot $(STAGING_TARGET_DIR)
55 pre-configure:
56 $(INSTALL_DIR) $(WRKBUILD)/mkspecs/devices/linux-openadk-g++/
57 $(CP) ./files/qmake.conf $(WRKBUILD)/mkspecs/devices/linux-openadk-g++/
58 $(CP) ./files/qplatformdefs.h $(WRKBUILD)/mkspecs/devices/linux-openadk-g++/
60 qtbase-install:
61 $(INSTALL_DIR) $(IDIR_QTBASE)/usr/lib
62 $(CP) $(STAGING_TARGET_DIR)/usr/lib/libQt5*.so* $(IDIR_QTBASE)/usr/lib
64 include $(ADK_TOPDIR)/mk/pkg-bottom.mk