Annotation of /trunk/extras/libmpeg2/libmpeg2-0.4.1-r2.smage2
Parent Directory | Revision Log
Revision 2 -
(hide annotations)
(download)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 849 byte(s)
Fri Oct 10 13:29:42 2008 UTC (15 years, 11 months ago) by niro
File size: 849 byte(s)
import repo
1 | niro | 2 | # $Header: /magellan-cvs/smage/libmpeg2/libmpeg2-0.4.1-r2.smage2,v 1.1 2008/04/03 21:00:21 niro Exp $ |
2 | |||
3 | PNAME="libmpeg2" | ||
4 | PVER="0.4.1" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | PCATEGORIE="media-libs" | ||
8 | STATE="unstable" | ||
9 | |||
10 | DESCRIPTION="The MPEG Library - version 2." | ||
11 | HOMEPAGE="http://libmpeg2.sourceforge.net/" | ||
12 | |||
13 | DEPEND=">= media-libs/libsdl-1.2 | ||
14 | >= x11-libs/libXv-1 | ||
15 | >= x11-libs/libICE-1 | ||
16 | >= x11-libs/libSM-1 | ||
17 | >= x11-libs/libXt-1" | ||
18 | |||
19 | SDEPEND=">= x11-proto/xextproto-7" | ||
20 | |||
21 | SRCFILE="mpeg2dec-${PVER}.tar.gz" | ||
22 | SRCDIR="${BUILDDIR}/mpeg2dec-${PVER}" | ||
23 | |||
24 | sminclude mbuild mtools | ||
25 | |||
26 | SRC_URI=( | ||
27 | http://libmpeg2.sourceforge.net/files/${SRCFILE} | ||
28 | mirror://${PNAME}/${SRCFILE} | ||
29 | ) | ||
30 | |||
31 | src_compile() | ||
32 | { | ||
33 | cd ${SRCDIR} | ||
34 | |||
35 | mconfigure \ | ||
36 | --disable-dependency-tracking \ | ||
37 | --enable-shared \ | ||
38 | --enable-sdl \ | ||
39 | --with-x \ | ||
40 | || die | ||
41 | |||
42 | mmake OPT_CFLAGS="${CFLAGS}" MPEG2DEC_CFLAGS="${CFLAGS}" LIBMPEG2_CFLAGS="" || die | ||
43 | } |
Properties
Name | Value |
---|---|
svn:keywords | Id |