mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 03:53:51 +02:00
flac: remove long_desc.
This commit is contained in:
parent
fbaa7cf251
commit
b4652666e8
1 changed files with 9 additions and 24 deletions
|
@ -1,12 +1,10 @@
|
||||||
# Template file for 'flac'
|
# Template file for 'flac'
|
||||||
pkgname=flac
|
pkgname=flac
|
||||||
version=1.3.0
|
version=1.3.0
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin"
|
configure_args="--disable-rpath --disable-doxygen-docs --disable-xmms-plugin --with-ogg=${XBPS_CROSS_BASE}/usr"
|
||||||
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
|
hostmakedepends="automake pkg-config libtool nasm"
|
||||||
hostmakedepends="nasm"
|
|
||||||
fi
|
|
||||||
makedepends="libogg-devel"
|
makedepends="libogg-devel"
|
||||||
short_desc="Free Lossless Audio Codec"
|
short_desc="Free Lossless Audio Codec"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -14,38 +12,25 @@ homepage="http://flac.sourceforge.net/"
|
||||||
license="BSD, GPL"
|
license="BSD, GPL"
|
||||||
distfiles="http://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
|
distfiles="http://downloads.xiph.org/releases/flac/flac-${version}.tar.xz"
|
||||||
checksum=fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
|
checksum=fa2d64aac1f77e31dfbb270aeb08f5b32e27036a52ad15e69a77e309528010dc
|
||||||
long_desc="
|
|
||||||
FLAC stands for Free Lossless Audio Codec. Grossly oversimplified, FLAC is
|
|
||||||
similar to MP3, but lossless. The FLAC project consists of:
|
|
||||||
|
|
||||||
* the stream format
|
pre_configure() {
|
||||||
* libFLAC, which implements reference encoders and decoders
|
autoreconf -fi
|
||||||
* 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
|
|
||||||
works)"
|
|
||||||
|
|
||||||
if [ "$CROSS_BUILD" ]; then
|
|
||||||
hostmakedepends="automake pkg-config libtool"
|
|
||||||
pre_configure() {
|
|
||||||
autoreconf -fi
|
|
||||||
}
|
|
||||||
configure_args+=" --with-ogg=$XBPS_CROSS_BASE"
|
|
||||||
fi
|
|
||||||
|
|
||||||
libflac_package() {
|
libflac_package() {
|
||||||
short_desc+=" - shared libraries"
|
short_desc+=" - shared libraries"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove "usr/lib/*.so*"
|
vmove "usr/lib/*.so.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
libflac-devel_package() {
|
libflac-devel_package() {
|
||||||
depends="libstdc++-devel libogg-devel libflac>=${version}"
|
depends="libstdc++-devel libogg-devel libflac>=${version}_${revision}"
|
||||||
short_desc+=" - development files"
|
short_desc+=" - development files"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/include
|
vmove usr/include
|
||||||
vmove usr/lib/pkgconfig
|
vmove usr/lib/pkgconfig
|
||||||
|
vmove "usr/lib/*.so"
|
||||||
vmove usr/share/aclocal
|
vmove usr/share/aclocal
|
||||||
vmove usr/share/doc
|
vmove usr/share/doc
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue