Gnash: Install Mozilla plug-in.

svn path=/nixpkgs/trunk/; revision=11034
This commit is contained in:
Ludovic Courtès 2008-03-10 13:24:11 +00:00
parent 8c5c656fb5
commit 00e0e9ac37
2 changed files with 6 additions and 2 deletions

View File

@ -1,5 +1,5 @@
source "$stdenv/setup" || exit 1
configureFlags="--with-sdl-mixer-incl=$SDL_mixer/include/SDL --with-sdl-incl=$SDL/include/SDL --with-plugindir=$out/plugins --enable-gui=gtk"
configureFlags="--with-sdl-mixer-incl=$SDL_mixer/include/SDL --with-sdl-incl=$SDL/include/SDL --with-npapi-plugindir=$out/plugins --enable-gui=gtk"
genericBuild

View File

@ -8,12 +8,13 @@
stdenv.mkDerivation rec {
name = "gnash-0.8.2";
builder = ./builder.sh;
src = fetchurl {
url = "mirror://gnu/gnash/0.8.2/${name}.tar.bz2";
sha256 = "1akbs0wkgiawrjwwgp5w0cqn0qn3fcnfv40scjlrvdqrcqgfg0ac";
};
builder = ./builder.sh;
patchPhase = ''
# Add all libs to `macros/libslist', a list of library search paths.
for lib in ${lib.concatStringsSep " "
@ -30,6 +31,9 @@ stdenv.mkDerivation rec {
dbus curl pkgconfig glib gtk];
inherit SDL_mixer SDL;
preInstall = ''ensureDir $out/plugins'';
postInstall = ''make install-plugins'';
meta = {
homepage = http://www.gnu.org/software/gnash/;
description = ''Gnash is the GNU Flash movie player.'';