diff --git a/DEVELOPERS b/DEVELOPERS index 8adbc420a1..5864601dd8 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -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/ diff --git a/package/Config.in b/package/Config.in index 1711ee69a6..58ceaaa70b 100644 --- a/package/Config.in +++ b/package/Config.in @@ -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" diff --git a/package/libutp/Config.in b/package/libutp/Config.in new file mode 100644 index 0000000000..6382913103 --- /dev/null +++ b/package/libutp/Config.in @@ -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 diff --git a/package/libutp/libutp.hash b/package/libutp/libutp.hash new file mode 100644 index 0000000000..38d46b0ae5 --- /dev/null +++ b/package/libutp/libutp.hash @@ -0,0 +1,3 @@ +# Locally computed +sha256 c515e6f9add47d3d202389e8a62feb765f0ae41d6398cc238e44028be520774e libutp-fda9f4b3db97ccb243fcbed2ce280eb4135d705b.tar.gz +sha256 4441418beb8e352b6e2aa09083b4c51a86814a49878dbb1a81936b466cd5badd LICENSE diff --git a/package/libutp/libutp.mk b/package/libutp/libutp.mk new file mode 100644 index 0000000000..c926c290d2 --- /dev/null +++ b/package/libutp/libutp.mk @@ -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))