libtorrent: update to 0.13.7.

Closes #15009.

Signed-off-by: Enno Boland <gottox@voidlinux.eu>
This commit is contained in:
maxice8 2018-06-08 08:42:07 -03:00 committed by Enno Boland
parent 866826c437
commit 781f9c2a59
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 9 additions and 11 deletions

View file

@ -838,7 +838,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.19 libtorrent-0.13.6_1
libtorrent.so.20 libtorrent-0.13.7_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,25 +1,23 @@
# Template build file for 'libtorrent'
# Template file for 'libtorrent'
pkgname=libtorrent
version=0.13.6
revision=6
version=0.13.7
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="zlib-devel libressl-devel"
makedepends="cppunit-devel libressl-devel zlib-devel"
short_desc="BitTorrent library written in C++"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://github.com/rakshasa/${pkgname}"
license="GPL-2"
distfiles="https://github.com/rakshasa/${pkgname}/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524
distfiles="https://github.com/rakshasa/${pkgname}/archive/v${version}.tar.gz"
checksum=86b4b1753385aaddf9e59ad94f1292eee5102139eb57520e84d1af2f04693708
pre_configure() {
# Drop cppunit requirement
sed '/AM_PATH_CPPUNIT.*/d' -i configure.ac
autoreconf -fi
sed -e 's,test "$cross_compiling" = yes, false,' -i configure
}
post_configure() {
# Replace wrong (for cross buidls) -L/lib in Makefiles
for f in $(find ${wrksrc} -name Makefile); do