Initial Commit
- initial default booting image
This commit is contained in:
40
package/usbredir/Config.in
Normal file
40
package/usbredir/Config.in
Normal file
@@ -0,0 +1,40 @@
|
||||
comment "usbredir needs a toolchain w/ threads, gcc >= 4.9"
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS || \
|
||||
!BR2_TOOLCHAIN_GCC_AT_LEAST_4_9
|
||||
|
||||
config BR2_PACKAGE_USBREDIR
|
||||
bool "usbredir"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libusb
|
||||
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 # libusb
|
||||
select BR2_PACKAGE_LIBUSB
|
||||
help
|
||||
usbredir is the name of a network protocol for sending usb
|
||||
device traffic over a network connection. It is also the
|
||||
name of the software package offering a parsing library, a
|
||||
usbredirhost library and several utilities implementing this
|
||||
protocol.
|
||||
|
||||
Note: only the library is installed, not the utilities. Say
|
||||
'y' below if you want the tools too.
|
||||
|
||||
https://www.spice-space.org/usbredir.html
|
||||
|
||||
if BR2_PACKAGE_USBREDIR
|
||||
|
||||
config BR2_PACKAGE_USBREDIR_TOOLS
|
||||
bool "enable tools"
|
||||
depends on BR2_USE_MMU # libglib2
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
select BR2_PACKAGE_LIBGLIB2
|
||||
help
|
||||
If you want to serve usbredir requests on your target, say
|
||||
'y' here to have the tools built and installed on the target
|
||||
(including usbredirect binary).
|
||||
|
||||
Note: the tools are not required to use the library.
|
||||
|
||||
comment "tools needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
|
||||
endif
|
||||
10
package/usbredir/usbredir.hash
Normal file
10
package/usbredir/usbredir.hash
Normal file
@@ -0,0 +1,10 @@
|
||||
# Hash from:
|
||||
# https://www.spice-space.org/download/usbredir/usbredir-0.14.0.tar.xz.sha256sum
|
||||
# After checking pgp signature:
|
||||
# https://www.spice-space.org/download/usbredir/usbredir-0.14.0.tar.xz.sig
|
||||
# with key 206D3B352F566F3B0E6572E997D9123DE37A484F
|
||||
sha256 924dfb5c78328fae45a4c93a01bc83bb72c1310abeed119109255627a8baa332 usbredir-0.14.0.tar.xz
|
||||
|
||||
# Hash for license files
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
sha256 592987e8510228d546540b84a22444bde98e48d03078d3b2eefcd889bec5ce8c COPYING.LIB
|
||||
28
package/usbredir/usbredir.mk
Normal file
28
package/usbredir/usbredir.mk
Normal file
@@ -0,0 +1,28 @@
|
||||
################################################################################
|
||||
#
|
||||
# usbredir
|
||||
#
|
||||
################################################################################
|
||||
|
||||
USBREDIR_VERSION = 0.14.0
|
||||
USBREDIR_SOURCE = usbredir-$(USBREDIR_VERSION).tar.xz
|
||||
USBREDIR_SITE = https://www.spice-space.org/download/usbredir
|
||||
USBREDIR_LICENSE = LGPL-2.1+ (libraries)
|
||||
USBREDIR_LICENSE_FILES = COPYING.LIB
|
||||
USBREDIR_INSTALL_STAGING = YES
|
||||
USBREDIR_DEPENDENCIES = host-pkgconf libusb
|
||||
USBREDIR_CONF_OPTS = \
|
||||
-Dgit_werror=disabled \
|
||||
-Dstack_protector=disabled \
|
||||
-Dtests=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_USBREDIR_TOOLS),y)
|
||||
USBREDIR_LICENSE += , GPL-2.0+ (program)
|
||||
USBREDIR_LICENSE_FILES += COPYING
|
||||
USBREDIR_DEPENDENCIES += libglib2
|
||||
USBREDIR_CONF_OPTS += -Dtools=enabled
|
||||
else
|
||||
USBREDIR_CONF_OPTS += -Dtools=disabled
|
||||
endif
|
||||
|
||||
$(eval $(meson-package))
|
||||
Reference in New Issue
Block a user