Magellan Linux

Contents of /trunk/core/libtheora/libtheora-1.1.1-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3536 - (show annotations) (download)
Fri Oct 23 10:21:46 2009 UTC (14 years, 6 months ago) by niro
File size: 1257 byte(s)
auto added: ver bump to 1.1.1-r1
1 # $Id$
2
3 PNAME="libtheora"
4 PVER="1.1.1"
5 PBUILD="r1"
6
7 PCATEGORIE="media-libs"
8 STATE="unstable"
9
10 DESCRIPTION="Theora is a free and open video compression format."
11 HOMEPAGE="http://www.theora.org/"
12
13 DEPEND=">= media-libs/libogg-1.1.4
14 >= media-libs/libvorbis-1.2.3"
15
16 SRCFILE="${PNAME}-${PVER/_/}.tar.gz"
17 SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}"
18
19 # enable linux32 emulation for x86_64 arches
20 EMUL_LINUX_32=true
21
22 sminclude multilib
23
24 SRC_URI=(
25 http://downloads.xiph.org/releases/${PNAME/lib/}/${SRCFILE}
26 mirror://${PNAME}/${SRCFILE}
27 mirror://${PNAME}/${PNAME}-1.0_beta2-cflags.patch
28 )
29
30 UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME/lib/}/?C=M;O=A' | lasttarball gz"
31
32 src_prepare()
33 {
34 munpack ${SRCFILE} || die
35
36 # force usage of our cflags
37 mpatch ${PNAME}-1.0_beta2-cflags.patch || die
38
39 # autoreconf is not working
40 all-abis sh autogen.sh || die
41 }
42
43 src_compile()
44 {
45 # disable docs creation; needs doxygen
46 export ac_cv_prog_HAVE_DOXYGEN="false"
47 mconfigure \
48 --enable-encode \
49 --disable-dependency-tracking \
50 --disable-examples \
51 --disable-sdltest \
52 || die
53
54 mmake || die
55 }
56
57 src_install()
58 {
59 # fix docdir
60 minstall_destdir docdir="usr/share/doc/${PNAME}-${PVER}" || die
61 minstalldocs AUTHORS CHANGES COPYING LICENSE README || die
62 }

Properties

Name Value
svn:keywords Id