2009-05-15 14:37:27 +00:00
|
|
|
# Template file for 'libvorbis'.
|
|
|
|
pkgname=libvorbis
|
2012-02-23 08:20:58 +00:00
|
|
|
version=1.3.3
|
2013-03-21 16:22:28 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2013-03-24 09:21:58 +00:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="libogg-devel"
|
2009-05-15 14:37:27 +00:00
|
|
|
short_desc="The Vorbis General Audio Compression Codec"
|
2012-02-23 08:20:58 +00:00
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="BSD"
|
2013-03-21 16:22:28 +00:00
|
|
|
homepage="http://www.xiph.org/vorbis/"
|
|
|
|
distfiles="http://downloads.xiph.org/releases/vorbis/${pkgname}-${version}.tar.gz"
|
2012-02-23 08:20:58 +00:00
|
|
|
checksum=6d747efe7ac4ad249bf711527882cef79fb61d9194c45b5ca5498aa60f290762
|
2009-05-15 14:37:27 +00:00
|
|
|
long_desc="
|
|
|
|
Ogg Vorbis is a fully open, non-proprietary, patent- and royalty-free,
|
|
|
|
general-purpose compressed audio format for audio and music at fixed
|
|
|
|
and variable bitrates from 16 to 128 kbps/channel.
|
|
|
|
|
|
|
|
The libvorbis package contains runtime libraries for use in programs
|
|
|
|
that support Ogg Vorbis."
|
|
|
|
|
2013-04-08 23:49:27 +00:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-04-12 17:13:19 +00:00
|
|
|
hostmakedepends+=" libtool automake"
|
2013-03-21 16:22:28 +00:00
|
|
|
pre_configure() {
|
|
|
|
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
fi
|
2013-04-12 17:13:19 +00:00
|
|
|
|
|
|
|
libvorbis-devel_package() {
|
|
|
|
depends="libogg-devel libvorbis>=${version}"
|
|
|
|
short_desc="${short_desc} - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
vmove usr/share
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libvorbis_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|