nixpkgs/pkgs/applications/networking/browsers/uzbl/default.nix
Michael Raskin 30d143f0d8 Try to handle GStreamer correctly in webkit
svn path=/nixpkgs/trunk/; revision=16544
2009-08-03 05:11:30 +00:00

37 lines
1,013 B
Nix

a :
let
fetchurl = a.fetchurl;
version = a.lib.attrByPath ["version"] "2009.07.18" a;
buildInputs = with a; [
pkgconfig webkit libsoup gtk
];
in
rec {
src = fetchurl {
url = "http://github.com/Dieterbe/uzbl/tarball/${version}";
sha256 = "1bgx2pl3f4y20s43xpz62dx9pa80z38d0l6kzyzjbpzikih69vkw";
name = "uzbl-master-${version}.tar.gz";
};
inherit buildInputs;
configureFlags = [];
/* doConfigure should be removed if not needed */
phaseNames = ["doMakeInstall" "doWrap"];
doWrap = a.makeManyWrappers "$out/bin/uzbl"
''
--prefix GST_PLUGIN_PATH : ${webkit.gstreamer}/lib/gstreamer-*
--prefix GST_PLUGIN_PATH : ${webkit.gstPluginsBase}/lib/gstreamer-*
--prefix GST_PLUGIN_PATH : ${webkit.gstPluginsGood}/lib/gstreamer-*
--prefix GST_PLUGIN_PATH : ${webkit.gstFfmpeg}/lib/gstreamer-*
'';
installFlags = "PREFIX=$out";
name = "uzbl-" + version;
meta = {
description = "Tiny externally controllable webkit browser";
};
}