[arch-commits] Commit in libtorrent-rasterbar/repos (6 files)

Felix Yan fyan at archlinux.org
Fri Jan 22 03:05:04 UTC 2016


    Date: Friday, January 22, 2016 @ 04:05:04
  Author: fyan
Revision: 258499

archrelease: copy trunk to testing-i686, testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-i686/
  libtorrent-rasterbar/repos/testing-i686/PKGBUILD
    (from rev 258498, libtorrent-rasterbar/trunk/PKGBUILD)
  libtorrent-rasterbar/repos/testing-i686/boost-1.60.patch
    (from rev 258498, libtorrent-rasterbar/trunk/boost-1.60.patch)
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
    (from rev 258498, libtorrent-rasterbar/trunk/PKGBUILD)
  libtorrent-rasterbar/repos/testing-x86_64/boost-1.60.patch
    (from rev 258498, libtorrent-rasterbar/trunk/boost-1.60.patch)

---------------------------------+
 testing-i686/PKGBUILD           |   36 ++++++++++++++++++++++++++++++++++++
 testing-i686/boost-1.60.patch   |   22 ++++++++++++++++++++++
 testing-x86_64/PKGBUILD         |   36 ++++++++++++++++++++++++++++++++++++
 testing-x86_64/boost-1.60.patch |   22 ++++++++++++++++++++++
 4 files changed, 116 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-i686/PKGBUILD (from rev 258498, libtorrent-rasterbar/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2016-01-22 03:05:04 UTC (rev 258499)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libtorrent-rasterbar
+pkgver=1.0.8
+pkgrel=1
+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/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('boost-libs' 'geoip' 'python2')
+makedepends=('boost')
+options=('!emptydirs')
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz)
+sha1sums=('7b0cc26207e47d833f6e97b356ed33e7d7859184')
+
+build() {
+  cd libtorrent-libtorrent-${pkgver//./_}
+  ./autotool.sh
+  PYTHON=/usr/bin/python2 \
+  ./configure \
+    --prefix=/usr \
+    --enable-python-binding \
+    --with-libgeoip=system \
+    --with-libiconv
+  make
+}
+
+package() {
+  cd libtorrent-libtorrent-${pkgver//./_}
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: libtorrent-rasterbar/repos/testing-i686/boost-1.60.patch (from rev 258498, libtorrent-rasterbar/trunk/boost-1.60.patch)
===================================================================
--- testing-i686/boost-1.60.patch	                        (rev 0)
+++ testing-i686/boost-1.60.patch	2016-01-22 03:05:04 UTC (rev 258499)
@@ -0,0 +1,22 @@
+From 5330ba5af717b983e456be9f576d66b78d9ca214 Mon Sep 17 00:00:00 2001
+From: Andrew Resch <andrewresch at gmail.com>
+Date: Sat, 2 Jan 2016 14:40:02 -0800
+Subject: [PATCH] register_ptr_to_python for boost::shared_ptr<alert>
+
+---
+ bindings/python/src/session.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp
+index fe53e10..727a54a 100644
+--- a/bindings/python/src/session.cpp
++++ b/bindings/python/src/session.cpp
+@@ -799,7 +799,7 @@ void bind_session()
+         .def("settings", &get_feed_settings)
+     ;
+ 
+-    register_ptr_to_python<std::auto_ptr<alert> >();
++    register_ptr_to_python<boost::shared_ptr<alert> >();
+ 
+     def("high_performance_seed", high_performance_seed);
+     def("min_memory_usage", min_memory_usage);

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 258498, libtorrent-rasterbar/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2016-01-22 03:05:04 UTC (rev 258499)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+# Contributor: Hugo Doria <hugo at archlinux.org>
+
+pkgname=libtorrent-rasterbar
+pkgver=1.0.8
+pkgrel=1
+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/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('boost-libs' 'geoip' 'python2')
+makedepends=('boost')
+options=('!emptydirs')
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz)
+sha1sums=('7b0cc26207e47d833f6e97b356ed33e7d7859184')
+
+build() {
+  cd libtorrent-libtorrent-${pkgver//./_}
+  ./autotool.sh
+  PYTHON=/usr/bin/python2 \
+  ./configure \
+    --prefix=/usr \
+    --enable-python-binding \
+    --with-libgeoip=system \
+    --with-libiconv
+  make
+}
+
+package() {
+  cd libtorrent-libtorrent-${pkgver//./_}
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}

Copied: libtorrent-rasterbar/repos/testing-x86_64/boost-1.60.patch (from rev 258498, libtorrent-rasterbar/trunk/boost-1.60.patch)
===================================================================
--- testing-x86_64/boost-1.60.patch	                        (rev 0)
+++ testing-x86_64/boost-1.60.patch	2016-01-22 03:05:04 UTC (rev 258499)
@@ -0,0 +1,22 @@
+From 5330ba5af717b983e456be9f576d66b78d9ca214 Mon Sep 17 00:00:00 2001
+From: Andrew Resch <andrewresch at gmail.com>
+Date: Sat, 2 Jan 2016 14:40:02 -0800
+Subject: [PATCH] register_ptr_to_python for boost::shared_ptr<alert>
+
+---
+ bindings/python/src/session.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/bindings/python/src/session.cpp b/bindings/python/src/session.cpp
+index fe53e10..727a54a 100644
+--- a/bindings/python/src/session.cpp
++++ b/bindings/python/src/session.cpp
+@@ -799,7 +799,7 @@ void bind_session()
+         .def("settings", &get_feed_settings)
+     ;
+ 
+-    register_ptr_to_python<std::auto_ptr<alert> >();
++    register_ptr_to_python<boost::shared_ptr<alert> >();
+ 
+     def("high_performance_seed", high_performance_seed);
+     def("min_memory_usage", min_memory_usage);



More information about the arch-commits mailing list