initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
From a86219e725441eb87321fa3e24531dafa54ee674 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Sun, 20 Oct 2019 20:23:19 +0200
|
||||
Subject: [PATCH] libtorrent.pc.in: add Libs.Private
|
||||
|
||||
Add Libs.Private: -lz so applications that want to link statically with
|
||||
libtorrent (such as rtorrent) will know that they must link with -lz
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/075598e1699c2ac20a4dfbcb5695bbb7343f9a86
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/rakshasa/libtorrent/pull/202]
|
||||
---
|
||||
libtorrent.pc.in | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/libtorrent.pc.in b/libtorrent.pc.in
|
||||
index cf6612bc..6108f7e9 100644
|
||||
--- a/libtorrent.pc.in
|
||||
+++ b/libtorrent.pc.in
|
||||
@@ -7,4 +7,5 @@ Name: libtorrent
|
||||
Description: A BitTorrent library
|
||||
Version: @VERSION@
|
||||
Libs: -L${libdir} -ltorrent
|
||||
+Libs.Private: -lz
|
||||
Cflags: -I${includedir}
|
||||
--
|
||||
2.23.0
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
config BR2_PACKAGE_LIBTORRENT
|
||||
bool "libtorrent"
|
||||
depends on BR2_INSTALL_LIBSTDCPP
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
select BR2_PACKAGE_ZLIB
|
||||
select BR2_PACKAGE_LIBOPENSSL_ENABLE_RC4 if BR2_PACKAGE_LIBOPENSSL
|
||||
help
|
||||
BitTorrent library written in C++ for *nix
|
||||
|
||||
https://github.com/rakshasa/libtorrent
|
||||
|
||||
comment "libtorrent needs a toolchain w/ C++, threads"
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_1 && BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 ed115a28f4ae8cfcd33b94a597c076ca74fd549867a26e4fac9505c27288e983 libtorrent-0.13.8.tar.gz
|
||||
sha256 204d8eff92f95aac4df6c8122bc1505f468f3a901e5a4cc08940e0ede1938994 COPYING
|
||||
@@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# libtorrent
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBTORRENT_VERSION = 0.13.8
|
||||
LIBTORRENT_SITE = http://rtorrent.net/downloads
|
||||
LIBTORRENT_DEPENDENCIES = host-pkgconf zlib
|
||||
LIBTORRENT_CONF_OPTS = --enable-aligned \
|
||||
--disable-instrumentation \
|
||||
--with-zlib=$(STAGING_DIR)/usr
|
||||
LIBTORRENT_INSTALL_STAGING = YES
|
||||
LIBTORRENT_LICENSE = GPL-2.0
|
||||
LIBTORRENT_LICENSE_FILES = COPYING
|
||||
|
||||
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
||||
LIBTORRENT_CONF_OPTS += --enable-openssl
|
||||
LIBTORRENT_DEPENDENCIES += openssl
|
||||
else
|
||||
LIBTORRENT_CONF_OPTS += --disable-openssl
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user