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