|
Author: piumarta
Date: 2009-08-26 23:09:09 -0700 (Wed, 26 Aug 2009)
New Revision: 2107
Added:
trunk/platforms/unix/plugins/Mpeg3Plugin/config.cmake
Modified:
trunk/platforms/unix/ChangeLog
Log:
add config.cmake for mp3 plugin
Modified: trunk/platforms/unix/ChangeLog
===================================================================
--- trunk/platforms/unix/ChangeLog 2009-08-27 06:04:38 UTC (rev 2106)
+++ trunk/platforms/unix/ChangeLog 2009-08-27 06:09:09 UTC (rev 2107)
@@ -1,5 +1,12 @@
2009-08-26 Ian Piumarta <com -dot- gmail -at- piumarta (backwards)>
+ * plugins/Mpeg3Plugin/config.cmake: Added.
+
+ * CMakeLists.txt: Print C flags while configuring.
+
+ * cmake/Plugins.cmake: Recognise --without-PluginName for all
+ plugins.
+
* src: Regenerate from Balloon3D-Plugins-ar.4.mcz
DBus-Plugin-bf.32.mcz GStreamer-Plugins-JMM.16.mcz
Kedama-Plugins-yo.1.mcz Rome-Plugin-yo.39.mcz
Added: trunk/platforms/unix/plugins/Mpeg3Plugin/config.cmake
===================================================================
--- trunk/platforms/unix/plugins/Mpeg3Plugin/config.cmake (rev 0)
+++ trunk/platforms/unix/plugins/Mpeg3Plugin/config.cmake 2009-08-27 06:09:09 UTC (rev 2107)
@@ -0,0 +1,23 @@
+IF (VM_HOST_CPU MATCHES "i[3456789]86")
+ PLUGIN_DEFINITIONS (-DUSE_MMX=1)
+ENDIF ()
+
+PLUGIN_FIND_LIBRARY (PTHREAD pthread)
+
+IF (NOT HAVE_LIBPTHREAD)
+ PLUGIN_DEFINITIONS (-DNOPTHREADS=1)
+ENDIF ()
+
+SET (lmp3 "${cross}/plugins/Mpeg3Plugin/libmpeg")
+
+LIST(APPEND ${plugin}_sources
+ ${lmp3}/bitstream.c ${lmp3}/libmpeg3.c ${lmp3}/mpeg3atrack.c ${lmp3}/mpeg3demux.c ${lmp3}/mpeg3io.c
+ ${lmp3}/mpeg3title.c ${lmp3}/mpeg3vtrack.c ${lmp3}/changesForSqueak.c
+ ${lmp3}/audio/dct.c ${lmp3}/audio/header.c ${lmp3}/audio/layer2.c ${lmp3}/audio/layer3.c
+ ${lmp3}/audio/mpeg3audio.c ${lmp3}/audio/pcm.c ${lmp3}/audio/synthesizers.c ${lmp3}/audio/tables.c
+ ${lmp3}/video/getpicture.c ${lmp3}/video/headers.c ${lmp3}/video/idct.c ${lmp3}/video/macroblocks.c
+ ${lmp3}/video/mmxtest.c ${lmp3}/video/motion.c ${lmp3}/video/mpeg3video.c ${lmp3}/video/output.c
+ ${lmp3}/video/reconstruct.c ${lmp3}/video/seek.c ${lmp3}/video/slice.c ${lmp3}/video/vlc.c
+)
+
+PLUGIN_INCLUDE_DIRECTORIES (${lmp3} ${lmp3}/audio ${lmp3}/video)
|