nixpkgs/pkgs/applications/video/gnash/builder.sh
Ludovic Courtès f8836a2e41 GNU Gnash 0.8.6.
svn path=/nixpkgs/trunk/; revision=17421
2009-09-25 15:24:31 +00:00

15 lines
428 B
Bash

source "$stdenv/setup"
configureFlags=" \
--with-sdl-incl=$SDL/include/SDL \
--with-npapi-plugindir=$out/plugins \
--enable-media=gst \
--enable-gui=gtk"
# In `libmedia', Gnash compiles with "-I$gstPluginsBase/include",
# whereas it really needs "-I$gstPluginsBase/include/gstreamer-0.10".
# Work around this using GCC's $CPATH variable.
export CPATH="$gstPluginsBase/include/gstreamer-0.10"
genericBuild