Magellan Linux

Contents of /branches/magellan-next/core/taglib/taglib-1.7-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8719 - (show annotations) (download)
Thu Jul 28 00:11:58 2011 UTC (12 years, 10 months ago) by niro
File size: 804 byte(s)
auto added: ver bump to 1.7-r1
1 # $Id$
2
3 PNAME="taglib"
4 PVER="1.7"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8
9 DESCRIPTION="TagLib is a library for reading and editing the meta-data of several popular audio formats."
10 HOMEPAGE="http://developer.kde.org/~wheeler/taglib.html"
11
12 DEPEND=""
13
14 SRCFILE="${PNAME}-${PVER/_/}.tar.gz"
15 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
16
17 sminclude cmake
18
19 SRC_URI=(
20 http://developer.kde.org/~wheeler/files/src/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd 'http://developer.kde.org/~wheeler/files/src/?C=M;O=A' | grep ${PNAME}- | lasttarball gz"
25
26 # taglib doesn't like strong CFLAGS
27 export CFLAGS="${CFLAGS//-O3} -O2"
28 export CXXFLAGS="${CFLAGS}"
29
30 src_compile()
31 {
32 install -d ${BUILDDIR}/build || die
33 cd ${BUILDDIR}/build
34
35 cmake_configure $(cmake_with MP4) $(cmake_with ASF) || die
36 mmake || die
37 }