libtorrent: update to 0.16.20
This commit is contained in:
committed by
Duncan Overbruck
parent
ce76ebb9d4
commit
6e9af5d140
+1
-1
@@ -804,7 +804,7 @@ libogrove.so.0 openjade-1.3.2_1
|
||||
libospgrove.so.0 openjade-1.3.2_1
|
||||
libostyle.so.0 openjade-1.3.2_1
|
||||
libastyle.so.3 astyle-3.6.2_2
|
||||
libtorrent.so.21 libtorrent-0.13.8_4
|
||||
libtorrent.so.49 libtorrent-0.16.20_1
|
||||
libgiblib.so.1 giblib-1.2.4_1
|
||||
libgc.so.1 gc-7.6.4_1
|
||||
libcord.so.1 gc-7.4_1
|
||||
|
||||
@@ -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
|
||||
])
|
||||
])
|
||||
@@ -1,13 +1,12 @@
|
||||
# Template file for 'libtorrent'
|
||||
pkgname=libtorrent
|
||||
reverts="0.16.0_1 0.16.9_1"
|
||||
version=0.13.8
|
||||
revision=7
|
||||
version=0.16.20
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--enable-static --disable-debug --without-kqueue
|
||||
--enable-aligned --with-posix-fallocate"
|
||||
hostmakedepends="automake libtool pkg-config"
|
||||
makedepends="openssl-devel zlib-devel"
|
||||
makedepends="libcurl-devel 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++"
|
||||
@@ -15,7 +14,7 @@ maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
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=f824c9a88dc7c0890476b28248134339163d10159af03127d9e9bbb2097be641
|
||||
|
||||
# https://github.com/rakshasa/rtorrent/issues/156
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
@@ -24,6 +23,8 @@ case "$XBPS_TARGET_MACHINE" in
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
# tests need ipv6 addy to function
|
||||
sed -e '/LibTorrent_Test_Torrent_Net/d' -i test/Makefile.am
|
||||
autoreconf -fi
|
||||
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user