[Armadeus-commitlog] armadeus branch, master, updated. armadeus-7.0-110-g3805f79de
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2019-07-23 15:33:13
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 3805f79dea9ce72cee81cc40ca2901e56f83e4e9 (commit)
from 846e706268236387a02b1a57f9bc6797968641f5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 3805f79dea9ce72cee81cc40ca2901e56f83e4e9
Author: Julien BOIBESSOT <jul...@ar...>
Date: Tue Jul 23 17:31:14 2019 +0200
[BUILDROOT] 2019.02: add thinger.io client package
-----------------------------------------------------------------------
Summary of changes:
...040-armadeus-add-thingerio-client-package.patch | 96 ++++++++++++++++++++++
patches/buildroot/2019.02/cleanup_buildroot.sh | 3 +
2 files changed, 99 insertions(+)
create mode 100644 patches/buildroot/2019.02/040-armadeus-add-thingerio-client-package.patch
diff --git a/patches/buildroot/2019.02/040-armadeus-add-thingerio-client-package.patch b/patches/buildroot/2019.02/040-armadeus-add-thingerio-client-package.patch
new file mode 100644
index 000000000..0f26d8252
--- /dev/null
+++ b/patches/buildroot/2019.02/040-armadeus-add-thingerio-client-package.patch
@@ -0,0 +1,96 @@
+Vive le Claude...
+
+Signed-off-by: Julien Boibessot <jul...@ar...>
+
+Index: buildroot/package/thingerio/Config.in
+===================================================================
+--- /dev/null
++++ buildroot/package/thingerio/Config.in
+@@ -0,0 +1,33 @@
++config BR2_PACKAGE_THINGERIO
++ bool "thinger"
++ depends on !BR2_STATIC_LIBS
++ help
++ thinger is the thinger.io Linux client. If openssl is present
++ it will make use of it.
++
++ https://github.com/thinger-io/Linux-Client
++
++comment "thinger needs a toolchain w/ dynamic library"
++ depends on BR2_STATIC_LIBS
++
++if BR2_PACKAGE_THINGERIO
++
++config BR2_PACKAGE_THINGERIO_USER_ID
++ string "User ID"
++ default "YOUR_USER_ID"
++ help
++ Thinger.io User ID that will be used by thinger app (hardcoded in source code).
++
++config BR2_PACKAGE_THINGERIO_DEVICE_ID
++ string "Device ID"
++ default "YOUR_DEVICE_ID"
++ help
++ Thinger.io Device ID that will be used by thinger app (hardcoded in source code).
++
++config BR2_PACKAGE_THINGERIO_DEVICE_CREDENTIAL
++ string "Device credential"
++ default "YOUR_DEVICE_CREDENTIAL"
++ help
++ Thinger.io User ID that will be used by thinger app (hardcoded in source code).
++
++endif
+Index: buildroot/package/thingerio/thingerio.mk
+===================================================================
+--- /dev/null
++++ buildroot/package/thingerio/thingerio.mk
+@@ -0,0 +1,30 @@
++################################################################################
++#
++# thingerio
++#
++################################################################################
++
++THINGERIO_VERSION = 6bbd564ed3875fa5ef1ae8e6e65cd645ca8e8150
++THINGERIO_SITE = $(call github,thinger-io,Linux-Client,$(THINGERIO_VERSION))
++THINGERIO_LICENSE = MIT
++THINGERIO_LICENSE_FILES = README.md
++
++ifeq ($(BR2_PACKAGE_HAS_OPENSSL),y)
++THINGERIO_DEPENDENCIES += openssl
++else
++THINGERIO_CONF_OPTS += -DENABLE_OPENSSL=OFF
++endif
++
++define THINGERIO_MODIFY_IDS
++ $(SED) "s/YOUR_USER_ID/$(BR2_PACKAGE_THINGERIO_USER_ID)/" $(@D)/src/main.cpp
++ $(SED) "s/YOUR_DEVICE_ID/$(BR2_PACKAGE_THINGERIO_DEVICE_ID)/" $(@D)/src/main.cpp
++ $(SED) "s/YOUR_DEVICE_CREDENTIAL/$(BR2_PACKAGE_THINGERIO_DEVICE_CREDENTIAL)/" $(@D)/src/main.cpp
++endef
++
++THINGERIO_POST_EXTRACT_HOOKS += THINGERIO_MODIFY_IDS
++
++define THINGERIO_INSTALL_TARGET_CMDS
++ $(INSTALL) -D -m 755 $(@D)/thinger $(TARGET_DIR)/usr/local/bin/thinger
++endef
++
++$(eval $(cmake-package))
+Index: buildroot/package/Config.in
+===================================================================
+--- buildroot.orig/package/Config.in
++++ buildroot/package/Config.in
+@@ -1633,6 +1633,7 @@ menu "Networking"
+ source "package/snmppp/Config.in"
+ source "package/sofia-sip/Config.in"
+ source "package/thrift/Config.in"
++ source "package/thingerio/Config.in"
+ source "package/usbredir/Config.in"
+ source "package/wampcc/Config.in"
+ source "package/websocketpp/Config.in"
+Index: buildroot/package/thingerio/thingerio.hash
+===================================================================
+--- /dev/null
++++ buildroot/package/thingerio/thingerio.hash
+@@ -0,0 +1,2 @@
++# Locally computed
++sha256 12ac174c9da65213657289706170919f5f1eebfa24b8a9c4f16fd97fe7f19ba8 thingerio-6bbd564ed3875fa5ef1ae8e6e65cd645ca8e8150.tar.gz
diff --git a/patches/buildroot/2019.02/cleanup_buildroot.sh b/patches/buildroot/2019.02/cleanup_buildroot.sh
index 87132505b..fef00621b 100755
--- a/patches/buildroot/2019.02/cleanup_buildroot.sh
+++ b/patches/buildroot/2019.02/cleanup_buildroot.sh
@@ -183,6 +183,9 @@ rm -rf buildroot/package/sunxi-mali/egl.pc
rm -rf buildroot/package/sunxi-mali/glesv2.pc
rm -rf buildroot/package/sunxi-mali/sunxi-mali.hash
rm -rf buildroot/package/sunxi-mali/sunxi-mali.mk
+rm -rf buildroot/package/thingerio/Config.in
+rm -rf buildroot/package/thingerio/thingerio.hash
+rm -rf buildroot/package/thingerio/thingerio.mk
rm -rf buildroot/package/unzip/unzip.hash
rm -rf buildroot/package/unzip/unzip.mk
rm -rf buildroot/package/wolf4sdl/Config.in
hooks/post-receive
--
armadeus
|