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

Jan de Groot jgc at archlinux.org
Thu Mar 16 23:01:15 UTC 2017


    Date: Thursday, March 16, 2017 @ 23:01:14
  Author: jgc
Revision: 216845

upgpkg: librtmp0 2.4-2

OpenSSL 1.1

Modified:
  librtmp0/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-16 22:47:25 UTC (rev 216844)
+++ PKGBUILD	2017-03-16 23:01:14 UTC (rev 216845)
@@ -8,21 +8,29 @@
 
 pkgname=librtmp0
 pkgver=2.4
-pkgrel=1
+pkgrel=2
 pkgdesc='Toolkit for RTMP streams'
 arch=('i686' 'x86_64')
 url='http://rtmpdump.mplayerhq.hu/'
 license=('GPL2' 'LGPL2.1')
-depends=('glibc' 'openssl' 'zlib')
+depends=('glibc' 'gnutls' 'zlib')
 makedepends=('git')
 provides=('librtmp.so')
 options=('!makeflags')
 _commit='c28f1bab7822de97353849e7787b59e50bbb1428'
-source=("git://git.ffmpeg.org/rtmpdump#commit=${_commit}")
+source=("git+https://git.ffmpeg.org/rtmpdump#commit=${_commit}")
 sha256sums=('SKIP')
 
+prepare() {
+  cd rtmpdump
+  git cherry-pick -n eea470fa5f9a5481a36dedd257549595ef7480d6
+  git cherry-pick -n 8e3064207fa7535baad07fd06b65630ec8b31a08
+  git cherry-pick -n 7340f6dbc6b3c8e552baab2e5a891c2de75cddcc
+}
+
 build() {
   cd rtmpdump
+  sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile
 
   make \
     OPT="$CFLAGS" \


More information about the arch-commits mailing list