[arch-commits] Commit in librtmp0/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue May 5 05:25:45 UTC 2020


    Date: Tuesday, May 5, 2020 @ 05:25:44
  Author: felixonmars
Revision: 624807

archrelease: copy trunk to community-staging-x86_64

Added:
  librtmp0/repos/community-staging-x86_64/
  librtmp0/repos/community-staging-x86_64/PKGBUILD
    (from rev 624806, librtmp0/trunk/PKGBUILD)

----------+
 PKGBUILD |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

Copied: librtmp0/repos/community-staging-x86_64/PKGBUILD (from rev 624806, librtmp0/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-05-05 05:25:44 UTC (rev 624807)
@@ -0,0 +1,51 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: xduugu <xduugu at gmx.com>
+# Contributor: Elis Hughes <elishughes at googlemail.com>
+# Contributor: kaptoxic <kaptoxic at yahoo.com>
+# Contributor: Arthur Skowronek <eisensheng at mailbox.org>
+
+pkgname=librtmp0
+pkgver=2.4
+pkgrel=5
+pkgdesc='Toolkit for RTMP streams'
+arch=('x86_64')
+url='https://rtmpdump.mplayerhq.hu/'
+license=('GPL2' 'LGPL2.1')
+depends=('glibc' 'gnutls' 'zlib')
+makedepends=('git')
+provides=('librtmp.so')
+options=('!makeflags')
+_commit='c28f1bab7822de97353849e7787b59e50bbb1428'
+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" \
+    XLDFLAGS="$LDFLAGS"
+}
+
+package() {
+  cd rtmpdump
+
+  make \
+    prefix='/usr' \
+    sbindir='/usr/bin' \
+    mandir='/usr/share/man' \
+    DESTDIR="${pkgdir}" \
+    install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib/{librtmp.{a,so},pkgconfig},share}
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list