diff options
author | Armijn Hemel <armijn@gpl-violations.org> | 2006-09-24 12:23:13 +0000 |
---|---|---|
committer | Armijn Hemel <armijn@gpl-violations.org> | 2006-09-24 12:23:13 +0000 |
commit | 1995e1265e97b2668ade8716de70507b330dcc82 (patch) | |
tree | b7e60e2fda8d65bbb7d5af47848c19d5ffa4e5a5 /pkgs/applications/video | |
parent | a263927719d99758cfff08fb903dbc2a517043e9 (diff) | |
download | nixlib-1995e1265e97b2668ade8716de70507b330dcc82.tar nixlib-1995e1265e97b2668ade8716de70507b330dcc82.tar.gz nixlib-1995e1265e97b2668ade8716de70507b330dcc82.tar.bz2 nixlib-1995e1265e97b2668ade8716de70507b330dcc82.tar.lz nixlib-1995e1265e97b2668ade8716de70507b330dcc82.tar.xz nixlib-1995e1265e97b2668ade8716de70507b330dcc82.tar.zst nixlib-1995e1265e97b2668ade8716de70507b330dcc82.zip |
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
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r-- | pkgs/applications/video/gnash/builder.sh | 5 | ||||
-rw-r--r-- | pkgs/applications/video/gnash/default.nix | 17 |
2 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/applications/video/gnash/builder.sh b/pkgs/applications/video/gnash/builder.sh new file mode 100644 index 000000000000..41e0691c4803 --- /dev/null +++ b/pkgs/applications/video/gnash/builder.sh @@ -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 diff --git a/pkgs/applications/video/gnash/default.nix b/pkgs/applications/video/gnash/default.nix new file mode 100644 index 000000000000..8d8dfacc94ff --- /dev/null +++ b/pkgs/applications/video/gnash/default.nix @@ -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; +} |