Commits

Lenard Lindstrom committed 29258e8

addition of ffmpeg to Windows deps build chain; incomplete

Comments (0)

Files changed (2)

     ('SDL', 'SDL', r'SDL\.dll$', []),
     ('PORTMIDI', 'portmidi', r'portmidi\.dll', []),
     ('PORTTIME', 'portmidi', r'portmidi\.dll', []),
+    ('AVCODEC', 'avcodec', r'avcodec-50\.dll', []),
+    ('AVFORMAT', 'avformat', r'avformat-52\.dll', []),
+    ('AVDEVICE', 'avdevice', r'avdevice-52\.dll', []),
+    ('AVUTIL', 'avutil', r'avutil-50\.dll', []),
+    ('SWSCALE', 'swscale', r'swscale-0.\dll', []),
 ]
 
 # regexs: Maps name to DLL file name regex.

msys_build_deps.py

 mingwrt-3.15.1
 win32api-3.12
 mingw32-make-3.81-20080326
-MSYS-1.0.10
+MSYS-1.0.11
 msysDTK-1.0.1
 msys-automake-1.8.2
 msys-autocont-2.59
   rm -f GNUmakefile portmidi.def
 fi
 """),
+    Dependency('FFMPEG', ['ffmpeg'],
+    ['avcodec-52.dll', 'avformat-52.dll', 'avdevice-52.dll',
+     'avutil-50.dll', 'swscale-0.dll'], """
+
+set -e
+cd $BDWD
+
+if [ x$BDCONF == x1 ]; then
+  ./configure --enable-shared --enable-memalign-hack
+fi
+
+if [ x$BDCOMP == x1 ]; then
+  make
+fi
+
+if [ x$BDINST == x1 ]; then
+  make install
+fi
+
+if [ x$BDSTRIP == x1 ]; then
+  strip --strip-all /usr/local/bin/SDL_ttf.dll
+fi
+
+if [ x$BDCLEAN == x1 ]; then
+  set +e
+  make clean
+fi
+"""),
     ]  # End dependencies = [.
 
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.