Annotation of /trunk/extras/libtheora/libtheora-1.1.1-r3.smage2
Parent Directory | Revision Log
Revision 8209 -
(hide annotations)
(download)
Wed Jul 13 08:22:51 2011 UTC (13 years, 2 months ago) by niro
Original Path: branches/magellan-next/core/libtheora/libtheora-1.1.1-r3.smage2
File size: 1402 byte(s)
Wed Jul 13 08:22:51 2011 UTC (13 years, 2 months ago) by niro
Original Path: branches/magellan-next/core/libtheora/libtheora-1.1.1-r3.smage2
File size: 1402 byte(s)
-fixed libtoolize
1 | niro | 8202 | # $Id$ |
2 | |||
3 | PNAME="libtheora" | ||
4 | PVER="1.1.1" | ||
5 | PBUILD="r3" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | |||
9 | DESCRIPTION="Theora is a free and open video compression format." | ||
10 | HOMEPAGE="http://www.theora.org/" | ||
11 | |||
12 | DEPEND=">= media-libs/libogg-1.2 | ||
13 | >= media-libs/libvorbis-1.3" | ||
14 | |||
15 | SRCFILE="${PNAME}-${PVER/_/}.tar.gz" | ||
16 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER/_/}" | ||
17 | |||
18 | # enable linux32 emulation for x86_64 arches | ||
19 | EMUL_LINUX_32=true | ||
20 | |||
21 | sminclude multilib | ||
22 | |||
23 | SRC_URI=( | ||
24 | http://downloads.xiph.org/releases/${PNAME/lib/}/${SRCFILE} | ||
25 | mirror://${PNAME}/${SRCFILE} | ||
26 | mirror://${PNAME}/${PNAME}-1.0_beta2-cflags.patch | ||
27 | ) | ||
28 | |||
29 | UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME/lib/}/?C=M;O=A' | lasttarball gz" | ||
30 | |||
31 | src_prepare() | ||
32 | { | ||
33 | munpack ${SRCFILE} || die | ||
34 | |||
35 | # force usage of our cflags | ||
36 | mpatch ${PNAME}-1.0_beta2-cflags.patch || die | ||
37 | |||
38 | niro | 8208 | all-abis 'rm ${SRCDIR}-${abi}/ltmain.sh || die' |
39 | niro | 8209 | all-abis 'rm ${SRCDIR}-${abi}/libtool || die' |
40 | mlibtoolize --install --force --verbose || die | ||
41 | niro | 8206 | |
42 | niro | 8203 | export WANT_AUTOMAKE=1.10 |
43 | niro | 8205 | mautoreconf --verbose --install --force -I m4 || die |
44 | niro | 8202 | } |
45 | |||
46 | src_compile() | ||
47 | { | ||
48 | # disable docs creation; needs doxygen | ||
49 | export ac_cv_prog_HAVE_DOXYGEN="false" | ||
50 | mconfigure \ | ||
51 | --enable-encode \ | ||
52 | --disable-dependency-tracking \ | ||
53 | --disable-examples \ | ||
54 | --disable-sdltest \ | ||
55 | || die | ||
56 | |||
57 | mmake || die | ||
58 | } | ||
59 | |||
60 | src_install() | ||
61 | { | ||
62 | # fix docdir | ||
63 | minstall_destdir docdir="usr/share/doc/${PNAME}-${PVER}" || die | ||
64 | minstalldocs AUTHORS CHANGES COPYING LICENSE README || die | ||
65 | } |