lighttpd: Allow to compile with magnet support.

This also adds pkgconfig to the dependency list so we don't need to
specify the path to OpenSSL anymore, because we need pkgconfig in order
to correctly find Lua anyway.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Split sandbox off the main output path.

Now the chromium derivation produces an extra output path for the
sandbox in order to be properly used as a setuid wrapper in <nixos>
without the need to include the full Chromium package.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Update all channels to latest versions.

stable: 29.0.1547.65 -> 29.0.1547.76
beta:   30.0.1599.37 -> 30.0.1599.47
dev:    31.0.1626.0  -> 31.0.1636.0

Builds and tests working successfully on my machine.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
ninja: Update to new upstream version 1.4.0.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
python-gyp: Update to SVN revision 1738.

This fixes a few issues with symlinks and also needs to be up to date
because we're going to use it for building Chromium instead of the
bundled GYP that comes with Chromium.

Also, the package was missing a license and in the current revision, we
also have test cases, so let's enable them.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Split up source into multiple outputs.

This splits up the source into one base output (just the build and tools
directory), one for bundled dependencies, one for sandbox sources and
one for the sources of the main browser.

The state of this is heavily work in progress and contains a bunch of
workarounds. For example, we currently copy the entire sources into the
build directory, so a build ultimately requires even more space than
before.

Of course, it's just temporary as neither GYP nor ninja is particularly
friendly if it comes to out-of-tree builds.

Another thing which is heavily WIP is how we handle patches. Ultimately,
those patches shouldn't be applied to the source tree (at least not all)
but rather to the final build's temporary directory.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
chromium: Update beta and dev channels.

beta: 30.0.1599.47 -> 30.0.1599.59
dev:  31.0.1636.0  -> 31.0.1650.0

All builds were tested on my machine (including stable).

Signed-off-by: aszlig <aszlig@redmoonstudios.org>