[xiph-commits] r16671 - trunk/ffmpeg2theora

j at svn.xiph.org j at svn.xiph.org
Thu Oct 29 21:47:28 PDT 2009


Author: j
Date: 2009-10-29 21:47:28 -0700 (Thu, 29 Oct 2009)
New Revision: 16671

Modified:
   trunk/ffmpeg2theora/SConstruct
Log:
changes the SConstruct file so that library dependencies are determined independently. This means that if you're missing one of the ogg libraries, it tells you specifically which one you're missing, rather than saying vaguely you're missing one of four possible libraries. (patch by Chris Pearce)



Modified: trunk/ffmpeg2theora/SConstruct
===================================================================
--- trunk/ffmpeg2theora/SConstruct	2009-10-29 10:32:30 UTC (rev 16670)
+++ trunk/ffmpeg2theora/SConstruct	2009-10-30 04:47:28 UTC (rev 16671)
@@ -112,6 +112,22 @@
    print 'pkg-config >= %s not found.' % pkgconfig_version 
    Exit(1)
 
+if not conf.CheckPKG("ogg >= 1.1"): 
+  print 'ogg >= 1.1 missing'
+  Exit(1) 
+
+if not conf.CheckPKG("vorbis"): 
+  print 'vorbis missing'
+  Exit(1) 
+
+if not conf.CheckPKG("vorbisenc"): 
+  print 'vorbisenc missing'
+  Exit(1) 
+
+if not conf.CheckPKG("theoraenc >= 1.1.0"): 
+  print 'theoraenc >= 1.1.0 missing'
+  Exit(1) 
+
 XIPH_LIBS="ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1.0"
 
 if not conf.CheckPKG(XIPH_LIBS): 



More information about the commits mailing list