Annotation of /trunk/core/libtunepimp/libtunepimp-0.5.3-r5.smage2
Parent Directory | Revision Log
Revision 1623 -
(hide annotations)
(download)
Tue May 12 16:47:52 2009 UTC (15 years, 4 months ago) by niro
File size: 1444 byte(s)
Tue May 12 16:47:52 2009 UTC (15 years, 4 months ago) by niro
File size: 1444 byte(s)
-run autoreconf
1 | niro | 1621 | # $Id$ |
2 | |||
3 | PNAME="libtunepimp" | ||
4 | PVER="0.5.3" | ||
5 | PBUILD="r5" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="The TunePimp library is a development library geared towards developers who wish to create MusicBrainz enabled tagging applications." | ||
11 | HOMEPAGE="http://musicbrainz.org/doc/libtunepimp" | ||
12 | |||
13 | DEPEND=">= media-libs/musicbrainz-2.1 | ||
14 | >= media-libs/flac-1.2 | ||
15 | >= media-libs/libvorbis-1.2 | ||
16 | >= media-libs/libmad-0.15.1b | ||
17 | >= media-libs/libofa-0.9.3 | ||
18 | >= sys-libs/readline-6.0" | ||
19 | |||
20 | SDEPEND=">= dev-util/pkgconfig-0.23" | ||
21 | |||
22 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
23 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
24 | |||
25 | sminclude mbuild | ||
26 | |||
27 | SRC_URI=( | ||
28 | ftp://ftp.musicbrainz.org/pub/musicbrainz/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | niro | 1622 | mirror://${PNAME}/${PNAME}-${PVER}-gcc43.patch |
31 | mirror://${PNAME}/${PNAME}-${PVER}-libtool.patch | ||
32 | mirror://${PNAME}/${PNAME}-${PVER}-build-fix.patch | ||
33 | niro | 1621 | ) |
34 | |||
35 | UP2DATE="updatecmd ftp://ftp.musicbrainz.org/pub/musicbrainz/ | grep ${PNAME}- | lasttarball gz" | ||
36 | |||
37 | src_prepare() | ||
38 | { | ||
39 | munpack ${SRCFILE} || die | ||
40 | cd ${SRCDIR} | ||
41 | |||
42 | niro | 1622 | # fixes issues with gcc-4.3 |
43 | mpatch ${PNAME}-${PVER}-gcc43.patch || die | ||
44 | |||
45 | # link issues with libtool-2.2 | ||
46 | mpatch ${PNAME}-${PVER}-libtool.patch || die | ||
47 | |||
48 | # misc compile fixes | ||
49 | mpatch ${PNAME}-${PVER}-build-fix.patch || die | ||
50 | |||
51 | niro | 1621 | # do not try to link against obsolete libtermcap |
52 | sed -i 's:-ltermcap:-lncurses:' configure || die | ||
53 | sed -i 's:-lthr:-lpthread:g' lib/threads/posix/Makefile.in || die | ||
54 | niro | 1623 | |
55 | autoreconf --verbose --install --force || die | ||
56 | niro | 1621 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |