From ca5dd019b0670f75c3b93fa1757d5987adb1fa6d Mon Sep 17 00:00:00 2001 From: idriskalp Date: Sun, 12 Jan 2020 01:34:38 +0300 Subject: [PATCH] codec2 add to repo --- multimedia/sound/codec2/actions.py | 29 +++++++++++++++ multimedia/sound/codec2/pspec.xml | 58 ++++++++++++++++++++++++++++++ 2 files changed, 87 insertions(+) create mode 100755 multimedia/sound/codec2/actions.py create mode 100755 multimedia/sound/codec2/pspec.xml diff --git a/multimedia/sound/codec2/actions.py b/multimedia/sound/codec2/actions.py new file mode 100755 index 0000000000..000e17dd5b --- /dev/null +++ b/multimedia/sound/codec2/actions.py @@ -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") + diff --git a/multimedia/sound/codec2/pspec.xml b/multimedia/sound/codec2/pspec.xml new file mode 100755 index 0000000000..0c866c0dc9 --- /dev/null +++ b/multimedia/sound/codec2/pspec.xml @@ -0,0 +1,58 @@ + + + + + codec2 + http://www.rowetel.com/?page_id=452 + + Mathias Freire + mathiasfreire45@gmail.com + + LGPL + library + Low bit rate open source speech codec + 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. + https://hobbes1069.fedorapeople.org/freetel/codec2/codec2-0.8.1.tar.xz + + speex-devel + portaudio-devel + + + + + codec2 + + speex + portaudio + + + /usr/bin + /usr/lib + /usr/share/doc + + + + + codec2-devel + Header files for codec2. + + codec2 + + + /usr/include + + + + + + 2020-01-12 + 0.8.1 + First release. + Idris Kalp + idriskalp@gmail.com + + + + + +