extra/libtorrent-rasterbar to 1.2.10-2

This commit is contained in:
Kevin Mihelich 2020-09-23 13:50:19 +00:00
parent b4644b4318
commit fd952f7560

View file

@ -7,7 +7,7 @@
pkgname=libtorrent-rasterbar
pkgver=1.2.10
pkgrel=1
pkgrel=2
epoch=1
pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
url="https://www.rasterbar.com/products/libtorrent/"
@ -16,12 +16,16 @@ license=('BSD')
depends=('boost-libs')
makedepends=('boost' 'python2' 'python')
options=('!emptydirs')
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$pkgver/$pkgname-$pkgver.tar.gz)
sha512sums=('50f912d85eefa94c560613cf53d9a2cb00bf4ed800f15e7a43dca35dd941a931a681d1d9ac7305cde0b435bdcf7c6e76a71fbb60d95aefbdca6f982d57b3951f')
source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$pkgver/$pkgname-$pkgver.tar.gz
cxx14-fix.patch::https://github.com/arvidn/libtorrent/pull/5026.patch)
sha512sums=('50f912d85eefa94c560613cf53d9a2cb00bf4ed800f15e7a43dca35dd941a931a681d1d9ac7305cde0b435bdcf7c6e76a71fbb60d95aefbdca6f982d57b3951f'
'08a42feb95a53ed2e932abf60f9f654df7031676334f07996fa2fbbdde0758d54058f7ffc772fd36a5c92cd1dd4da0d556e267536347516a29f9828b4b99c5b7')
prepare() {
mkdir py2 py3
cd $pkgname-$pkgver
# https://bugs.archlinux.org/task/67754
patch -p1 -i ../cxx14-fix.patch
# Avoid depending on newer processors
sed -i 's/-msse4.2//' configure.ac