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

2020-12-28 Thread Felix Yan via arch-commits
Date: Monday, December 28, 2020 @ 18:45:04
  Author: felixonmars
Revision: 405070

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 405069, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 405069, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-12-28 18:45:04 UTC (rev 405070)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.11
+pkgrel=1
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python')
+options=('!emptydirs')
+source=(https://github.com/arvidn/libtorrent/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz
+
$pkgname-cxx14-fix.patch::https://github.com/arvidn/libtorrent/pull/5026.patch)
+sha512sums=('abcfaa9f22f9adc030f0c4ec8dfd2e5070d1177cc2cf0bcb4e08dfca1b2e806a5c90a82d1860b5dc51efe3e8d2bea3c1d3d966c132a39bfdd5d4791e59bb503a'
+
'94ddc3bdfc33f7b5300cc01b7c821dbd9a1433cae93bb7d467a1a732e84e7be4a6e75fbd69e88802e2eecca9c8541ecd1856d4ca2b508af224562cb05de80cca')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # https://bugs.archlinux.org/task/67754
+  patch -p1 -i ../$pkgname-cxx14-fix.patch
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=boost_python3
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-12-12 Thread Felix Yan via arch-commits
Date: Saturday, December 12, 2020 @ 15:04:05
  Author: felixonmars
Revision: 404108

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 404107, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 404107, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-12-12 15:04:05 UTC (rev 404108)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.10
+pkgrel=7
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python')
+options=('!emptydirs')
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$pkgver/$pkgname-$pkgver.tar.gz
+
$pkgname-cxx14-fix.patch::https://github.com/arvidn/libtorrent/pull/5026.patch)
+sha512sums=('50f912d85eefa94c560613cf53d9a2cb00bf4ed800f15e7a43dca35dd941a931a681d1d9ac7305cde0b435bdcf7c6e76a71fbb60d95aefbdca6f982d57b3951f'
+
'94ddc3bdfc33f7b5300cc01b7c821dbd9a1433cae93bb7d467a1a732e84e7be4a6e75fbd69e88802e2eecca9c8541ecd1856d4ca2b508af224562cb05de80cca')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # https://bugs.archlinux.org/task/67754
+  patch -p1 -i ../$pkgname-cxx14-fix.patch
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=boost_python3
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-12-06 Thread Felix Yan via arch-commits
Date: Sunday, December 6, 2020 @ 19:08:24
  Author: felixonmars
Revision: 402986

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 402985, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   50 ++
 1 file changed, 50 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 402985, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-12-06 19:08:24 UTC (rev 402986)
@@ -0,0 +1,50 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.10
+pkgrel=6
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python')
+options=('!emptydirs')
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$pkgver/$pkgname-$pkgver.tar.gz
+
$pkgname-cxx14-fix.patch::https://github.com/arvidn/libtorrent/pull/5026.patch)
+sha512sums=('50f912d85eefa94c560613cf53d9a2cb00bf4ed800f15e7a43dca35dd941a931a681d1d9ac7305cde0b435bdcf7c6e76a71fbb60d95aefbdca6f982d57b3951f'
+
'94ddc3bdfc33f7b5300cc01b7c821dbd9a1433cae93bb7d467a1a732e84e7be4a6e75fbd69e88802e2eecca9c8541ecd1856d4ca2b508af224562cb05de80cca')
+
+prepare() {
+  cd $pkgname-$pkgver
+  # https://bugs.archlinux.org/task/67754
+  patch -p1 -i ../$pkgname-cxx14-fix.patch
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=boost_python3
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-11-10 Thread Felix Yan via arch-commits
Date: Tuesday, November 10, 2020 @ 08:21:26
  Author: felixonmars
Revision: 400049

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 400048, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 400048, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-11-10 08:21:26 UTC (rev 400049)
@@ -0,0 +1,63 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.10
+pkgrel=3
+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/;
+arch=('x86_64')
+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
+
$pkgname-cxx14-fix.patch::https://github.com/arvidn/libtorrent/pull/5026.patch)
+sha512sums=('50f912d85eefa94c560613cf53d9a2cb00bf4ed800f15e7a43dca35dd941a931a681d1d9ac7305cde0b435bdcf7c6e76a71fbb60d95aefbdca6f982d57b3951f'
+
'94ddc3bdfc33f7b5300cc01b7c821dbd9a1433cae93bb7d467a1a732e84e7be4a6e75fbd69e88802e2eecca9c8541ecd1856d4ca2b508af224562cb05de80cca')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+  # https://bugs.archlinux.org/task/67754
+  patch -p1 -i ../$pkgname-cxx14-fix.patch
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-08-28 Thread Felix Yan via arch-commits
Date: Friday, August 28, 2020 @ 19:08:23
  Author: felixonmars
Revision: 394851

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 394850, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 394850, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-08-28 19:08:23 UTC (rev 394851)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.9
+pkgrel=1
+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/;
+arch=('x86_64')
+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=('6b25a7b14649fb6ddcd6afbe3ab1799c055abd2439c6cd57b57f60d58c2db802c8a5d0ad675b100a7c0091ebb1bc70ae1b39daedb956effbe51d09f2ced0e75e')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-08-13 Thread Felix Yan via arch-commits
Date: Thursday, August 13, 2020 @ 06:28:52
  Author: felixonmars
Revision: 393583

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 393582, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   59 +++
 1 file changed, 59 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 393582, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-08-13 06:28:52 UTC (rev 393583)
@@ -0,0 +1,59 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.8
+pkgrel=1
+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/;
+arch=('x86_64')
+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=('3669175763b1df96f1a2568b7a51df4e7fdf48033826484db8a5bf6525ec117423cdb23b4c357d7ea1d24ec47cf2ee4a0bbfe5f13e825418de9f8ac2dfee5971')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-06-04 Thread Felix Yan via arch-commits
Date: Thursday, June 4, 2020 @ 16:54:41
  Author: felixonmars
Revision: 388286

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 388285, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 388285, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-06-04 16:54:41 UTC (rev 388286)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.7
+pkgrel=1
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent_$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('60dfb31b1300b3aa2219227b3a263ba73aedb54a90aa940c117027651779cb972d6e1badf9519f6ad7947233b54df608b829bab34493ceda9e4cb8913041a752')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-04-21 Thread Felix Yan via arch-commits
Date: Wednesday, April 22, 2020 @ 04:51:01
  Author: felixonmars
Revision: 380708

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 380707, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 380707, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-04-22 04:51:01 UTC (rev 380708)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.6
+pkgrel=1
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('78f9120b1b824dac37ec8bd16a29abdfcd7fd6af3c56e0cc9048d74412d000ef5ea1e8421f757eddb914f8bb20de9fb4192d5b8a3f781fa2e1d4f134ea24b1ee')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-03-10 Thread Felix Yan via arch-commits
Date: Tuesday, March 10, 2020 @ 12:19:21
  Author: felixonmars
Revision: 377262

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 377261, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 377261, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-03-10 12:19:21 UTC (rev 377262)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.5
+pkgrel=1
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('b907916bb2b4d550a5173783163cb192c31c0db5e25a4807a4701d1e5fa7e0d4fd9f1fb2c89b43f613a750b42816b07576fb773663fbf3cfb2e3e4b9de380f26')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-02-12 Thread Felix Yan via arch-commits
Date: Wednesday, February 12, 2020 @ 17:31:14
  Author: felixonmars
Revision: 375505

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 375504, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 375504, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2020-02-12 17:31:14 UTC (rev 375505)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.4
+pkgrel=1
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('2328747f9b03cd61c7c3eac095225b9e6fa78238346ac96a961394639790135deda009cf597c0538570ade8bf4c0e027062720c1776c72228d1c51ec16ef0e13')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2020-01-27 Thread Felix Yan via arch-commits
Date: Tuesday, January 28, 2020 @ 01:42:51
  Author: felixonmars
Revision: 374133

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 374132, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 374132, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2020-01-28 01:42:51 UTC (rev 374133)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.3
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('18cffb86c5affcde79860236440eaca492fce71f16c2ccc5e20ec0d9351fbfb6c15d97e203b61c8cf8168f86cf31459ce0b76a4b0559244f9add385434ff4ae6')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2019-12-21 Thread Felix Yan via arch-commits
Date: Saturday, December 21, 2019 @ 23:30:12
  Author: felixonmars
Revision: 372058

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 372057, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   60 
 1 file changed, 60 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 372057, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-12-21 23:30:12 UTC (rev 372058)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.3
+pkgrel=1
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('18cffb86c5affcde79860236440eaca492fce71f16c2ccc5e20ec0d9351fbfb6c15d97e203b61c8cf8168f86cf31459ce0b76a4b0559244f9add385434ff4ae6')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_build() (
+  cd py$1
+
+  # FS#50745
+  _boost="boost_python"
+  if [ $1 -eq 3 ]; then _boost="boost_python3"; fi
+
+  PYTHON=/usr/bin/python$1 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2019-11-15 Thread Felix Yan via arch-commits
Date: Friday, November 15, 2019 @ 15:08:30
  Author: felixonmars
Revision: 368919

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 368918, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 368918, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-11-15 15:08:30 UTC (rev 368919)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.2.1
+pkgrel=1
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('f9d0f2dd278a56f96f5d6d13996a3647a26acfb31fa9cbd42b2edc68a5ab4818764dec7ab6b0e1a25798adfc6b4460884606af72728c61c7762adbd8bdf4b4c6')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_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 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2019-10-25 Thread Evangelos Foutras via arch-commits
Date: Friday, October 25, 2019 @ 15:51:39
  Author: foutrelis
Revision: 365646

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 365645, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 365645, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-10-25 15:51:39 UTC (rev 365646)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.13
+pkgrel=3
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('021fc54353fdf5063d55ccdc2057dada292bb0008fb92e93e8d94dd89f529630f290fcdc4f4d095e3192522c57fe0f0da260b5ef8e8e15a8c6ac05728f5f7160')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_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 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2019-09-13 Thread Felix Yan via arch-commits
Date: Friday, September 13, 2019 @ 06:06:03
  Author: felixonmars
Revision: 362399

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 362397, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 362397, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-09-13 06:06:03 UTC (rev 362399)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.13
+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/;
+arch=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-$_pkgver/$pkgname-$pkgver.tar.gz)
+sha512sums=('021fc54353fdf5063d55ccdc2057dada292bb0008fb92e93e8d94dd89f529630f290fcdc4f4d095e3192522c57fe0f0da260b5ef8e8e15a8c6ac05728f5f7160')
+
+prepare() {
+  mkdir py2 py3
+  cd $pkgname-$pkgver
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  autoreconf -if
+}
+
+_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 \
+  ../$pkgname-$pkgver/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 $pkgname-$pkgver/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2019-01-20 Thread Felix Yan via arch-commits
Date: Sunday, January 20, 2019 @ 12:30:04
  Author: felixonmars
Revision: 344534

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 344533, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 344533, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-01-20 12:30:04 UTC (rev 344534)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.12
+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=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent_${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('b41852f102ac7ce5b9ef2744067e021427e240ced77537d566db4b0534a7def8a869bc90f3086ef3ee8682670a66a75e6a7395856560963e7217c3fc5164fcb3')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent_${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_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 \
+  ../libtorrent-libtorrent_${_pkgver}/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent_${_pkgver}/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2019-01-14 Thread Evangelos Foutras via arch-commits
Date: Tuesday, January 15, 2019 @ 07:25:36
  Author: foutrelis
Revision: 344121

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 344119, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 344119, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-01-15 07:25:36 UTC (rev 344121)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.11
+pkgrel=2
+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=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent_${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('7e3717e340e813ba2bf379f667f09d298830491edd1573f04d2e35e2d9335e918c0ee299e3f78b8f58d2ae3dbaf5a04dac462709b67c7f9034676b56dc9e4428')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent_${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_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 \
+  ../libtorrent-libtorrent_${_pkgver}/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent_${_pkgver}/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2018-09-17 Thread Evangelos Foutras via arch-commits
Date: Tuesday, September 18, 2018 @ 00:09:13
  Author: foutrelis
Revision: 334824

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 334823, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   62 +
 1 file changed, 62 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 334823, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-09-18 00:09:13 UTC (rev 334824)
@@ -0,0 +1,62 @@
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.9
+pkgrel=2
+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=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('8c313c757603a4b2035c69fbe745c1e3483359b7b21601f9353338acc00e15953b4414ea4adf93647e1f2f9e1da72df165cede9dbdcaf57c12833529a43b3fc7')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent-${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_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 \
+  ../libtorrent-libtorrent-${_pkgver}/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2018-08-01 Thread Evangelos Foutras via arch-commits
Date: Wednesday, August 1, 2018 @ 07:00:53
  Author: foutrelis
Revision: 329905

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 329904, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 329904, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-08-01 07:00:53 UTC (rev 329905)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.8
+pkgrel=3
+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=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('0db79b60093fc771d3fb0a2df7d420ae874da0e5c0968e4cc28052c999ed259f339d4e8b271923a0dc71ec1433d50ad5b680d873ea3dbfa17e663e265c02975b')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent-${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_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 \
+  ../libtorrent-libtorrent-${_pkgver}/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2018-06-30 Thread Felix Yan via arch-commits
Date: Saturday, June 30, 2018 @ 17:52:18
  Author: felixonmars
Revision: 327870

archrelease: copy trunk to staging-x86_64

Added:
  libtorrent-rasterbar/repos/staging-x86_64/
  libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD
(from rev 327869, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: libtorrent-rasterbar/repos/staging-x86_64/PKGBUILD (from rev 327869, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2018-06-30 17:52:18 UTC (rev 327870)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.8
+pkgrel=2
+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=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('0db79b60093fc771d3fb0a2df7d420ae874da0e5c0968e4cc28052c999ed259f339d4e8b271923a0dc71ec1433d50ad5b680d873ea3dbfa17e663e265c02975b')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent-${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_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 \
+  ../libtorrent-libtorrent-${_pkgver}/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2018-06-27 Thread Felix Yan via arch-commits
Date: Wednesday, June 27, 2018 @ 15:36:26
  Author: felixonmars
Revision: 327703

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 327702, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 327702, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-06-27 15:36:26 UTC (rev 327703)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.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=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('0db79b60093fc771d3fb0a2df7d420ae874da0e5c0968e4cc28052c999ed259f339d4e8b271923a0dc71ec1433d50ad5b680d873ea3dbfa17e663e265c02975b')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent-${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_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 \
+  ../libtorrent-libtorrent-${_pkgver}/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2018-04-13 Thread Felix Yan via arch-commits
Date: Friday, April 13, 2018 @ 09:59:01
  Author: felixonmars
Revision: 321671

archrelease: copy trunk to testing-x86_64

Added:
  libtorrent-rasterbar/repos/testing-x86_64/
  libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD
(from rev 321670, libtorrent-rasterbar/trunk/PKGBUILD)

--+
 PKGBUILD |   63 +
 1 file changed, 63 insertions(+)

Copied: libtorrent-rasterbar/repos/testing-x86_64/PKGBUILD (from rev 321670, 
libtorrent-rasterbar/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2018-04-13 09:59:01 UTC (rev 321671)
@@ -0,0 +1,63 @@
+# $Id$
+# Maintainer: Felix Yan 
+# Contributor: Ionut Biru 
+# Contributor: Hugo Doria 
+
+pkgname=libtorrent-rasterbar
+pkgver=1.1.7
+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=('x86_64')
+license=('BSD')
+depends=('boost-libs')
+makedepends=('boost' 'python2' 'python')
+options=('!emptydirs')
+_pkgver=${pkgver//./_}
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
+sha512sums=('95479ff0cbce299edccaaeb435c31b07c05f45e319f3480645d2ae45a9bdc01866edb1329426c6835a7c0cba2d6347254f5f023009ff78405b813c131b78addb')
+
+prepare() {
+  mkdir py2 py3
+  cd libtorrent-libtorrent-${_pkgver}
+
+  # Avoid depending on newer processors
+  sed -i 's/-msse4.2//' configure.ac
+
+  ./autotool.sh
+}
+
+_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 \
+  ../libtorrent-libtorrent-${_pkgver}/configure \
+--prefix=/usr \
+--enable-python-binding \
+--enable-examples \
+--disable-static \
+--with-libiconv \
+--with-boost-python=$_boost
+)
+
+build() {
+  _build 2
+  _build 3
+}
+
+package() {
+  make -C py2 DESTDIR="$pkgdir" install
+  make -C py3 DESTDIR="$pkgdir" install
+  install -Dm644 libtorrent-libtorrent-${_pkgver}/COPYING \
+"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+
+  # Remove most example binaries
+  rm "$pkgdir"/usr/bin/{*_test,*_tester,simple_client,stats_counters}
+}


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

2010-01-14 Thread Ionut Biru
Date: Thursday, January 14, 2010 @ 12:23:27
  Author: ibiru
Revision: 63105

Merged revisions 63103 via svnmerge from 
svn+ssh://gerolde.archlinux.org/srv/svn-packages/libtorrent-rasterbar/trunk


  r63103 | ibiru | 2010-01-14 19:21:45 +0200 (Thu, 14 Jan 2010) | 2 lines
  
  upgpkg: libtorrent-rasterbar 0.14.8-1
  update to 0.14.8


Modified:
  libtorrent-rasterbar/repos/extra-x86_64/  (properties)
  libtorrent-rasterbar/repos/extra-x86_64/PKGBUILD

--+
 PKGBUILD |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)


Property changes on: libtorrent-rasterbar/repos/extra-x86_64
___
Modified: svnmerge-integrated
   - /libtorrent-rasterbar/trunk:1-60655
   + /libtorrent-rasterbar/trunk:1-63104

Modified: extra-x86_64/PKGBUILD
===
--- extra-x86_64/PKGBUILD   2010-01-14 17:22:27 UTC (rev 63104)
+++ extra-x86_64/PKGBUILD   2010-01-14 17:23:27 UTC (rev 63105)
@@ -6,7 +6,7 @@
 # Contributor: tardo ta...@nagi-fanboi.net
 
 pkgname=libtorrent-rasterbar
-pkgver=0.14.7
+pkgver=0.14.8
 pkgrel=1
 pkgdesc=A C++ library that aims to be a good alternative to all the other 
bittorrent implementations around
 url=http://www.rasterbar.com/products/libtorrent/;
@@ -15,7 +15,7 @@
 depends=('libsigc++2.0' 'boost=1.41.0' 'python=2.6')
 conflicts=('rb_libtorrent')
 provides=('rb_libtorrent')
-source=(http://downloads.sourceforge.net/libtorrent/${pkgname}-${pkgver}.tar.gz)
+source=(http://libtorrent.googlecode.com/files/${pkgname}-${pkgver}.tar.gz)
 
 build() {
   cd ${srcdir}/${pkgname}-${pkgver}
@@ -28,4 +28,4 @@
   make DESTDIR=${pkgdir} install || return 1
   install -D COPYING ${pkgdir}/usr/share/licenses/$pkgname/LICENSE
 }
-md5sums=('6959f719245d82758235fd73d93373b2')
+md5sums=('3fae9934b74e2ddf2c50c1f0ec320d75')