diff --git a/common/shlibs b/common/shlibs index 3cc9b4106e7..b2993fc55c9 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/libtorrent/template b/srcpkgs/libtorrent/template index 611b62ba59b..b01edafccca 100644 --- a/srcpkgs/libtorrent/template +++ b/srcpkgs/libtorrent/template @@ -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 " +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