From 63cb407e4cff331f2d7b0fca523390d85ed3c9c4 Mon Sep 17 00:00:00 2001 From: ayhanyalcinsoy Date: Thu, 23 Jul 2015 13:49:35 +0300 Subject: [PATCH] rtmpdump:moved into main for pisi 2.0 --- multimedia/stream/component.xml | 3 + multimedia/stream/rtmpdump/actions.py | 32 +++++++++ multimedia/stream/rtmpdump/pspec.xml | 75 +++++++++++++++++++++ multimedia/stream/rtmpdump/translations.xml | 13 ++++ 4 files changed, 123 insertions(+) create mode 100644 multimedia/stream/component.xml create mode 100644 multimedia/stream/rtmpdump/actions.py create mode 100644 multimedia/stream/rtmpdump/pspec.xml create mode 100644 multimedia/stream/rtmpdump/translations.xml diff --git a/multimedia/stream/component.xml b/multimedia/stream/component.xml new file mode 100644 index 0000000000..2ad7805544 --- /dev/null +++ b/multimedia/stream/component.xml @@ -0,0 +1,3 @@ + + multimedia.stream + diff --git a/multimedia/stream/rtmpdump/actions.py b/multimedia/stream/rtmpdump/actions.py new file mode 100644 index 0000000000..de6f2e928a --- /dev/null +++ b/multimedia/stream/rtmpdump/actions.py @@ -0,0 +1,32 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +makeargs="prefix=/usr sbindir=/usr/bin mandir=/usr/share/man" + +def setup(): + pisitools.dosed("Makefile", "CC=.*", "CC=%s" % get.CC()) + pisitools.dosed("Makefile", "LDFLAGS=.*", \ + "LDFLAGS=%s" % get.LDFLAGS()) + + pisitools.dosed("librtmp/Makefile", "CC=.*", \ + "CC=%s" % get.CC()) + + +def build(): + + autotools.make(' -j1 %s XCFLAGS="%s"' % (makeargs, get.CFLAGS()) ) + +def install(): + autotools.rawInstall(' -j1 %s DESTDIR=%s' % (makeargs, get.installDIR())) + + #pisitools.remove("/usr/lib/librtmp.a") + + pisitools.insinto("/usr/share/doc/%s" % get.srcNAME(), "librtmp/COPYING", "librtmp-COPYING") + pisitools.dodoc("COPYING", "ChangeLog", "README") diff --git a/multimedia/stream/rtmpdump/pspec.xml b/multimedia/stream/rtmpdump/pspec.xml new file mode 100644 index 0000000000..d8d62b1892 --- /dev/null +++ b/multimedia/stream/rtmpdump/pspec.xml @@ -0,0 +1,75 @@ + + + + + rtmpdump + http://rtmpdump.mplayerhq.hu/ + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + + LGPLv2 + app:console + library + Toolkit for RTMP streams + rtmpdump is a tool for dumping media content streamed over RTMP. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps:// . + http://source.pisilinux.org/1.0/rtmpdump-20130918.tar.gz + + openssl-devel + zlib-devel + + + + + rtmpdump + + openssl + zlib + + + /usr/bin + /usr/lib + /usr/share/doc/rtmpdump + /usr/share/man + + + + + rtmpdump-devel + Development files for rtmpdump + + rtmpdump + + + /usr/include + /usr/lib/pkgconfig + /usr/share/man/man3 + + + + + + 2014-05-20 + 20130918 + Version bump. + Serdar Soytetir + kaptan@pisilinux.org + + + 2014-02-11 + 2.3 + Rebuild + Alihan Öztürk + alihan@pisilinux.org + + + 2011-01-19 + 2.3 + First release + Pisi Linux Admins + admins@pisilinux.org + + + diff --git a/multimedia/stream/rtmpdump/translations.xml b/multimedia/stream/rtmpdump/translations.xml new file mode 100644 index 0000000000..bbbf873758 --- /dev/null +++ b/multimedia/stream/rtmpdump/translations.xml @@ -0,0 +1,13 @@ + + + + rtmpdump + RTMP yayınları araç takımı + rtmpdump, RTMP üzerinden yayın yapan ortam içeriklerinin dökümünü yapmak için yazılmış bir araçtır. RTMP yayımının bütün biçimleri desteklenmektedir: rtmp://, rtmpt://, rtmpe://, rtmpte://, ve rtmps:// . + + + + rtmpdump-devel + rtmpdump için geliştirme dosyaları + +