1 Star 0 Fork 0

wlemuel / lightspark

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
README 2.26 KB
一键复制 编辑 原始数据 按行查看 历史
INSTALLATION:
To compile this software you need to install development packages for llvm (version 2.8, 3.0 or 3.1),
opengl, curl, zlib, libavcodec, libglew, pcre, librtmp, cairo, libboost-filesystem,
libxml++, gtk-2, libjpeg, libavformat, pango, liblzma
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.
NOTE:
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:
dee3577c66333d3f1dd3db4ba43f50e6d6d3f974
752ff3b4394d334ad6ba3e38189d5898fa15c8f0
95243eee9837ab6843a20fa43a6a1ef41d1fcd62
c8e34c3de03c2b41e825e392247efc1ea8698fbf
To build the software please follow these steps.
1) cd lightspark
2) mkdir obj
3) cd obj
4) cmake -DCMAKE_BUILD_TYPE=Release ..
5) make
6) sudo make install
DEBUG MODE:
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)
EXECUTION:
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.
TEST:
You may try it on some known-to-work movies:
http://www.youtube.com/watch?v=ca20NEt4VSQ
http://www.youtube.com/watch?v=4N2YWRJ-ppo
http://www.youtube.com/watch?v=XITHbsUUlYI
http://www.youtube.com/watch?v=-j7c0u9yZ8M
http://www.youtube.com/watch?v=G4S9tV8ZLcE
http://www.youtube.com/watch?v=FatHLHG2uGY
1
https://gitee.com/wlemuel/lightspark.git
git@gitee.com:wlemuel/lightspark.git
wlemuel
lightspark
lightspark
master

搜索帮助