[geexbox-][r15142] rtmpdump: upgrade to git 7340f6dbc

11 views
Skip to first unread message

h...@geexbox.org

unread,
May 23, 2012, 12:03:51 PM5/23/12
to com...@geexbox.org
changeset 113091339d31 in /var/www/hg/geexbox
author: Davide Cavalca <dav...@geexbox.org>
details: http://hg.geexbox.org/geexbox?cmd=changeset;node=113091339d31
description:
rtmpdump: upgrade to git 7340f6dbc
diffstat:

packages/rtmpdump/build | 30 +++++++-----------------------
packages/rtmpdump/meta | 9 ++++++---
packages/rtmpdump/unpack | 6 ++++++
3 files changed, 19 insertions(+), 26 deletions(-)

diffs (66 lines):

diff -r 43a0c74ab38a -r 113091339d31 packages/rtmpdump/build
--- a/packages/rtmpdump/build Sun May 20 22:18:01 2012 -0700
+++ b/packages/rtmpdump/build Sun May 20 22:18:26 2012 -0700
@@ -5,27 +5,11 @@
cd $BUILD/$1*

make \
- prefix=/usr \
- incdir=/usr/include/librtmp \
- libdir=/usr/lib \
- mandir=/usr/share/man \
- CC="$CC" \
- LD="$LD" \
- AR="$AR" \
- CRYPTO="GNUTLS" \
- XCFLAGS="$CFLAGS $LDFLAGS"
-make -C librtmp librtmp.pc
+ SYS=posix \
+ CRYPTO="OPENSSL" \
+ CROSS_COMPILE="$TARGET_PREFIX" \
+ XCFLAGS="$CFLAGS" \
+ XLDFLAGS="$LDFLAGS" \

-rm -rf .install
-for i in bin sbin lib lib/pkgconfig include/librtmp; do
- mkdir -p .install/usr/$i
-done
-cp -P rtmpdump .install/usr/bin
-cp -P rtmpgw rtmpsrv rtmpsuck .install/usr/sbin
-cp -P librtmp/amf.h librtmp/http.h librtmp/log.h librtmp/rtmp.h \
- .install/usr/include/librtmp
-cp -P librtmp/librtmp.a .install/usr/lib
-cp -P librtmp/librtmp.so* .install/usr/lib
-cp -P librtmp/librtmp.pc .install/usr/lib/pkgconfig
-strip_libs .install
-strip_bins .install
+export MAKEFLAGS=-j1
+make_install
diff -r 43a0c74ab38a -r 113091339d31 packages/rtmpdump/meta
--- a/packages/rtmpdump/meta Sun May 20 22:18:01 2012 -0700
+++ b/packages/rtmpdump/meta Sun May 20 22:18:26 2012 -0700
@@ -1,8 +1,11 @@
PKG_NAME=rtmpdump
-PKG_VERSION=2.3
-PKG_URL="http://rtmpdump.mplayerhq.hu/download/rtmpdump-${PKG_VERSION}.tgz"
+PKG_URL_PROTO=git
+PKG_URL_REV=7340f6dbc
+PKG_URL="git://git.ffmpeg.org/rtmpdump"
+PKG_VERSION=2.4+git${PKG_URL_REV}
PKG_REV=1
-PKG_DEPENDS="$TARGET_LIBC gnutls zlib"
+PKG_RUN_DEPENDS="$TARGET_LIBC"
+PKG_DEPENDS="openssl zlib"
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY=optional
PKG_SECTION=utils
diff -r 43a0c74ab38a -r 113091339d31 packages/rtmpdump/unpack
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/rtmpdump/unpack Sun May 20 22:18:26 2012 -0700
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+. config/options
+
+sed -e 's:^prefix=.*$:prefix=/usr:' -i $BUILD/$1*/Makefile
+sed -e 's:^prefix=.*$:prefix=/usr:' -i $BUILD/$1*/librtmp/Makefile
Reply all
Reply to author
Forward
0 new messages