New package: libtorrent-rasterbar-1.0-1.0.10

This is the previous stable and is required for qbittorrent.
This commit is contained in:
Juergen Buchmueller 2016-12-16 03:32:24 +01:00
parent 9d905c26b7
commit cac661a0ed
5 changed files with 45 additions and 0 deletions

View File

@ -1932,6 +1932,7 @@ libopenjpeg.so.5 libopenjpeg-1.5.2_1
liboping.so.0 liboping-1.8.0_1
libgksu2.so.0 libgksu-2.0.12_1
libloudmouth-1.so.0 loudmouth-1.4.3_1
libtorrent-rasterbar.so.8 libtorrent-rasterbar-1.0-1.0.10_1
libtorrent-rasterbar.so.9 libtorrent-rasterbar-1.1.1_1
libcapstone.so.3 capstone-3.0_1
libhavege.so.1 libhaveged-1.9.1_1

View File

@ -0,0 +1 @@
libtorrent-rasterbar-1.0

View File

@ -0,0 +1,10 @@
--- include/libtorrent/config.hpp.orig 2014-08-15 08:51:56.000000000 +0200
+++ include/libtorrent/config.hpp 2015-01-03 18:34:41.639761027 +0100
@@ -33,6 +33,7 @@ POSSIBILITY OF SUCH DAMAGE.
#ifndef TORRENT_CONFIG_HPP_INCLUDED
#define TORRENT_CONFIG_HPP_INCLUDED
+#include <openssl/rand.h>
#include <boost/config.hpp>
#include <boost/version.hpp>
#include <stdio.h> // for snprintf

View File

@ -0,0 +1,32 @@
# Template file for 'libtorrent-rasterbar-1.0'
pkgname=libtorrent-rasterbar-1.0
version=1.0.10
revision=1
wrksrc="${pkgname%-1.0}-${version}"
build_style=gnu-configure
configure_args="--with-libgeoip --with-boost-libdir=${XBPS_CROSS_BASE}/usr/lib"
hostmakedepends="pkg-config intltool"
makedepends="libressl-devel boost-devel geoip-devel"
short_desc="C++ bittorrent library by Rasterbar Software"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
homepage="http://www.rasterbar.com/products/libtorrent/"
license="BSD"
distfiles="https://github.com/arvidn/libtorrent/releases/download/libtorrent-${version//./_}/libtorrent-rasterbar-${version}.tar.gz"
checksum=a865ceaca8b14acdd7be56d361ce4e64361299647e157ef7b3ac7e2812ca4c3e
CXXFLAGS="-std=c++11 -Wno-deprecated-declarations"
post_install() {
vlicense LICENSE
}
libtorrent-rasterbar-1.0-devel_package() {
depends="${sourcepkg}>=${version}_${revision} libressl-devel>=2.1.4 boost-devel geoip-devel"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
vmove "usr/lib/*.a"
}
}

View File

@ -0,0 +1 @@
pattern='libtorrent-\K[\d]+_[\d]+_[\d]+'