Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
audio/speex: split up into speex and speexDSP.
Implement speexDSP as a new subport. Speex 1.2.0 does not include
speexDSP anymore, so we need an unique port for that.
  • Loading branch information
Ionic committed Feb 13, 2017
1 parent 0d08650 commit 04ab7e6
Showing 1 changed file with 48 additions and 31 deletions.
79 changes: 48 additions & 31 deletions audio/speex/Portfile
@@ -1,36 +1,53 @@
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4

PortSystem 1.0
name speex
version 1.2.0
categories audio
license BSD
maintainers nomaintainer
description audio codec designed for speech

long_description Speex is an Open Source/Free Software \
patent-free audio compression format \
designed for speech. The Speex Project \
aims to lower the barrier of entry for \
voice applications by providing a free \
alternative to expensive proprietary \
speech codecs. Moreover, Speex is \
well-adapted to Internet applications \
and provides useful features that are \
not present in most other codecs.

homepage http://speex.org/
platforms darwin

conflicts speex-devel

depends_lib port:libogg

master_sites http://downloads.xiph.org/releases/speex

checksums rmd160 898a8746130794b2b5778f339ca72f99fb903e72 \
PortSystem 1.0
name speex
version 1.2.0
categories audio
license BSD
maintainers nomaintainer
description audio codec designed for speech

long_description Speex is an Open Source/Free Software \
patent-free audio compression format \
designed for speech. The Speex Project \
aims to lower the barrier of entry for \
voice applications by providing a free \
alternative to expensive proprietary \
speech codecs. Moreover, Speex is \
well-adapted to Internet applications \
and provides useful features that are \
not present in most other codecs.

homepage http://speex.org/
platforms darwin

conflicts ${subport}-devel

master_sites http://downloads.xiph.org/releases/speex

use_parallel_build yes

subport speexDSP {}

livecheck.regex "${subport}-((\[0-9rc.\]+)?)${extract.suffix}"

if {${subport} eq ${name}} {
checksums rmd160 898a8746130794b2b5778f339ca72f99fb903e72 \
sha256 eaae8af0ac742dc7d542c9439ac72f1f385ce838392dc849cae4536af9210094

use_parallel_build yes
depends_lib port:libogg
} else {
set real_name "speexdsp"

description Speex audio processing library

version 1.2rc3

checksums rmd160 65b99919abd7d7bd139d50669afffc3823f06e6f \
sha256 4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1

distname ${real_name}-${version}

livecheck.regex "${name}-((\[0-9rc.\]+)?)${extract.suffix}"
livecheck.regex "${real_name}-((\[0-9rc.\]+)?)${extract.suffix}"
}

0 comments on commit 04ab7e6

Please sign in to comment.