# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
description The Ogg Vorbis CODEC tools
Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free, \
general-purpose compressed audio format for mid to high quality \
(8kHz-48.0kHz, 16+ bit, polyphonic) audio and music at fixed and \
variable bitrates from 16 to 128 kbps/channel. This places Vorbis in \
the same competetive class as audio representations such as MPEG-4 \
(AAC), and similar to, but higher performance than MPEG-1/2 audio \
layer 3, MPEG-4 audio (TwinVQ), WMA and PAC.
license GPL-2+ BSD LGPL-2+
homepage http://www.vorbis.com/
master_sites https://downloads.xiph.org/releases/vorbis/
checksums md5 567e0fb8d321b2cd7124f8208b8b90e6 \
sha1 fc6a820bdb5ad6fcac074721fab5c3f96eaf6562 \
rmd160 ff21e5c9456ac0a82b8eda4e53931db8522a2ccd
--mandir=${prefix}/share/man \
variant flac description "Enable FLAC support" {
depends_lib-append port:flac
configure.args-delete --without-flac
variant speex description "Enable Speex support" {
depends_lib-append path:lib/libspeex.dylib:speex
configure.args-delete --without-speex
reinplace "s|-O4|-O3|g" ${worksrcpath}/configure
file delete -force ${destroot}${prefix}/share/locale/locale.alias
file delete -force ${destroot}${prefix}/lib/charset.alias