2009-12-22 20:00:53 +00:00
|
|
|
# Template file for 'flac'
|
|
|
|
pkgname=flac
|
2014-11-27 07:24:46 +00:00
|
|
|
version=1.3.1
|
2015-08-30 07:20:12 +00:00
|
|
|
revision=2
|
2011-10-24 12:14:47 +00:00
|
|
|
build_style=gnu-configure
|
2014-02-19 13:43:56 +00:00
|
|
|
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin --with-ogg=${XBPS_CROSS_BASE}/usr"
|
|
|
|
hostmakedepends="automake pkg-config libtool nasm"
|
2013-03-24 09:21:58 +00:00
|
|
|
makedepends="libogg-devel"
|
2009-12-22 20:00:53 +00:00
|
|
|
short_desc="Free Lossless Audio Codec"
|
2015-04-10 07:16:30 +00:00
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
2013-03-21 16:46:27 +00:00
|
|
|
homepage="http://flac.sourceforge.net/"
|
|
|
|
license="BSD, GPL"
|
2013-05-29 06:21:47 +00:00
|
|
|
distfiles="http://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
|
2014-11-27 07:24:46 +00:00
|
|
|
checksum=4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c
|
2013-03-21 16:46:27 +00:00
|
|
|
|
2014-02-19 13:43:56 +00:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
2013-04-12 09:16:02 +00:00
|
|
|
|
|
|
|
libflac_package() {
|
2013-05-29 06:21:47 +00:00
|
|
|
short_desc+=" - shared libraries"
|
2013-04-12 09:16:02 +00:00
|
|
|
pkg_install() {
|
2014-02-19 13:43:56 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 09:16:02 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
libflac-devel_package() {
|
2014-02-19 13:43:56 +00:00
|
|
|
depends="libstdc++-devel libogg-devel libflac>=${version}_${revision}"
|
2013-05-29 06:21:47 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:16:02 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-19 13:43:56 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 09:16:02 +00:00
|
|
|
vmove usr/share/aclocal
|
|
|
|
vmove usr/share/doc
|
|
|
|
}
|
|
|
|
}
|