Date: Monday, July 13, 2015 @ 20:54:54
  Author: jlichtblau
Revision: 136790

archrelease: copy trunk to community-staging-i686

Added:
  libtorrent/repos/community-staging-i686/
  libtorrent/repos/community-staging-i686/PKGBUILD
    (from rev 136789, libtorrent/trunk/PKGBUILD)
  libtorrent/repos/community-staging-i686/libtorrent-version.patch
    (from rev 136789, libtorrent/trunk/libtorrent-version.patch)

--------------------------+
 PKGBUILD                 |   44 ++++++++++++++++++++++++++++++++++++++++++++
 libtorrent-version.patch |   10 ++++++++++
 2 files changed, 54 insertions(+)

Copied: libtorrent/repos/community-staging-i686/PKGBUILD (from rev 136789, 
libtorrent/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD                             (rev 0)
+++ community-staging-i686/PKGBUILD     2015-07-13 18:54:54 UTC (rev 136790)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bis...@archlinux.org>
+# Contributor: Daenyth <Daenyth+Arch [at] gmail [dot] com>
+# Contributor: Jeff Mickey <j...@archlinux.org>
+# Contributor: sh__
+
+pkgname=libtorrent
+pkgver=0.13.5
+pkgrel=1
+pkgdesc='BitTorrent library with a focus on high performance and good code'
+url='http://rakshasa.github.io/rtorrent/'
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('openssl')
+#source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz";)
+#sha1sums=('3a3ca87054d020bc376abe2c1ea15bbbaef31131')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz";
+        $pkgname-version.patch)
+sha1sums=('0c83e8b9ece2c07986632dcc800f893451b23d71'
+          'ea80eb35cf5812840315726e67a5243ea6dccad4')
+
+prepare() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       sed '/AM_PATH_CPPUNIT/d' -i configure.ac
+#https://github.com/rakshasa/libtorrent/issues/82
+        patch -Np0 -i "${srcdir}"/$pkgname-version.patch
+}
+
+build() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       ./autogen.sh
+
+       export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing"
+       ./configure \
+               --prefix=/usr \
+               --disable-debug \
+
+       make
+}
+
+package() {
+       cd "${srcdir}/${pkgname}-${pkgver}"
+       make DESTDIR="${pkgdir}" install
+}

Copied: libtorrent/repos/community-staging-i686/libtorrent-version.patch (from 
rev 136789, libtorrent/trunk/libtorrent-version.patch)
===================================================================
--- community-staging-i686/libtorrent-version.patch                             
(rev 0)
+++ community-staging-i686/libtorrent-version.patch     2015-07-13 18:54:54 UTC 
(rev 136790)
@@ -0,0 +1,10 @@
+--- configure.ac.orig  2015-07-02 00:19:04.000000000 +0200
++++ configure.ac       2015-07-13 20:32:07.158592915 +0200
+@@ -1 +1 @@
+-AC_INIT(libtorrent, 0.13.4, sundell.softw...@gmail.com)
++AC_INIT(libtorrent, 0.13.5, sundell.softw...@gmail.com)
+@@ -6,2 +6,2 @@
+-AC_DEFINE(PEER_NAME, "-lt0D40-", Identifier that is part of the default peer 
id)
+-AC_DEFINE(PEER_VERSION, "lt\x0D\x40", 4 byte client and version identifier 
for DHT)
++AC_DEFINE(PEER_NAME, "-lt0D50-", Identifier that is part of the default peer 
id)
++AC_DEFINE(PEER_VERSION, "lt\x0D\x50", 4 byte client and version identifier 
for DHT)

Reply via email to