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

Felix Yan felixonmars at archlinux.org
Wed Nov 2 15:45:43 UTC 2016


    Date: Wednesday, November 2, 2016 @ 15:45:43
  Author: felixonmars
Revision: 279759

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

Added:
  libtorrent-rasterbar/repos/extra-i686/PKGBUILD
    (from rev 279758, libtorrent-rasterbar/trunk/PKGBUILD)
  libtorrent-rasterbar/repos/extra-x86_64/PKGBUILD
    (from rev 279758, libtorrent-rasterbar/trunk/PKGBUILD)
Deleted:
  libtorrent-rasterbar/repos/extra-i686/PKGBUILD
  libtorrent-rasterbar/repos/extra-x86_64/PKGBUILD

-----------------------+
 /PKGBUILD             |  126 ++++++++++++++++++++++++++++++++++++++++++++++++
 extra-i686/PKGBUILD   |   57 ---------------------
 extra-x86_64/PKGBUILD |   57 ---------------------
 3 files changed, 126 insertions(+), 114 deletions(-)

Deleted: extra-i686/PKGBUILD
===================================================================
--- extra-i686/PKGBUILD	2016-11-02 15:45:07 UTC (rev 279758)
+++ extra-i686/PKGBUILD	2016-11-02 15:45:43 UTC (rev 279759)
@@ -1,57 +0,0 @@
-# $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.1.1
-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=('i686' 'x86_64')
-license=('BSD')
-depends=('boost-libs')
-makedepends=('boost' 'python2' 'python3')
-options=('!emptydirs')
-_pkgver=${pkgver//./_}
-source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
-sha1sums=('8b8285adb93355df7c20bea4cb4cb446f0e8af6a')
-
-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
-  # 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
-)
-
-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}
-}

Copied: libtorrent-rasterbar/repos/extra-i686/PKGBUILD (from rev 279758, libtorrent-rasterbar/trunk/PKGBUILD)
===================================================================
--- extra-i686/PKGBUILD	                        (rev 0)
+++ extra-i686/PKGBUILD	2016-11-02 15:45:43 UTC (rev 279759)
@@ -0,0 +1,63 @@
+# $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.1.1
+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/"
+arch=('i686' '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)
+sha1sums=('8b8285adb93355df7c20bea4cb4cb446f0e8af6a')
+
+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}
+}

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2016-11-02 15:45:07 UTC (rev 279758)
+++ extra-x86_64/PKGBUILD	2016-11-02 15:45:43 UTC (rev 279759)
@@ -1,57 +0,0 @@
-# $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.1.1
-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=('i686' 'x86_64')
-license=('BSD')
-depends=('boost-libs')
-makedepends=('boost' 'python2' 'python3')
-options=('!emptydirs')
-_pkgver=${pkgver//./_}
-source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${_pkgver}/$pkgname-$pkgver.tar.gz)
-sha1sums=('8b8285adb93355df7c20bea4cb4cb446f0e8af6a')
-
-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
-  # 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
-)
-
-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}
-}

Copied: libtorrent-rasterbar/repos/extra-x86_64/PKGBUILD (from rev 279758, libtorrent-rasterbar/trunk/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2016-11-02 15:45:43 UTC (rev 279759)
@@ -0,0 +1,63 @@
+# $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.1.1
+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/"
+arch=('i686' '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)
+sha1sums=('8b8285adb93355df7c20bea4cb4cb446f0e8af6a')
+
+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}
+}



More information about the arch-commits mailing list