2009-06-19 10:05:21 +02:00
|
|
|
a :
|
|
|
|
let
|
|
|
|
fetchurl = a.fetchurl;
|
|
|
|
|
2009-10-06 07:58:56 +02:00
|
|
|
s = import ./src-for-default.nix;
|
|
|
|
|
2009-06-19 10:05:21 +02:00
|
|
|
buildInputs = with a; [
|
2009-08-24 15:05:19 +02:00
|
|
|
libsoup pkgconfig webkit gtk makeWrapper
|
2010-10-23 22:54:07 +02:00
|
|
|
kbproto
|
2009-06-19 10:05:21 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
2010-06-17 06:22:08 +02:00
|
|
|
src = (a.fetchUrlFromSrcInfo s);
|
2009-10-06 07:58:56 +02:00
|
|
|
inherit (s) name;
|
2009-06-19 10:05:21 +02:00
|
|
|
|
|
|
|
inherit buildInputs;
|
|
|
|
configureFlags = [];
|
|
|
|
|
|
|
|
/* doConfigure should be removed if not needed */
|
2009-08-24 15:05:19 +02:00
|
|
|
phaseNames = ["addInputs" "setVars" "doMakeInstall" "doWrap"];
|
|
|
|
|
|
|
|
setVars = a.noDepEntry (''
|
2010-06-17 17:23:38 +02:00
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -L${a.libX11}/lib -lX11"
|
2009-08-24 15:05:19 +02:00
|
|
|
'');
|
2009-08-03 07:11:30 +02:00
|
|
|
|
2010-06-17 06:22:08 +02:00
|
|
|
doWrap = a.makeManyWrappers "$out/bin/uzbl-core"
|
2009-08-03 07:11:30 +02:00
|
|
|
''
|
2009-08-03 08:40:27 +02:00
|
|
|
--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-* \
|
2011-04-17 19:56:01 +02:00
|
|
|
--prefix GST_PLUGIN_PATH : ${a.webkit.gstFfmpeg}/lib/gstreamer-* \
|
|
|
|
--prefix GIO_EXTRA_MODULES : ${a.glib_networking}/lib/gio/modules
|
2009-08-03 07:11:30 +02:00
|
|
|
'';
|
2009-06-19 10:05:21 +02:00
|
|
|
|
|
|
|
installFlags = "PREFIX=$out";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Tiny externally controllable webkit browser";
|
2009-08-04 09:49:16 +02:00
|
|
|
maintainers = [a.lib.maintainers.raskin];
|
2009-06-19 10:05:21 +02:00
|
|
|
};
|
|
|
|
}
|