Magellan Linux

Contents of /trunk/core/libtheora/libtheora-1.0_beta2-r4.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 916 - (show annotations) (download)
Sun Dec 28 09:47:02 2008 UTC (15 years, 4 months ago) by niro
File size: 1456 byte(s)
-moved to 'core'
1 # $Header: /magellan-cvs/smage/libtheora/libtheora-1.0_beta2-r4.smage2,v 1.1 2008/02/13 21:27:27 niro Exp $
2
3 PNAME="libtheora"
4 PVER="1.0_beta2"
5 PBUILD="r4"
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.3
14 >= media-libs/libvorbis-1.2.0"
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}-${PVER}-cflags.patch
28 mirror://${PNAME}/${PNAME}-${PVER}-pic.patch
29 )
30
31 src_prepare()
32 {
33 munpack ${SRCFILE} || die
34
35 # force usage of our cflags
36 mpatch ${PNAME}-${PVER}-cflags.patch || die
37
38 # fix textrels on 64bit systems
39 mpatch ${PNAME}-${PVER}-pic.patch || die
40
41 # autoreconf is not working
42 all-abis aclocal -Im4 || die
43 all-abis autoconf --force || die
44 all-abis automake --copy --force || die
45 }
46
47 src_compile()
48 {
49 # disable docs creation; needs doxygen
50 export ac_cv_prog_HAVE_DOXYGEN="false"
51 mconfigure \
52 --enable-encode \
53 --disable-dependency-tracking \
54 --disable-examples \
55 --disable-sdltest \
56 || die
57
58 mmake || die
59 }
60
61 src_install()
62 {
63 # fix docdir
64 minstall_destdir docdir="usr/share/doc/${PNAME}-${PVER}" || die
65 minstalldocs AUTHORS CHANGES COPYING LICENSE README || die
66 }

Properties

Name Value
svn:keywords Id