Add vnc-eglfs package for testing purposes

This commit is contained in:
j1nx 2023-01-12 12:30:32 +01:00
parent 93f44f41f2
commit b007be7615
6 changed files with 63 additions and 0 deletions

View File

@ -119,6 +119,7 @@ endmenu
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/tensorflow-lite/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/userland-tools/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/virtual-touch/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/vnc-eglfs/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/vocalfusion/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/vosk-api/Config.in"
source "$BR2_EXTERNAL_OPENVOICEOS_PATH/package/whisper-tflite/Config.in"

View File

@ -600,6 +600,7 @@ BR2_PACKAGE_SNAPCAST_SERVER=y
BR2_PACKAGE_SPOTIFYD=y
BR2_PACKAGE_TENSORFLOW_LITE=y
BR2_PACKAGE_USERLAND_TOOLS=y
BR2_PACKAGE_VNC_EGLFS=y
BR2_PACKAGE_VOCALFUSION=y
BR2_PACKAGE_WHISPER_TFLITE=y
BR2_PACKAGE_WHISPERCPP=y

View File

@ -600,6 +600,7 @@ BR2_PACKAGE_SNAPCAST_SERVER=y
BR2_PACKAGE_SPOTIFYD=y
BR2_PACKAGE_TENSORFLOW_LITE=y
BR2_PACKAGE_USERLAND_TOOLS=y
BR2_PACKAGE_VNC_EGLFS=y
BR2_PACKAGE_VOCALFUSION=y
BR2_PACKAGE_WHISPER_TFLITE=y
BR2_PACKAGE_WHISPERCPP=y

View File

@ -0,0 +1,43 @@
From eb8b398864b7ffef315bcd67b26ccf47499537c4 Mon Sep 17 00:00:00 2001
From: j1nx <p.steenbergen@j1nx.nl>
Date: Thu, 12 Jan 2023 12:21:39 +0100
Subject: [PATCH 1/1] Use QT_INSTALL_PREFIX
---
platformproxy/platformproxy.pro | 4 ++--
src/src.pro | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/platformproxy/platformproxy.pro b/platformproxy/platformproxy.pro
index ef24e8d..464fec2 100644
--- a/platformproxy/platformproxy.pro
+++ b/platformproxy/platformproxy.pro
@@ -30,8 +30,8 @@ SOURCES += \
OTHER_FILES += metadata.json
-INSTALL_ROOT=/usr/local/vnceglfs
-# INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
+# INSTALL_ROOT=/usr/local/vnceglfs
+INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
target.path = $${INSTALL_ROOT}/plugins/platforms
INSTALLS += target
diff --git a/src/src.pro b/src/src.pro
index 29e5fad..4c71645 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -61,8 +61,8 @@ SOURCES += \
VncClient.cpp \
VncNamespace.cpp \
-INSTALL_ROOT=/usr/local/vnceglfs
-# INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
+# INSTALL_ROOT=/usr/local/vnceglfs
+INSTALL_ROOT=$$[QT_INSTALL_PREFIX]
target.path = $${INSTALL_ROOT}/lib
--
2.34.1

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_VNC_EGLFS
bool "vnc-eglfs"
help
VNC server for Qt/Quick on EGLFS
https://github.com/uwerat/vnc-eglfs

View File

@ -0,0 +1,11 @@
################################################################################
#
# vnc-eglfs
#
################################################################################
VNC_EGLFS_VERSION = e67ac4431f19e2863abedbbfa1ba76a00fe1ca92
VNC_EGLFS_SITE = $(call github,uwerat,vnc-eglfs,$(VNC_EGLFS_VERSION))
VNC_EGLFS_INSTALL_STAGING = YES
$(eval $(qmake-package))