package/libutp: new package

Needed for upcoming version bump of transmission.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls 2022-02-05 19:08:17 +01:00 committed by Thomas Petazzoni
parent 42f7f451ec
commit f986b7fd27
5 changed files with 28 additions and 0 deletions

View File

@ -391,6 +391,7 @@ F: package/libsoundtouch/
F: package/libsquish/
F: package/libudfread/
F: package/liburiparser/
F: package/libutp/
F: package/libva/
F: package/libva-intel-driver/
F: package/libva-utils/

View File

@ -1888,6 +1888,7 @@ menu "Networking"
source "package/libupnp/Config.in"
source "package/libupnpp/Config.in"
source "package/liburiparser/Config.in"
source "package/libutp/Config.in"
source "package/libuwsc/Config.in"
source "package/libvncserver/Config.in"
source "package/libwebsock/Config.in"

10
package/libutp/Config.in Normal file
View File

@ -0,0 +1,10 @@
config BR2_PACKAGE_LIBUTP
bool "libutp"
depends on BR2_INSTALL_LIBSTDCPP
help
uTorrent Transport Protocol library
https://github.com/bittorrent/libutp
comment "libutp support needs a toolchain with C++"
depends on !BR2_INSTALL_LIBSTDCPP

View File

@ -0,0 +1,3 @@
# Locally computed
sha256 c515e6f9add47d3d202389e8a62feb765f0ae41d6398cc238e44028be520774e libutp-fda9f4b3db97ccb243fcbed2ce280eb4135d705b.tar.gz
sha256 4441418beb8e352b6e2aa09083b4c51a86814a49878dbb1a81936b466cd5badd LICENSE

13
package/libutp/libutp.mk Normal file
View File

@ -0,0 +1,13 @@
################################################################################
#
# libutp
#
################################################################################
LIBUTP_VERSION = fda9f4b3db97ccb243fcbed2ce280eb4135d705b
LIBUTP_SITE = $(call github,transmission,libutp,$(LIBUTP_VERSION))
LIBUTP_LICENSE = MIT
LIBUTP_LICENSE_FILES = LICENSE
LIBUTP_INSTALL_STAGING = YES
$(eval $(cmake-package))