libraries/libtorrent-rasterbar: Updated for version 1.1.13.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Donald Cooley 2019-12-19 21:52:14 +07:00 committed by Willy Sudiarto Raharjo
parent a80b1996d9
commit d483a9c0a1
2 changed files with 10 additions and 9 deletions

View file

@ -2,6 +2,7 @@
# Slackware build script for libtorrent (rasterbar) # Slackware build script for libtorrent (rasterbar)
# Copyright 2019 Donald Cooley, South Haven, Indiana, USA
# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA # Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved. # All rights reserved.
# #
@ -23,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libtorrent-rasterbar PRGNAM=libtorrent-rasterbar
VERSION=${VERSION:-1.1.12} VERSION=${VERSION:-1.1.13}
BUILD=${BUILD:-2} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
@ -70,14 +71,14 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# https://github.com/qbittorrent/qBittorrent/issues/6383#issuecomment-281535787 # https://github.com/qbittorrent/qBittorrent/issues/6383#issuecomment-281535787
sed -i -e "s/+ target_specific(),/+ target_specific() + ['-std=c++11'],/" \ sed -i -e "s/+ target_specific(),/+ target_specific() + ['-std=c++14'],/" \
bindings/python/setup.py bindings/python/setup.py
EXAMPLES=${EXAMPLES:-no} EXAMPLES=${EXAMPLES:-no}
[ "$EXAMPLES" = "yes" ] && examples="--enable-examples" [ "$EXAMPLES" = "yes" ] && examples="--enable-examples"
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -std=c++11" \ CXXFLAGS="$SLKCFLAGS -std=c++14" \
LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \ LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \

View file

@ -1,10 +1,10 @@
PRGNAM="libtorrent-rasterbar" PRGNAM="libtorrent-rasterbar"
VERSION="1.1.12" VERSION="1.1.13"
HOMEPAGE="https://libtorrent.org/" HOMEPAGE="https://libtorrent.org/"
DOWNLOAD="https://github.com/arvidn/libtorrent/releases/download/libtorrent_1_1_12/libtorrent-rasterbar-1.1.12.tar.gz" DOWNLOAD="https://github.com/arvidn/libtorrent/releases/download/libtorrent-1_1_13/libtorrent-rasterbar-1.1.13.tar.gz"
MD5SUM="2936033607cd2e3e3edff0e10f6ac799" MD5SUM="a3eec8d384f0343df1fb417c14c4e20d"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""
MAINTAINER="Dave Woodfall" MAINTAINER="Donald Cooley"
EMAIL="dave@slackbuilds.org" EMAIL="chytraeu@sdf.org"