codec2 upstream 1.2.0
This commit is contained in:
@@ -2,28 +2,23 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
#
|
||||
# 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
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import get
|
||||
from pisi.actionsapi import cmaketools, mesontools, pisitools
|
||||
|
||||
y = ''.join([
|
||||
' -DCMAKE_INSTALL_PREFIX=/usr',
|
||||
' -DCMAKE_BUILD_TYPE=None',
|
||||
' -Bbuild -G Ninja -L '
|
||||
])
|
||||
|
||||
def setup():
|
||||
shelltools.system("mkdir build_")
|
||||
shelltools.cd("build_")
|
||||
|
||||
shelltools.system("cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_LIBDIR=lib")
|
||||
cmaketools.configure(y)
|
||||
|
||||
def build():
|
||||
shelltools.cd("build_")
|
||||
cmaketools.make()
|
||||
mesontools.build()
|
||||
|
||||
def install():
|
||||
shelltools.cd("build_")
|
||||
autotools.rawInstall("DESTDIR=%s" %get.installDIR())
|
||||
|
||||
shelltools.cd("..")
|
||||
pisitools.dodoc("COPYING", "README")
|
||||
mesontools.install()
|
||||
|
||||
pisitools.dodoc("COPYING")
|
||||
|
||||
@@ -1,50 +1,53 @@
|
||||
<?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>
|
||||
<Source>
|
||||
<Name>codec2</Name>
|
||||
<Homepage>http://www.rowetel.com/?page_id=452</Homepage>
|
||||
<Homepage>https://github.com/drowe67/codec2</Homepage>
|
||||
<Packager>
|
||||
<Name>Mathias Freire</Name>
|
||||
<Email>mathiasfreire45@gmail.com</Email>
|
||||
</Packager>
|
||||
<License>LGPL</License>
|
||||
<License>LGPLv2.1</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>
|
||||
<Archive sha1sum="ff3d34e19ff40aee9b1c5fdcecc545a3bd69b7bf" type="targz">https://github.com/drowe67/codec2/archive/1.2.0/codec2-1.2.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>cmake</Dependency>
|
||||
<Dependency>speex-devel</Dependency>
|
||||
<Dependency>portaudio-devel</Dependency>
|
||||
<Dependency>ninja</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>
|
||||
|
||||
<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>
|
||||
<Path fileType="library">/usr/include</Path>
|
||||
<Path fileType="data">/usr/lib/cmake</Path>
|
||||
<Path fileType="data">/usr/lib/pkgconfig</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<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">
|
||||
<Date>2020-01-12</Date>
|
||||
<Version>0.8.1</Version>
|
||||
@@ -54,6 +57,3 @@
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user