aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMengyang Li <mayli.he@gmail.com>2020-10-18 23:35:40 -0700
committerLeo <thinkabit.ukim@gmail.com>2020-10-19 07:54:59 +0000
commit0e7f09174e3f4ffb084255d90437735c1445dc69 (patch)
tree32b70eccca24b5cfb99810bf639a354105f83b2d
parent162ef0625cb7c816c362f85b2e357a48a64b6921 (diff)
downloadaports-0e7f09174e3f4ffb084255d90437735c1445dc69.tar.gz
aports-0e7f09174e3f4ffb084255d90437735c1445dc69.tar.bz2
aports-0e7f09174e3f4ffb084255d90437735c1445dc69.tar.xz
testing/libtorrent-rasterbar: upgrade to 1.2.10
Note: this upgrade includes a patch to enable "-std=c++14" to fix the link issue with qbittorrent 4.3.0, see the following link for more info https://github.com/arvidn/libtorrent/pull/5026
-rw-r--r--testing/libtorrent-rasterbar/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/testing/libtorrent-rasterbar/APKBUILD b/testing/libtorrent-rasterbar/APKBUILD
index 83e3b4fbd8..9605984124 100644
--- a/testing/libtorrent-rasterbar/APKBUILD
+++ b/testing/libtorrent-rasterbar/APKBUILD
@@ -1,17 +1,18 @@
# Contributor: August Klein <amatcoder@gmail.com>
# Maintainer: August Klein <amatcoder@gmail.com>
pkgname=libtorrent-rasterbar
-pkgver=1.2.8
+pkgver=1.2.10
pkgrel=0
pkgdesc="Feature complete C++ bittorrent implementation"
options="!check" # Tests hang on all arches
url="https://www.rasterbar.com/products/libtorrent"
arch="all"
license="BSD-3-Clause"
-depends_dev="boost-dev openssl-dev python3-dev"
+depends_dev="boost-dev openssl-dev python3-dev automake autoconf"
makedepends="$depends_dev linux-headers"
subpackages="py3-$pkgname:_py3 $pkgname-static $pkgname-dev"
-source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$pkgver/libtorrent-rasterbar-$pkgver.tar.gz"
+source="https://github.com/arvidn/libtorrent/releases/download/libtorrent-$pkgver/libtorrent-rasterbar-$pkgver.tar.gz
+ cxx14-fix.patch::https://github.com/arvidn/libtorrent/pull/5026.patch"
build() {
local _py3ver=$(python3 -c 'import sys; print("{}{}".format(sys.version_info.major, sys.version_info.minor))')
@@ -25,7 +26,8 @@ build() {
--mandir=/usr/share/man \
--localstatedir=/var \
--enable-python-binding \
- --with-boost-system=boost_python$_py3ver
+ --with-boost-system=boost_python$_py3ver \
+ --with-std=c++14
make
}
@@ -44,4 +46,5 @@ _py3() {
mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
}
-sha512sums="3669175763b1df96f1a2568b7a51df4e7fdf48033826484db8a5bf6525ec117423cdb23b4c357d7ea1d24ec47cf2ee4a0bbfe5f13e825418de9f8ac2dfee5971 libtorrent-rasterbar-1.2.8.tar.gz"
+sha512sums="50f912d85eefa94c560613cf53d9a2cb00bf4ed800f15e7a43dca35dd941a931a681d1d9ac7305cde0b435bdcf7c6e76a71fbb60d95aefbdca6f982d57b3951f libtorrent-rasterbar-1.2.10.tar.gz
+94ddc3bdfc33f7b5300cc01b7c821dbd9a1433cae93bb7d467a1a732e84e7be4a6e75fbd69e88802e2eecca9c8541ecd1856d4ca2b508af224562cb05de80cca cxx14-fix.patch"