Magellan Linux

Diff of /branches/magellan-next/core/x264/x264-20110712_2245-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 8196 by niro, Wed Jul 13 07:01:54 2011 UTC revision 8225 by niro, Wed Jul 13 09:49:06 2011 UTC
# Line 33  sminclude mbuild Line 33  sminclude mbuild
33  SRC_URI=(  SRC_URI=(
34   ftp://ftp.videolan.org/pub/videolan/${PNAME}/snapshots/${SRCFILE}   ftp://ftp.videolan.org/pub/videolan/${PNAME}/snapshots/${SRCFILE}
35   mirror://${PNAME}/${SRCFILE}   mirror://${PNAME}/${SRCFILE}
  mirror://${PNAME}/${PNAME}-20100905_2245-only-libs.patch  
36  )  )
37    
38  # do not autoupdate this package as it has daily snapshots  # do not autoupdate this package as it has daily snapshots
# Line 43  UP2DATE="echo ${PVER}" Line 42  UP2DATE="echo ${PVER}"
42  # when resolving packages:  # when resolving packages:
43  # gpac needs ffmpeg, ffmpeg needs x264, but x264 needs gpac to compile  # gpac needs ffmpeg, ffmpeg needs x264, but x264 needs gpac to compile
44    
 src_prepare()  
 {  
  munpack ${SRCFILE} || die  
  cd ${SRCDIR}  
   
  # fix the makefile to only build and install the lib  
  mpatch ${PNAME}-20100905_2245-only-libs.patch || die  
 }  
   
45  src_compile()  src_compile()
46  {  {
47   cd ${SRCDIR}   cd ${SRCDIR}
# Line 60  src_compile() Line 50  src_compile()
50   --enable-shared \   --enable-shared \
51   --enable-pthread \   --enable-pthread \
52   --disable-mp4-output \   --disable-mp4-output \
53     --disable-cli \
54   || die   || die
55    
56   mmake || die   mmake || die
57  }  }
58    

Legend:
Removed from v.8196  
changed lines
  Added in v.8225