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

Felix Yan felixonmars at archlinux.org
Sun Jun 30 09:55:41 UTC 2019


    Date: Sunday, June 30, 2019 @ 09:55:40
  Author: felixonmars
Revision: 486201

archrelease: copy trunk to multilib-staging-x86_64

Added:
  lib32-librtmp0/repos/multilib-staging-x86_64/
  lib32-librtmp0/repos/multilib-staging-x86_64/PKGBUILD
    (from rev 486200, lib32-librtmp0/trunk/PKGBUILD)

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

Copied: lib32-librtmp0/repos/multilib-staging-x86_64/PKGBUILD (from rev 486200, lib32-librtmp0/trunk/PKGBUILD)
===================================================================
--- multilib-staging-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-staging-x86_64/PKGBUILD	2019-06-30 09:55:40 UTC (rev 486201)
@@ -0,0 +1,53 @@
+# 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: Dan Ziemba <zman0900 at gmail.com>
+
+pkgname=lib32-librtmp0
+pkgver=2.4
+pkgrel=3
+pkgdesc='Toolkit for RTMP streams'
+arch=('x86_64')
+url='https://rtmpdump.mplayerhq.hu/'
+license=('GPL2' 'LGPL2.1')
+depends=('lib32-glibc' 'lib32-gnutls' 'lib32-zlib')
+makedepends=('git')
+provides=('librtmp.so')
+options=('!makeflags')
+_commit='c28f1bab7822de97353849e7787b59e50bbb1428'
+source=("git://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
+
+  sed -e 's/^CRYPTO=OPENSSL/#CRYPTO=OPENSSL/' -e 's/#CRYPTO=GNUTLS/CRYPTO=GNUTLS/' -i Makefile -i librtmp/Makefile
+}
+
+build() {
+  cd rtmpdump
+
+  make \
+    OPT="$CFLAGS -m32" \
+    XLDFLAGS="$LDFLAGS -m32"
+}
+
+package() {
+  cd rtmpdump
+
+  make \
+    prefix='/usr' \
+    sbindir='/usr/bin' \
+    libdir='/usr/lib32' \
+    mandir='/usr/share/man' \
+    DESTDIR="${pkgdir}" \
+    install
+  rm -rf "${pkgdir}"/usr/{bin,include,lib32/{librtmp.{a,so},pkgconfig},share}
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list