rtmpdump:moved into main for pisi 2.0

This commit is contained in:
2015-07-23 13:49:35 +03:00
parent 835638540b
commit 63cb407e4c
4 changed files with 123 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
<PISI>
<Name>multimedia.stream</Name>
</PISI>
+32
View File
@@ -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")
+75
View File
@@ -0,0 +1,75 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>rtmpdump</Name>
<Homepage>http://rtmpdump.mplayerhq.hu/</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>GPLv2</License>
<!-- librtmp has LGPL -->
<License>LGPLv2</License>
<IsA>app:console</IsA>
<IsA>library</IsA>
<Summary>Toolkit for RTMP streams</Summary>
<Description>rtmpdump is a tool for dumping media content streamed over RTMP. All forms of RTMP are supported, including rtmp://, rtmpt://, rtmpe://, rtmpte://, and rtmps:// .</Description>
<Archive sha1sum="189504016b9f6e53149a8442e93c3086fbe1a27a" type="targz">http://source.pisilinux.org/1.0/rtmpdump-20130918.tar.gz</Archive>
<BuildDependencies>
<Dependency>openssl-devel</Dependency>
<Dependency>zlib-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>rtmpdump</Name>
<RuntimeDependencies>
<Dependency>openssl</Dependency>
<Dependency>zlib</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin</Path>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc/rtmpdump</Path>
<Path fileType="man">/usr/share/man</Path>
</Files>
</Package>
<Package>
<Name>rtmpdump-devel</Name>
<Summary>Development files for rtmpdump</Summary>
<RuntimeDependencies>
<Dependency release="current">rtmpdump</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="header">/usr/include</Path>
<Path fileType="library">/usr/lib/pkgconfig</Path>
<Path fileType="man">/usr/share/man/man3</Path>
</Files>
</Package>
<History>
<Update release="3">
<Date>2014-05-20</Date>
<Version>20130918</Version>
<Comment>Version bump.</Comment>
<Name>Serdar Soytetir</Name>
<Email>kaptan@pisilinux.org</Email>
</Update>
<Update release="2">
<Date>2014-02-11</Date>
<Version>2.3</Version>
<Comment>Rebuild</Comment>
<Name>Alihan Öztürk</Name>
<Email>alihan@pisilinux.org</Email>
</Update>
<Update release="1">
<Date>2011-01-19</Date>
<Version>2.3</Version>
<Comment>First release</Comment>
<Name>Pisi Linux Admins</Name>
<Email>admins@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,13 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>rtmpdump</Name>
<Summary xml:lang="tr">RTMP yayınları araç takımı</Summary>
<Description xml:lang="tr">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:// .</Description>
</Source>
<Package>
<Name>rtmpdump-devel</Name>
<Summary xml:lang="tr">rtmpdump için geliştirme dosyaları</Summary>
</Package>
</PISI>