codec2 upstream 1.2.0
This commit is contained in:
@@ -2,28 +2,23 @@
|
|||||||
# -*- coding: utf-8 -*-
|
# -*- coding: utf-8 -*-
|
||||||
#
|
#
|
||||||
# Licensed under the GNU General Public License, version 3.
|
# Licensed under the GNU General Public License, version 3.
|
||||||
# See the file http://www.gnu.org/copyleft/gpl.txt
|
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
|
||||||
|
|
||||||
from pisi.actionsapi import autotools
|
from pisi.actionsapi import cmaketools, mesontools, pisitools
|
||||||
from pisi.actionsapi import cmaketools
|
|
||||||
from pisi.actionsapi import pisitools
|
y = ''.join([
|
||||||
from pisi.actionsapi import shelltools
|
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||||
from pisi.actionsapi import get
|
' -DCMAKE_BUILD_TYPE=None',
|
||||||
|
' -Bbuild -G Ninja -L '
|
||||||
|
])
|
||||||
|
|
||||||
def setup():
|
def setup():
|
||||||
shelltools.system("mkdir build_")
|
cmaketools.configure(y)
|
||||||
shelltools.cd("build_")
|
|
||||||
|
|
||||||
shelltools.system("cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib")
|
|
||||||
|
|
||||||
def build():
|
def build():
|
||||||
shelltools.cd("build_")
|
mesontools.build()
|
||||||
cmaketools.make()
|
|
||||||
|
|
||||||
def install():
|
def install():
|
||||||
shelltools.cd("build_")
|
mesontools.install()
|
||||||
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
|
||||||
|
|
||||||
shelltools.cd("..")
|
|
||||||
pisitools.dodoc("COPYING", "README")
|
|
||||||
|
|
||||||
|
pisitools.dodoc("COPYING")
|
||||||
|
|||||||
@@ -1,50 +1,53 @@
|
|||||||
<?xml version="1.0" ?>
|
<?xml version="1.0" ?>
|
||||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
<PISI>
|
<PISI>
|
||||||
<Source>
|
<Source>
|
||||||
<Name>codec2</Name>
|
<Name>codec2</Name>
|
||||||
<Homepage>http://www.rowetel.com/?page_id=452</Homepage>
|
<Homepage>https://github.com/drowe67/codec2</Homepage>
|
||||||
<Packager>
|
<Packager>
|
||||||
<Name>Mathias Freire</Name>
|
<Name>Mathias Freire</Name>
|
||||||
<Email>mathiasfreire45@gmail.com</Email>
|
<Email>mathiasfreire45@gmail.com</Email>
|
||||||
</Packager>
|
</Packager>
|
||||||
<License>LGPL</License>
|
<License>LGPLv2.1</License>
|
||||||
<IsA>library</IsA>
|
<IsA>library</IsA>
|
||||||
<Summary>Low bit rate open source speech codec</Summary>
|
<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>
|
<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>
|
<Archive sha1sum="ff3d34e19ff40aee9b1c5fdcecc545a3bd69b7bf" type="targz">https://github.com/drowe67/codec2/archive/1.2.0/codec2-1.2.0.tar.gz</Archive>
|
||||||
<BuildDependencies>
|
<BuildDependencies>
|
||||||
<Dependency>cmake</Dependency>
|
<Dependency>cmake</Dependency>
|
||||||
<Dependency>speex-devel</Dependency>
|
<Dependency>ninja</Dependency>
|
||||||
<Dependency>portaudio-devel</Dependency>
|
|
||||||
</BuildDependencies>
|
</BuildDependencies>
|
||||||
</Source>
|
</Source>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>codec2</Name>
|
<Name>codec2</Name>
|
||||||
<RuntimeDependencies>
|
|
||||||
<Dependency>speex</Dependency>
|
|
||||||
<Dependency>portaudio</Dependency>
|
|
||||||
</RuntimeDependencies>
|
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="executable">/usr/bin</Path>
|
|
||||||
<Path fileType="library">/usr/lib</Path>
|
<Path fileType="library">/usr/lib</Path>
|
||||||
<Path fileType="doc">/usr/share/doc</Path>
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<Package>
|
<Package>
|
||||||
<Name>codec2-devel</Name>
|
<Name>codec2-devel</Name>
|
||||||
<Summary>Header files for codec2.</Summary>
|
<Summary>Header files for codec2.</Summary>
|
||||||
<RuntimeDependencies>
|
<RuntimeDependencies>
|
||||||
<Dependency release="current">codec2</Dependency>
|
<Dependency release="current">codec2</Dependency>
|
||||||
</RuntimeDependencies>
|
</RuntimeDependencies>
|
||||||
<Files>
|
<Files>
|
||||||
<Path fileType="library">/usr/include</Path>
|
<Path fileType="library">/usr/include</Path>
|
||||||
|
<Path fileType="data">/usr/lib/cmake</Path>
|
||||||
|
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||||
</Files>
|
</Files>
|
||||||
</Package>
|
</Package>
|
||||||
|
|
||||||
<History>
|
<History>
|
||||||
|
<Update release="2">
|
||||||
|
<Date>2025-01-29</Date>
|
||||||
|
<Version>1.2.0</Version>
|
||||||
|
<Comment>Version bump.</Comment>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
<Update release="1">
|
<Update release="1">
|
||||||
<Date>2020-01-12</Date>
|
<Date>2020-01-12</Date>
|
||||||
<Version>0.8.1</Version>
|
<Version>0.8.1</Version>
|
||||||
@@ -54,6 +57,3 @@
|
|||||||
</Update>
|
</Update>
|
||||||
</History>
|
</History>
|
||||||
</PISI>
|
</PISI>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user