1 # Maintainer: Maxime Gauduin <alucryd@archlinux.org>
2 # Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
3 # Contributor: xduugu <xduugu@gmx.com>
4 # Contributor: Elis Hughes <elishughes@googlemail.com>
5 # Contributor: kaptoxic <kaptoxic@yahoo.com>
6 # Contributor: Arthur Skowronek <eisensheng@mailbox.org>
11 pkgdesc='Toolkit for RTMP streams'
13 url='https://rtmpdump.mplayerhq.hu/'
14 license=('GPL2' 'LGPL2.1')
15 depends=('glibc' 'gnutls' 'zlib')
17 provides=('librtmp.so')
18 options=('!makeflags')
19 _commit='c28f1bab7822de97353849e7787b59e50bbb1428'
20 source=("git+https://git.ffmpeg.org/rtmpdump#commit=${_commit}")
25 git cherry-pick -n eea470fa5f9a5481a36dedd257549595ef7480d6
26 git cherry-pick -n 8e3064207fa7535baad07fd06b65630ec8b31a08
27 git cherry-pick -n 7340f6dbc6b3c8e552baab2e5a891c2de75cddcc
32 sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile
45 mandir='/usr/share/man' \
48 rm -rf "${pkgdir}"/usr/{bin,include,lib/{librtmp.{a,so},pkgconfig},share}