Browse Source

Merge pull request #11231 from nxhack/mraa_210

libmraa: update to 2.1.0
lilik-openwrt-22.03
Rosen Penev 5 years ago
committed by GitHub
parent
commit
834f5608cc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 12 deletions
  1. +10
    -10
      libs/libmraa/Makefile
  2. +2
    -2
      libs/libmraa/patches/010-version.patch

+ 10
- 10
libs/libmraa/Makefile View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=libmraa PKG_NAME:=libmraa
PKG_VERSION:=2.0.0
PKG_RELEASE:=2
PKG_VERSION:=2.1.0
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/intel-iot-devkit/mraa/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=c9f3c3741c6894be5516adecfe6b55a38960b6718b268a9afd645f7955e5a716
PKG_SOURCE_URL:=https://codeload.github.com/eclipse/mraa/tar.gz/v$(PKG_VERSION)?
PKG_HASH:=5351ce9eb654014d8ea7f43bdb2d17e6d1955536938a2ea0d467f4008e614345
PKG_BUILD_DIR:=$(BUILD_DIR)/mraa-$(PKG_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/mraa-$(PKG_VERSION)
PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>, Hirokazu MORIKAWA <morikw2@gmail.com> PKG_MAINTAINER:=John Crispin <blogic@openwrt.org>, Hirokazu MORIKAWA <morikw2@gmail.com>
@ -38,8 +38,8 @@ define Package/libmraa/Default
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
SUBMENU:=IoT SUBMENU:=IoT
TITLE:=Intel IoT lowlevel IO library
URL:=https://github.com/intel-iot-devkit/mraa
TITLE:=Eclipse MRAA lowlevel IO library
URL:=https://projects.eclipse.org/projects/iot.mraa
endef endef
define Package/libmraa/Default/description define Package/libmraa/Default/description
@ -52,7 +52,7 @@ endef
define Package/libmraa define Package/libmraa
$(call Package/libmraa/Default) $(call Package/libmraa/Default)
TITLE:=Intel IoT lowlevel IO C/C++ library
TITLE:=Eclipse MRAA lowlevel IO C/C++ library
DEPENDS:=+libstdcpp +libjson-c @!arc @!armeb @!powerpc DEPENDS:=+libstdcpp +libjson-c @!arc @!armeb @!powerpc
endef endef
@ -64,7 +64,7 @@ endef
define Package/libmraa-node define Package/libmraa-node
$(call Package/libmraa/Default) $(call Package/libmraa/Default)
TITLE:=Intel IoT lowlevel IO Node.js library
TITLE:=Eclipse MRAA lowlevel IO Node.js library
DEPENDS:=+libmraa +node DEPENDS:=+libmraa +node
endef endef
@ -76,7 +76,7 @@ endef
define Package/libmraa-python define Package/libmraa-python
$(call Package/libmraa/Default) $(call Package/libmraa/Default)
TITLE:=Intel IoT lowlevel IO Python library
TITLE:=Eclipse MRAA lowlevel IO Python library
DEPENDS:=+libmraa +python-light DEPENDS:=+libmraa +python-light
endef endef
@ -88,7 +88,7 @@ endef
define Package/libmraa-python3 define Package/libmraa-python3
$(call Package/libmraa/Default) $(call Package/libmraa/Default)
TITLE:=Intel IoT lowlevel IO Python3 library
TITLE:=Eclipse MRAA lowlevel IO Python3 library
DEPENDS:=+libmraa +python3-light DEPENDS:=+libmraa +python3-light
endef endef


+ 2
- 2
libs/libmraa/patches/010-version.patch View File

@ -8,9 +8,9 @@
-git_describe (VERSION "--tags") -git_describe (VERSION "--tags")
-if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_HEAD-HASH-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_-128-NOTFOUND") -if ("x_${VERSION}" STREQUAL "x_GIT-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_HEAD-HASH-NOTFOUND" OR "x_${VERSION}" STREQUAL "x_-128-NOTFOUND")
- message (WARNING " - Install git to compile a production libmraa!") - message (WARNING " - Install git to compile a production libmraa!")
- set (VERSION "v2.0.0")
- set (VERSION "v2.1.0")
-endif () -endif ()
+set (VERSION "v2.0.0")
+set (VERSION "v2.1.0")
message (STATUS "INFO - libmraa Version ${VERSION}") message (STATUS "INFO - libmraa Version ${VERSION}")
message (STATUS "INFO - cmake Version ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}") message (STATUS "INFO - cmake Version ${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}.${CMAKE_PATCH_VERSION}")

Loading…
Cancel
Save