2009-09-22 05:51:04 +02:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
s = import ./src-for-experimental.nix;
|
|
|
|
buildInputs = with a; [
|
|
|
|
libsoup pkgconfig webkit gtk makeWrapper
|
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
|
|
|
src = (a.fetchGitFromSrcInfo s) + "/";
|
|
|
|
|
|
|
|
inherit (s) name;
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
2009-11-08 00:09:36 +01:00
|
|
|
phaseNames = ["setVars" "addInputs" "doMakeInstall" "doWrap"];
|
|
|
|
|
|
|
|
setVars = a.noDepEntry ''
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11"
|
|
|
|
'';
|
2009-09-22 05:51:04 +02:00
|
|
|
|
|
|
|
doWrap = a.makeManyWrappers "$out/bin/uzbl*"
|
|
|
|
''
|
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gstreamer}/lib/gstreamer-* \
|
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gstPluginsBase}/lib/gstreamer-* \
|
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gstPluginsGood}/lib/gstreamer-* \
|
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gstFfmpeg}/lib/gstreamer-*
|
|
|
|
'';
|
|
|
|
|
|
|
|
installFlags = "PREFIX=$out";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tiny externally controllable webkit browser";
|
|
|
|
maintainers = [a.lib.maintainers.raskin];
|
|
|
|
platforms = with a.lib.platforms;
|
2009-09-30 09:52:18 +02:00
|
|
|
linux;
|
2009-09-22 05:51:04 +02:00
|
|
|
};
|
|
|
|
}
|