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