forked from mirrors/nixpkgs
add gnash, the GNU Flash Player. Might need some reworking with regard to the
location of the flash plugin. Also, is probably very impure (needs testing on NixOS). svn path=/nixpkgs/trunk/; revision=6591
This commit is contained in:
parent
a263927719
commit
1995e1265e
pkgs
5
pkgs/applications/video/gnash/builder.sh
Normal file
5
pkgs/applications/video/gnash/builder.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
source $stdenv/setup
|
||||
|
||||
configureFlags="--with-sdl-mixer-incl=$SDL_mixer/include/SDL --with-sdl-incl=$SDL/include/SDL --with-plugindir=$out"
|
||||
|
||||
genericBuild
|
17
pkgs/applications/video/gnash/default.nix
Normal file
17
pkgs/applications/video/gnash/default.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{stdenv, fetchurl, libX11, libXext, libXi, libXmu
|
||||
, SDL, SDL_mixer, GStreamer
|
||||
, libogg, libxml2, libjpeg, mesa, libpng}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "gnash-0.7.1";
|
||||
|
||||
builder = ./builder.sh;
|
||||
src = fetchurl {
|
||||
url = ftp://ftp.nluug.nl/pub/gnu/gnash/0.7.1/gnash-0.7.1.tar.bz2;
|
||||
md5 = "d860981aeaac0fc941a28abc3c24223c";
|
||||
};
|
||||
|
||||
buildInputs = [libX11 libXext libXi libXmu SDL SDL_mixer GStreamer
|
||||
libogg libxml2 libjpeg mesa libpng];
|
||||
inherit SDL_mixer SDL;
|
||||
}
|
|
@ -2316,6 +2316,12 @@ rec {
|
|||
inherit (gnome) gtk libgtkhtml glib pango atk libart_lgpl;
|
||||
};
|
||||
|
||||
gnash = (import ../applications/video/gnash) {
|
||||
inherit fetchurl stdenv SDL SDL_mixer GStreamer
|
||||
libogg libxml2 libjpeg mesa libpng;
|
||||
inherit (xlibs) libX11 libXext libXi libXmu;
|
||||
};
|
||||
|
||||
gphoto2 = (import ../applications/misc/gphoto2) {
|
||||
inherit fetchurl stdenv pkgconfig libgphoto2 libexif popt;
|
||||
};
|
||||
|
@ -2325,6 +2331,11 @@ rec {
|
|||
inherit (gtkLibs) gtk;
|
||||
};
|
||||
|
||||
GStreamer = (import ../applications/audio/GStreamer) {
|
||||
inherit fetchurl stdenv perl bison flex pkgconfig libxml2;
|
||||
inherit (gtkLibs) glib;
|
||||
};
|
||||
|
||||
haskellMode = (import ../applications/editors/emacs/modes/haskell) {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue