mirror of
https://github.com/OpenVoiceOS/OpenVoiceOS
synced 2025-01-20 21:11:22 +01:00
Add ovos-bus-server package
This commit is contained in:
parent
c88a211bb7
commit
6a7d217f99
@ -98,6 +98,7 @@ endmenu
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/ncpamixer/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/neon2sse/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/openfst/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/ovos-bus-server/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/ovos-dashboard/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/ovos-shell/Config.in"
|
||||
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/ovos-splash/Config.in"
|
||||
|
@ -585,6 +585,7 @@ BR2_PACKAGE_LIBRE=y
|
||||
BR2_PACKAGE_LIBREM=y
|
||||
BR2_PACKAGE_LOTTIE_QML=y
|
||||
BR2_PACKAGE_NCPAMIXER=y
|
||||
BR2_PACKAGE_OVOS_BUS_SERVER=y
|
||||
BR2_PACKAGE_OVOS_DASHBOARD=y
|
||||
BR2_PACKAGE_OVOS_SHELL=y
|
||||
BR2_PACKAGE_OVOS_SPLASH=y
|
||||
|
@ -585,6 +585,7 @@ BR2_PACKAGE_LIBRE=y
|
||||
BR2_PACKAGE_LIBREM=y
|
||||
BR2_PACKAGE_LOTTIE_QML=y
|
||||
BR2_PACKAGE_NCPAMIXER=y
|
||||
BR2_PACKAGE_OVOS_BUS_SERVER=y
|
||||
BR2_PACKAGE_OVOS_DASHBOARD=y
|
||||
BR2_PACKAGE_OVOS_SHELL=y
|
||||
BR2_PACKAGE_OVOS_SPLASH=y
|
||||
|
@ -0,0 +1,26 @@
|
||||
From 1a31e20944d730e098878bc6e41d3099dd670bae Mon Sep 17 00:00:00 2001
|
||||
From: j1nx <p.steenbergen@j1nx.nl>
|
||||
Date: Mon, 9 Jan 2023 10:39:10 +0100
|
||||
Subject: [PATCH 1/1] Make package installable
|
||||
|
||||
---
|
||||
server/CMakeLists.txt | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/server/CMakeLists.txt b/server/CMakeLists.txt
|
||||
index d7ad36b..ae3a4b4 100644
|
||||
--- a/server/CMakeLists.txt
|
||||
+++ b/server/CMakeLists.txt
|
||||
@@ -34,5 +34,7 @@ include_directories(SYSTEM "${PROJECT_SOURCE_DIR}/external")
|
||||
add_library(jsoncpp STATIC ${PROJECT_SOURCE_DIR}/external/jsoncpp.cpp)
|
||||
|
||||
# Build the server executable
|
||||
-add_executable(ovos-bus-server server.cpp WebsocketServer.cpp)
|
||||
-target_link_libraries (ovos-bus-server jsoncpp)
|
||||
+set(TARGET ovos-bus-server)
|
||||
+add_executable(${TARGET} server.cpp WebsocketServer.cpp)
|
||||
+target_link_libraries (${TARGET} jsoncpp)
|
||||
+install(TARGETS ${TARGET} DESTINATION bin)
|
||||
--
|
||||
2.34.1
|
||||
|
7
buildroot-external/package/ovos-bus-server/Config.in
Normal file
7
buildroot-external/package/ovos-bus-server/Config.in
Normal file
@ -0,0 +1,7 @@
|
||||
config BR2_PACKAGE_OVOS_BUS_SERVER
|
||||
bool "ovos-bus-server"
|
||||
help
|
||||
alternative ovos bus service (websocket server) in C++
|
||||
|
||||
https://github.com/OpenVoiceOS/ovos-bus-server
|
||||
|
@ -0,0 +1,2 @@
|
||||
# Locally computed
|
||||
sha256 2352676a4c1726d2febe7a39c920d5b8b26a5256913039c5e69beff5e5469d3e ovos-bus-server-6390bb787fad4660106577891ada6fa935b662d7.tar.gz
|
@ -0,0 +1,16 @@
|
||||
################################################################################
|
||||
#
|
||||
# ovos-bus-server
|
||||
#
|
||||
################################################################################
|
||||
|
||||
OVOS_BUS_SERVER_VERSION = 6390bb787fad4660106577891ada6fa935b662d7
|
||||
OVOS_BUS_SERVER_SITE = $(call github,OpenVoiceOS,ovos-bus-server,$(OVOS_BUS_SERVER_VERSION))
|
||||
OVOS_BUS_SERVER_LICENSE = Apache License 2.0
|
||||
|
||||
OVOS_BUS_SERVER_INSTALL_STAGING = YES
|
||||
OVOS_BUS_SERVER_DEPENDENCIES = host-pkgconf
|
||||
OVOS_BUS_SERVER_SUPPORTS_IN_SOURCE_BUILD = NO
|
||||
OVOS_BUS_SERVER_SUBDIR = server
|
||||
|
||||
$(eval $(cmake-package))
|
Loading…
Reference in New Issue
Block a user