2009-06-19 10:05:21 +02:00
|
|
|
a :
|
|
|
|
let
|
2012-03-21 20:14:34 +01:00
|
|
|
fetchgit = a.fetchgit;
|
2009-10-06 07:58:56 +02:00
|
|
|
|
2009-06-19 10:05:21 +02:00
|
|
|
buildInputs = with a; [
|
2012-03-21 20:14:34 +01:00
|
|
|
libsoup pkgconfig webkit gtk3 makeWrapper
|
2010-10-23 22:54:07 +02:00
|
|
|
kbproto
|
2009-06-19 10:05:21 +02:00
|
|
|
];
|
|
|
|
in
|
|
|
|
rec {
|
2012-03-21 20:14:34 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = "https://github.com/Dieterbe/uzbl.git";
|
|
|
|
rev = "dcb3b4e1fcff682b412cfe5875f7054b97380d08";
|
|
|
|
sha256 = "f7b2b2903c01c9cfbd99bd94783002e1580d8092ff6022bb5aed3f999ff6e468";
|
|
|
|
};
|
|
|
|
|
|
|
|
name = "uzbl-git";
|
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-* \
|
2012-03-14 23:44:52 +01: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 19:56:01 +02:00
|
|
|
--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
|
|
|
};
|
|
|
|
}
|