Difference between revisions of "FLAC"
From CBLFS
Jump to navigationJump to search (I added the package description from BLFS.) |
|||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://prdownloads.sourceforge.net/flac/flac- | + | | http://prdownloads.sourceforge.net/flac/flac-{{FLAC-Version}}.tar.gz |
|- | |- | ||
!Download Patch: | !Download Patch: | ||
− | | http://svn.cross-lfs.org/svn/repos/patches/flac/flac- | + | | http://svn.cross-lfs.org/svn/repos/patches/flac/flac-{{FLAC-Version}}-fixes-3.patch |
|} | |} | ||
Line 26: | Line 26: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | patch -Np1 -i ../flac- | + | patch -Np1 -i ../flac-{{FLAC-Version}}-fixes-3.patch && |
LIBS=-lm ./configure --prefix=/usr && | LIBS=-lm ./configure --prefix=/usr && | ||
make | make | ||
Line 40: | Line 40: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | patch -Np1 -i ../flac- | + | patch -Np1 -i ../flac-{{FLAC-Version}}-fixes-3.patch && |
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" LD="ld ${LD_BUILD32}" USE_ARCH=32 \ | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" LD="ld ${LD_BUILD32}" USE_ARCH=32 \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" LIBS=-lm ./configure --prefix=/usr && | PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" LIBS=-lm ./configure --prefix=/usr && | ||
Line 53: | Line 53: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | patch -Np1 -i ../flac- | + | patch -Np1 -i ../flac-{{FLAC-Version}}-fixes-3.patch && |
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LD="ld ${LD_BUILDN32}" USE_ARCH=n32 \ | CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LD="ld ${LD_BUILDN32}" USE_ARCH=n32 \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" LIBS=-lm ./configure --prefix=/usr \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" LIBS=-lm ./configure --prefix=/usr \ | ||
Line 67: | Line 67: | ||
Configure and compile the package: | Configure and compile the package: | ||
− | patch -Np1 -i ../flac- | + | patch -Np1 -i ../flac-{{FLAC-Version}}-fixes-3.patch && |
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LD="ld ${LD_BUILD64}" USE_ARCH=64 \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LD="ld ${LD_BUILD64}" USE_ARCH=64 \ | ||
PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" LIBS=-lm ./configure --prefix=/usr \ | PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" LIBS=-lm ./configure --prefix=/usr \ |
Revision as of 17:41, 17 December 2006
Download Source: | http://prdownloads.sourceforge.net/flac/flac-1.3.0.tar.gz |
---|---|
Download Patch: | http://svn.cross-lfs.org/svn/repos/patches/flac/flac-1.3.0-fixes-3.patch |
Contents
Introduction to FLAC
FLAC is an audio codec similar to MP3, but lossless, meaning that audio is compressed without losing any information.
Dependencies
Non-Multilib
Configure and compile the package:
patch -Np1 -i ../flac-1.3.0-fixes-3.patch && LIBS=-lm ./configure --prefix=/usr && make
Install the package:
make install
Multilib
32Bit
Configure and compile the package:
patch -Np1 -i ../flac-1.3.0-fixes-3.patch && CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" LD="ld ${LD_BUILD32}" USE_ARCH=32 \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH32}" LIBS=-lm ./configure --prefix=/usr && make
Install the package:
make install
N32
Configure and compile the package:
patch -Np1 -i ../flac-1.3.0-fixes-3.patch && CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" LD="ld ${LD_BUILDN32}" USE_ARCH=n32 \ PKG_CONFIG_PATH="${PKG_CONFIG_PATHN32}" LIBS=-lm ./configure --prefix=/usr \ --libdir=/usr/lib32 && make
Install the package:
make install
64Bit
Configure and compile the package:
patch -Np1 -i ../flac-1.3.0-fixes-3.patch && CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" LD="ld ${LD_BUILD64}" USE_ARCH=64 \ PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}" LIBS=-lm ./configure --prefix=/usr \ --libdir=/usr/lib64 && make
Install the package:
make install