update buildroot to 2017.02.11
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
From 254858bbf443bded2e80480e9f9032ce166b923e Mon Sep 17 00:00:00 2001
|
||||
From: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
|
||||
Date: Fri, 2 Dec 2016 23:00:58 +0100
|
||||
Subject: [PATCH] CMake, Qt4: check specifically for QtCore, fixes #96
|
||||
|
||||
Signed-off-by: Zoltan Gyarmati <mr.zoltan.gyarmati@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 31d9987..2fde79f 100755
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -62,7 +62,7 @@ IF (Qt5Core_FOUND)
|
||||
ELSE()
|
||||
MESSAGE ("Qt5 not found, searching for Qt4")
|
||||
# Find Qt4
|
||||
- FIND_PACKAGE( Qt4 4.5 REQUIRED )
|
||||
+ FIND_PACKAGE( Qt4 4.5 REQUIRED QtCore)
|
||||
# QStringBuilder is supported since Qt 4.8 for both QString and QByteArray
|
||||
IF (NOT (${QT_VERSION_MINOR} STRLESS "8"))
|
||||
MESSAGE ("Enable QStringBuilder")
|
||||
--
|
||||
2.7.4
|
||||
|
||||
13
bsp/buildroot-2017.02.11/package/qjson/Config.in
Normal file
13
bsp/buildroot-2017.02.11/package/qjson/Config.in
Normal file
@@ -0,0 +1,13 @@
|
||||
config BR2_PACKAGE_QJSON
|
||||
bool "qjson"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_QT || BR2_PACKAGE_QT5
|
||||
help
|
||||
QJson is a Qt-based library that maps JSON data to
|
||||
QVariant objects and vice versa.
|
||||
|
||||
http://qjson.sourceforge.net
|
||||
|
||||
comment "qjson needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
depends on !BR2_PACKAGE_QT && !BR2_PACKAGE_QT5
|
||||
2
bsp/buildroot-2017.02.11/package/qjson/qjson.hash
Normal file
2
bsp/buildroot-2017.02.11/package/qjson/qjson.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# locally computed
|
||||
sha256 e812617477f3c2bb990561767a4cd8b1d3803a52018d4878da302529552610d4 qjson-0.9.0.tar.gz
|
||||
16
bsp/buildroot-2017.02.11/package/qjson/qjson.mk
Normal file
16
bsp/buildroot-2017.02.11/package/qjson/qjson.mk
Normal file
@@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# qjson
|
||||
#
|
||||
################################################################################
|
||||
|
||||
QJSON_VERSION = 0.9.0
|
||||
QJSON_SITE = $(call github,flavio,qjson,$(QJSON_VERSION))
|
||||
QJSON_INSTALL_STAGING = YES
|
||||
QJSON_DEPENDENCIES = \
|
||||
$(if $(BR2_PACKAGE_QT),qt) \
|
||||
$(if $(BR2_PACKAGE_QT5),qt5base)
|
||||
QJSON_LICENSE = LGPLv2.1
|
||||
QJSON_LICENSE_FILES = COPYING.lib
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user