2009-12-22 21:00:53 +01:00
|
|
|
# Template file for 'flac'
|
|
|
|
pkgname=flac
|
|
|
|
version=1.2.1
|
2013-03-21 17:46:27 +01:00
|
|
|
revision=6
|
|
|
|
subpackages="libflac libflac-devel"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2009-12-22 21:00:53 +01:00
|
|
|
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin"
|
2013-03-24 10:21:58 +01:00
|
|
|
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
|
|
|
hostmakedepends="nasm"
|
|
|
|
fi
|
|
|
|
makedepends="libogg-devel"
|
2009-12-22 21:00:53 +01:00
|
|
|
short_desc="Free Lossless Audio Codec"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2013-03-21 17:46:27 +01:00
|
|
|
homepage="http://flac.sourceforge.net/"
|
|
|
|
license="BSD, GPL"
|
|
|
|
distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-$version.tar.gz"
|
2009-12-22 21:00:53 +01:00
|
|
|
checksum=9635a44bceb478bbf2ee8a785cf6986fba525afb5fad1fd4bba73cf71f2d3edf
|
|
|
|
long_desc="
|
|
|
|
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
|
|
|
|
similar to MP3, but lossless. The FLAC project consists of:
|
2013-03-21 17:46:27 +01:00
|
|
|
|
2009-12-22 21:00:53 +01:00
|
|
|
* the stream format
|
|
|
|
* libFLAC, which implements reference encoders and decoders
|
|
|
|
* flac, a command-line wrapper around libFLAC to encode and decode .flac
|
|
|
|
files
|
|
|
|
* input plugins for various music players (Winamp, XMMS, and more in the
|
2013-03-21 17:46:27 +01:00
|
|
|
works)"
|
2010-10-28 17:47:24 +02:00
|
|
|
|
2013-04-09 01:49:27 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-03-24 10:21:58 +01:00
|
|
|
hostmakedepends="automake pkg-config"
|
2013-03-21 17:46:27 +01:00
|
|
|
pre_configure() {
|
|
|
|
./autogen.sh
|
|
|
|
}
|
|
|
|
configure_args="${configure_args} --with-ogg=$XBPS_CROSS_BASE"
|
|
|
|
fi
|