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