[arch-commits] Commit in libtorrent/trunk (PKGBUILD)

Antonio Rojas arojas at archlinux.org
Tue Mar 7 21:51:48 UTC 2017


    Date: Tuesday, March 7, 2017 @ 21:51:47
  Author: arojas
Revision: 215268

openssl 1.1 rebuild

Modified:
  libtorrent/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-07 21:43:32 UTC (rev 215267)
+++ PKGBUILD	2017-03-07 21:51:47 UTC (rev 215268)
@@ -7,7 +7,7 @@
 
 pkgname=libtorrent
 pkgver=0.13.6
-pkgrel=2
+pkgrel=3
 pkgdesc='BitTorrent library with a focus on high performance and good code'
 url='http://rakshasa.github.io/rtorrent/'
 arch=('i686' 'x86_64')
@@ -14,12 +14,16 @@
 license=('GPL')
 depends=('openssl')
 #source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz")
-source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz")
-sha256sums=('bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/rakshasa/${pkgname}/archive/${pkgver}.tar.gz"
+        libtorrent-openssl-1.1.patch::"https://github.com/rakshasa/libtorrent/commit/4607bbf7.patch")
+sha256sums=('bf963ac6e73e194a2cd87ebdf809988b5b3d6244bb7cd43d7d0c4852fc501524'
+            '82f639c1e7cf3299c2a44a705e69286abd33a75c70d2da0594d41d5a08cd8c1a')
 
 prepare() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
 	sed '/AM_PATH_CPPUNIT/d' -i configure.ac
+        # fix build against openssl 1.1
+        patch -p1 -i ../libtorrent-openssl-1.1.patch
 }
 
 build() {


More information about the arch-commits mailing list