Difference between revisions of "LibMusicBrainz"

From CBLFS
Jump to navigationJump to search
m
Line 3: Line 3:
 
!Download Source:
 
!Download Source:
 
| ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-{{LibMusicBrainz-Version}}.tar.gz
 
| ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-{{LibMusicBrainz-Version}}.tar.gz
 +
|-
 +
!Download Patch:
 +
| http://svn.cross-lfs.org/svn/repos/patches/libmusicbrainz/libmusicbrainz-{{LibMusicBrainz-Version}}-HEADERSFIX-1.patch
 
|}
 
|}
  
Line 20: Line 23:
 
Compile the package
 
Compile the package
  
 +
patch -Np1 -i ../libmusicbrainz-{{LibMusicBrainz-Version}}-HEADERSFIX-1.patch
 
  ./configure --prefix=/usr &&
 
  ./configure --prefix=/usr &&
 
  make
 
  make
Line 33: Line 37:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libmusicbrainz-{{LibMusicBrainz-Version}}-HEADERSFIX-1.patch
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
 
  make
 
  make
Line 44: Line 49:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libmusicbrainz-{{LibMusicBrainz-Version}}-HEADERSFIX-1.patch
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDB32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  CC="gcc ${BUILDN32}" CXX="g++ ${BUILDB32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
 
  make
 
  make
Line 55: Line 61:
 
Compile the package:
 
Compile the package:
  
 +
patch -Np1 -i ../libmusicbrainz-{{LibMusicBrainz-Version}}-HEADERSFIX-1.patch
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
 
  make
 
  make

Revision as of 20:36, 28 October 2008

Download Source: ftp://ftp.musicbrainz.org/pub/musicbrainz/libmusicbrainz-2.1.5.tar.gz
Download Patch: http://svn.cross-lfs.org/svn/repos/patches/libmusicbrainz/libmusicbrainz-2.1.5-HEADERSFIX-1.patch

Introduction to LibMusicBrainz

The LibMusicBrainz package contains a library which allows you to access the data held on the MusicBrainz server. This is useful for adding MusicBrainz lookup capabilities to other applications.

MusicBrainz is a community music metadatabase that attempts to create a comprehensive music information site. You can use the MusicBrainz data either by browsing the web site, or you can access the data from a client program — for example, a CD player program can use MusicBrainz to identify CDs and provide information about the CD, about the artist or other related information.

Project Homepage: http://musicbrainz.org/doc/libmusicbrainz

Dependencies

Required

Non-Multilib

Compile the package

patch -Np1 -i ../libmusicbrainz-2.1.5-HEADERSFIX-1.patch
./configure --prefix=/usr &&
make

Install the package

make install

Multilib

32Bit

Compile the package:

patch -Np1 -i ../libmusicbrainz-2.1.5-HEADERSFIX-1.patch
CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" ./configure --prefix=/usr &&
make

Install the package

make install

N32

Compile the package:

patch -Np1 -i ../libmusicbrainz-2.1.5-HEADERSFIX-1.patch
CC="gcc ${BUILDN32}" CXX="g++ ${BUILDB32}" ./configure --prefix=/usr --libdir=/usr/lib32 &&
make

Install the package

make install

64Bit

Compile the package:

patch -Np1 -i ../libmusicbrainz-2.1.5-HEADERSFIX-1.patch
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" ./configure --prefix=/usr --libdir=/usr/lib64 &&
make

Install the package

make install