libtorrent: update to 0.15.2.

This commit is contained in:
crdpa 2025-04-05 10:02:58 -03:00
parent 8526fe5774
commit 38d4865b0c
3 changed files with 5 additions and 19 deletions

View file

@ -843,7 +843,7 @@ libosp.so.5 opensp-1.5.2_1
libogrove.so.0 openjade-1.3.2_1
libospgrove.so.0 openjade-1.3.2_1
libostyle.so.0 openjade-1.3.2_1
libtorrent.so.21 libtorrent-0.13.8_4
libtorrent.so.24 libtorrent-0.15.2_1
libgiblib.so.1 giblib-1.2.4_1
libgc.so.1 gc-7.6.4_1
libcord.so.1 gc-7.4_1

View file

@ -1,14 +0,0 @@
--sysroot should be enough.
--- a/scripts/common.m4 2014-02-02 11:58:17.361448885 +0100
+++ b/scripts/common.m4 2014-02-02 11:59:13.048185911 +0100
@@ -63,8 +63,7 @@ AC_DEFUN([TORRENT_WITH_SYSROOT], [
else
AC_MSG_RESULT($withval)
- CXXFLAGS="$CXXFLAGS -isysroot $withval"
- LDFLAGS="$LDFLAGS -Wl,-syslibroot,$withval"
+ CXXFLAGS="$CXXFLAGS --sysroot=$withval"
fi
])
])

View file

@ -1,7 +1,7 @@
# Template file for 'libtorrent'
pkgname=libtorrent
version=0.13.8
revision=5
version=0.15.2
revision=1
build_style=gnu-configure
configure_args="--enable-static --disable-debug --without-kqueue
--enable-aligned --with-posix-fallocate"
@ -10,11 +10,11 @@ makedepends="openssl-devel zlib-devel"
# XXX: if built with XBPS_CHECK_PKGS, final binary will be dyn linked against libcppunit
checkdepends="libcppunit-devel"
short_desc="BitTorrent library written in C++"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="crdpa <cris@crdpa.com>"
license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/libtorrent"
distfiles="https://github.com/rakshasa/libtorrent/archive/v${version}.tar.gz"
checksum=0f6c2e7ffd3a1723ab47fdac785ec40f85c0a5b5a42c1d002272205b988be722
checksum=045cfc796579dd08445745c3cd38427004202eaa7529d349e482c2b67f3b52b0
# https://github.com/rakshasa/rtorrent/issues/156
case "$XBPS_TARGET_MACHINE" in