Contents of /trunk/core/libtheora/libtheora-1.0-r1.smage2
Parent Directory | Revision Log
Revision 921 -
(show annotations)
(download)
Sun Dec 28 09:55:15 2008 UTC (15 years, 4 months ago) by niro
File size: 1556 byte(s)
Sun Dec 28 09:55:15 2008 UTC (15 years, 4 months ago) by niro
File size: 1556 byte(s)
-ver bump to 1.0-r1
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" |
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.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}-1.0_beta2-cflags.patch |
28 | mirror://${PNAME}/${PNAME}-1.0_beta2-pic.patch |
29 | ) |
30 | |
31 | UP2DATE="updatecmd 'http://downloads.xiph.org/releases/${PNAME/lib/}/?C=M;O=A' | lasttarball gz" |
32 | |
33 | src_prepare() |
34 | { |
35 | munpack ${SRCFILE} || die |
36 | |
37 | # force usage of our cflags |
38 | mpatch ${PNAME}-1.0_beta2-cflags.patch || die |
39 | |
40 | # fix textrels on 64bit systems |
41 | mpatch ${PNAME}-1.0_beta2-pic.patch || die |
42 | |
43 | # autoreconf is not working |
44 | all-abis aclocal -Im4 || die |
45 | all-abis autoconf --force || die |
46 | all-abis automake --copy --force || die |
47 | } |
48 | |
49 | src_compile() |
50 | { |
51 | # disable docs creation; needs doxygen |
52 | export ac_cv_prog_HAVE_DOXYGEN="false" |
53 | mconfigure \ |
54 | --enable-encode \ |
55 | --disable-dependency-tracking \ |
56 | --disable-examples \ |
57 | --disable-sdltest \ |
58 | || die |
59 | |
60 | mmake || die |
61 | } |
62 | |
63 | src_install() |
64 | { |
65 | # fix docdir |
66 | minstall_destdir docdir="usr/share/doc/${PNAME}-${PVER}" || die |
67 | minstalldocs AUTHORS CHANGES COPYING LICENSE README || die |
68 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |