Difference between revisions of "TagLib"

From CBLFS
Jump to navigationJump to search
Line 67: Line 67:
 
  mv -v /usr/bin/taglib-config{,-64} &&
 
  mv -v /usr/bin/taglib-config{,-64} &&
 
  ln -sfv multiarch_wrapper /usr/bin/taglib-config
 
  ln -sfv multiarch_wrapper /usr/bin/taglib-config
 +
 +
[[Category:Media Libraries]]

Revision as of 16:34, 19 March 2009

Download Source: http://developer.kde.org/~wheeler/files/src/taglib-1.5.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/taglib/taglib-1.5-GeneralFix-1.patch

Introduction to TagLib

TagLib is a library for reading and editing the meta-data of several popular audio formats. Currently it supports both ID3v1 and ID3v2 for MP3 (LAME) files, Ogg Vorbis (libvorbis) comments and ID3 tags and Vorbis comments in FLAC files as well as MPC.

Project Homepage: http://developer.kde.org/~wheeler/taglib.html

Dependencies

Non-Multilib

Compile the package:

patch -Np1 -i ../taglib-1.5-GeneralFix-1.patch &&
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../taglib-1.5-GeneralFix-1.patch &&
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install &&
mv -v /usr/bin/taglib-config{,-32}

N32

Compile the package:

patch -Np1 -i ../taglib-1.5-GeneralFix-1.patch &&
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" ./configure --prefix=/usr \
    --libdir=/usr/lib32 &&
make

Install the package

make install &&
mv -v /usr/bin/taglib-config{,-n32}

64Bit

Compile the package:

patch -Np1 -i ../taglib-1.5-GeneralFix-1.patch &&
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr \
    --libdir=/usr/lib64 &&
make

Install the package

make install &&
mv -v /usr/bin/taglib-config{,-64} &&
ln -sfv multiarch_wrapper /usr/bin/taglib-config