Date: Wednesday, November 2, 2016 @ 15:45:07 Author: felixonmars Revision: 279758
upgpkg: libtorrent-rasterbar 1:1.1.1-4 Modified: libtorrent-rasterbar/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2016-11-02 15:33:48 UTC (rev 279757) +++ PKGBUILD 2016-11-02 15:45:07 UTC (rev 279758) @@ -5,7 +5,7 @@ pkgname=libtorrent-rasterbar pkgver=1.1.1 -pkgrel=3 +pkgrel=4 epoch=1 pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around" url="http://www.rasterbar.com/products/libtorrent/" @@ -12,7 +12,7 @@ arch=('i686' 'x86_64') license=('BSD') depends=('boost-libs') -makedepends=('boost' 'python2' 'python3') +makedepends=('boost' 'python2' 'python') options=('!emptydirs') _pkgver=${pkgver//./_} source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz) @@ -30,6 +30,11 @@ _build() ( cd py$1 + + # FS#50745 + _boost="boost_python" + if [ $1 -eq 3 ]; then _boost="boost_python3"; fi + # https://github.com/qbittorrent/qBittorrent/issues/5265#issuecomment-220007436 CXXFLAGS="$CXXFLAGS -std=c++11" \ PYTHON=/usr/bin/python$1 \ @@ -38,7 +43,8 @@ --enable-python-binding \ --enable-examples \ --disable-static \ - --with-libiconv + --with-libiconv \ + --with-boost-python=$_boost ) build() {
