Skip to content
This repository
Fetching contributors…


Cannot retrieve contributors at this time

file 58 lines (47 sloc) 2.203 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
To compile this software you need to install development packages for llvm-2.8,
opengl, curl, zlib, libavcodec, libglew, pcre.
If sound is enabled (on by default), you will also need the development package
for pulseaudio-libs and/or libsdl.
If the browser plugin is enabled (on by default), you will need the development
package for xulrunner.
Install also cmake and nasm.
Lightspark depends on an updated version of libxml++ (at least version 2.33.1).
If an older version of libxml++ must be supported the following commits must be backported:

To build the software please follow these steps.

1) cd lightspark
2) mkdir objs
3) cd objs
4) cmake -DCMAKE_BUILD_TYPE=Release ..
5) make
6) sudo make install

To enable debug mode change the cmake command like this:
4b) cmake -DCMAKE_BUILD_TYPE=Debug

CMAKE_BUILD_TYPE available: Debug Release RelWithDebInfo Profile
Sound support may be disabled using the following option: -DENABLE_SOUND=0
The audio backend can be set using -DAUDIO_BACKEND=<pulseaudio|sdl> (default is pulseaudio)

Using `make install`, lightspark is installed in the system wide Firefox plugin
path and Firefox should show it in the about:plugins list and in the
Tools->Add-ons->Plugins window.

Lightspark registers itself as the plugin for application/x-shockwave-flash and
for application/x-lightspark, so it should be recognisable in the about:plugins
page. Its description string is "Shockwave Flash 10.2 r<current version>". The
current version is now "r450".

Firefox is not able to deal very well with multiple plugins for the same MIME
type. If you only see a black box where a flash app should be try to remove any
other flash plugin you have installed.

You may try it on some known-to-work movies:
Something went wrong with that request. Please try again.