Annotation of /trunk/extras/libmpeg2/libmpeg2-0.5.1-r2.smage2
Parent Directory | Revision Log
Revision 11046 -
(hide annotations)
(download)
Tue Feb 14 23:11:50 2012 UTC (12 years, 7 months ago) by niro
File size: 797 byte(s)
Tue Feb 14 23:11:50 2012 UTC (12 years, 7 months ago) by niro
File size: 797 byte(s)
-imported from NEXT
1 | niro | 9557 | # $Id$ |
2 | |||
3 | PNAME="libmpeg2" | ||
4 | PVER="0.5.1" | ||
5 | PBUILD="r2" | ||
6 | |||
7 | niro | 11046 | PCAT="media-libs" |
8 | niro | 9557 | |
9 | DESCRIPTION="The MPEG Library - version 2." | ||
10 | HOMEPAGE="http://libmpeg2.sourceforge.net/" | ||
11 | |||
12 | DEPEND=">= media-libs/libsdl-1.2 | ||
13 | >= x11-libs/libXv-1 | ||
14 | >= x11-libs/libICE-1 | ||
15 | >= x11-libs/libSM-1 | ||
16 | >= x11-libs/libXt-1" | ||
17 | |||
18 | SDEPEND=">= x11-proto/xextproto-7" | ||
19 | |||
20 | SRCFILE="${PNAME}-${PVER}.tar.gz" | ||
21 | SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" | ||
22 | |||
23 | sminclude mbuild mtools | ||
24 | |||
25 | SRC_URI=( | ||
26 | http://libmpeg2.sourceforge.net/files/${SRCFILE} | ||
27 | mirror://${PNAME}/${SRCFILE} | ||
28 | ) | ||
29 | |||
30 | UP2DATE="updatecmd ${HOMEPAGE}/downloads.html | firsttarball gz" | ||
31 | |||
32 | src_compile() | ||
33 | { | ||
34 | cd ${SRCDIR} | ||
35 | |||
36 | mconfigure \ | ||
37 | --disable-dependency-tracking \ | ||
38 | --enable-shared \ | ||
39 | --enable-sdl \ | ||
40 | --with-x \ | ||
41 | || die | ||
42 | |||
43 | mmake OPT_CFLAGS="${CFLAGS}" MPEG2DEC_CFLAGS="${CFLAGS}" LIBMPEG2_CFLAGS="" || die | ||
44 | } |