2015-02-06 05:53:32 +00:00
|
|
|
{ enableX11 ? true
|
2015-09-15 10:26:18 +01:00
|
|
|
, stdenv, fetchurl, pkgconfig, xorg, xorgserver, xinput }:
|
2015-02-06 05:53:32 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "frame-${version}";
|
|
|
|
version = "2.5.0";
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://launchpad.net/frame/trunk/v${version}/+download/${name}.tar.xz";
|
|
|
|
sha256 = "bc2a20cd3ac1e61fe0461bd3ee8cb250dbcc1fa511fad0686d267744e9c78f3a";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
stdenv pkgconfig
|
2016-08-30 18:02:30 +01:00
|
|
|
] ++ stdenv.lib.optionals enableX11 [xorg.xorgserver xorg.libX11 xorg.libXext xorg.libXi];
|
2015-02-06 05:53:32 +00:00
|
|
|
|
|
|
|
configureFlags = stdenv.lib.optional enableX11 "--with-x11";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = "https://launchpad.net/frame";
|
2016-06-20 11:53:46 +01:00
|
|
|
description = "Handles the buildup and synchronization of a set of simultaneous touches";
|
2015-02-06 05:53:32 +00:00
|
|
|
license = stdenv.lib.licenses.gpl3;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
};
|
2016-08-30 18:02:30 +01:00
|
|
|
}
|