Browse Source

librsocket-cpp: Update to 2019-09-22

Added URLs.

Added needed Boost patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
164e706f9d
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 19 additions and 4 deletions
  1. +7
    -4
      libs/librsocket-cpp/Makefile
  2. +12
    -0
      libs/librsocket-cpp/patches/103-boost.patch

+ 7
- 4
libs/librsocket-cpp/Makefile View File

@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=librsocket-cpp PKG_NAME:=librsocket-cpp
PKG_SOURCE_DATE:=2019-09-12
PKG_SOURCE_VERSION:=9226988e3da89eff8cd55952ccae61fcac0881fa
PKG_SOURCE_DATE:=2019-09-22
PKG_SOURCE_VERSION:=b268907312af589828634c143b9f35b58cd6cfea
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_SOURCE_DATE).tar.gz
PKG_SOURCE_URL:=https://codeload.github.com/rsocket/rsocket-cpp/tar.gz/$(PKG_SOURCE_VERSION)? PKG_SOURCE_URL:=https://codeload.github.com/rsocket/rsocket-cpp/tar.gz/$(PKG_SOURCE_VERSION)?
PKG_HASH:=3273012c1ffa149fddfac2b547315834e9a02ff0d8d1357196fec95391150ed6
PKG_HASH:=7ab4655d3d8148ce689f74a116ae7393d9e802f91d0dfd697ffd8daeff800e61
PKG_BUILD_DIR:=$(BUILD_DIR)/rsocket-cpp-$(PKG_SOURCE_VERSION) PKG_BUILD_DIR:=$(BUILD_DIR)/rsocket-cpp-$(PKG_SOURCE_VERSION)
PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com> PKG_MAINTAINER:=Amol Bhave <ambhave@fb.com>
@ -25,6 +25,7 @@ define Package/librsocket-cpp
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=C++ implementation of RSocket TITLE:=C++ implementation of RSocket
URL:=https://rsocket.io/
DEPENDS:=+libyarpl DEPENDS:=+libyarpl
endef endef
@ -32,6 +33,7 @@ define Package/libyarpl
SECTION:=libs SECTION:=libs
CATEGORY:=Libraries CATEGORY:=Libraries
TITLE:=yarpl: Yet Another Reactive Programming Library TITLE:=yarpl: Yet Another Reactive Programming Library
URL:=https://rsocket.io/
DEPENDS:=+libfolly DEPENDS:=+libfolly
endef endef
@ -46,7 +48,8 @@ endef
CMAKE_OPTIONS += \ CMAKE_OPTIONS += \
-DBUILD_BENCHMARKS=OFF \ -DBUILD_BENCHMARKS=OFF \
-DBUILD_EXAMPLES=OFF \ -DBUILD_EXAMPLES=OFF \
-DBUILD_TESTS=OFF
-DBUILD_TESTS=OFF \
-DCMAKE_POSITION_INDEPENDENT_CODE=ON
$(eval $(call BuildPackage,librsocket-cpp)) $(eval $(call BuildPackage,librsocket-cpp))
$(eval $(call BuildPackage,libyarpl)) $(eval $(call BuildPackage,libyarpl))

+ 12
- 0
libs/librsocket-cpp/patches/103-boost.patch View File

@ -0,0 +1,12 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -194,6 +194,9 @@ find_package(Gflags REQUIRED)
# find glog::glog to satisfy the folly dep.
find_package(Glog REQUIRED)
+find_package(Boost REQUIRED COMPONENTS system thread filesystem regex context
+ date_time program_options)
+
include_directories(SYSTEM ${OPENSSL_INCLUDE_DIR})
include_directories(SYSTEM ${GFLAGS_INCLUDE_DIR})

Loading…
Cancel
Save