Skip to content
kylehuff edited this page Sep 4, 2011 · 4 revisions

Setting up the Environment to compile on Linux

Requirements

  • cmake
  • libgpgme11-dev
  • libgpg-error-dev

Clone the webpg-npapi repository

git clone git://github.com/kylehuff/webpg-npapi.git

Building the plugin

Initialize the submodule(s)

git submodule update --recursive --init

Create the project using the prep script(s)

./firebreath/prepmake.sh . build

Move to the build directory and build the plugin

cd ./build
cmake --build . --config MinSizeRel --target webpgPlugin

Move/link the plugin file to where the browser can find it

The plugin file can be found in the directory: build/bin/webpgPlugin/npwebpgPlugin.so

Clone this wiki locally