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

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


    Date: Thursday, March 16, 2017 @ 23:01:19
  Author: jgc
Revision: 216846

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

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

-----------------------------------+
 community-staging-i686/PKGBUILD   |   52 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

Copied: librtmp0/repos/community-staging-i686/PKGBUILD (from rev 216845, librtmp0/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-16 23:01:19 UTC (rev 216846)
@@ -0,0 +1,52 @@
+# $Id$
+# 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=2
+pkgdesc='Toolkit for RTMP streams'
+arch=('i686' 'x86_64')
+url='http://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:

Copied: librtmp0/repos/community-staging-x86_64/PKGBUILD (from rev 216845, librtmp0/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-16 23:01:19 UTC (rev 216846)
@@ -0,0 +1,52 @@
+# $Id$
+# 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=2
+pkgdesc='Toolkit for RTMP streams'
+arch=('i686' 'x86_64')
+url='http://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