codec2 add to repo
This commit is contained in:
Executable
+29
@@ -0,0 +1,29 @@
|
|||||||
|
#!/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 cmaketools
|
||||||
|
from pisi.actionsapi import pisitools
|
||||||
|
from pisi.actionsapi import shelltools
|
||||||
|
from pisi.actionsapi import get
|
||||||
|
|
||||||
|
def setup():
|
||||||
|
shelltools.system("mkdir build_")
|
||||||
|
shelltools.cd("build_")
|
||||||
|
|
||||||
|
shelltools.system("cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib")
|
||||||
|
|
||||||
|
def build():
|
||||||
|
shelltools.cd("build_")
|
||||||
|
cmaketools.make()
|
||||||
|
|
||||||
|
def install():
|
||||||
|
shelltools.cd("build_")
|
||||||
|
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
||||||
|
|
||||||
|
shelltools.cd("..")
|
||||||
|
pisitools.dodoc("COPYING", "README")
|
||||||
|
|
||||||
Executable
+58
@@ -0,0 +1,58 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>codec2</Name>
|
||||||
|
<Homepage>http://www.rowetel.com/?page_id=452</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>Mathias Freire</Name>
|
||||||
|
<Email>mathiasfreire45@gmail.com</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>LGPL</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>Low bit rate open source speech codec</Summary>
|
||||||
|
<Description>Codec 2 is an open source speech codec designed for communications quality speech between 700 and 3200 bit/s. The main application is low bandwidth HF/VHF digital radio.</Description>
|
||||||
|
<Archive sha1sum="aa341c6d8d70407cb0b842fb7101ddceb29067cf" type="tarxz">https://hobbes1069.fedorapeople.org/freetel/codec2/codec2-0.8.1.tar.xz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>speex-devel</Dependency>
|
||||||
|
<Dependency>portaudio-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>codec2</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>speex</Dependency>
|
||||||
|
<Dependency>portaudio</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="executable">/usr/bin</Path>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>codec2-devel</Name>
|
||||||
|
<Summary>Header files for codec2.</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">codec2</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/include</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-01-12</Date>
|
||||||
|
<Version>0.8.1</Version>
|
||||||
|
<Comment>First release.</Comment>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user