2022-10-31 23:35:08 +00:00
|
|
|
{ fetchurl
|
|
|
|
, lib
|
|
|
|
, stdenv
|
|
|
|
, pkg-config
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, gobject-introspection
|
|
|
|
, clutter
|
|
|
|
, gtk3
|
|
|
|
, gnome
|
|
|
|
}:
|
2018-06-01 16:34:56 +00:00
|
|
|
|
2018-03-03 01:42:45 +00:00
|
|
|
let
|
|
|
|
pname = "clutter-gtk";
|
|
|
|
version = "1.8.4";
|
|
|
|
in
|
2018-06-01 16:34:56 +00:00
|
|
|
|
2010-07-18 22:45:03 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2018-03-03 01:42:45 +00:00
|
|
|
name = "${pname}-${version}";
|
2010-07-18 22:45:03 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-01-21 17:00:13 +00:00
|
|
|
url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${name}.tar.xz";
|
2017-10-03 01:12:51 +00:00
|
|
|
sha256 = "01ibniy4ich0fgpam53q252idm7f4fn5xg5qvizcfww90gn9652j";
|
2010-07-18 22:45:03 +00:00
|
|
|
};
|
|
|
|
|
2018-10-08 15:28:45 +00:00
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
2012-03-17 13:30:46 +00:00
|
|
|
propagatedBuildInputs = [ clutter gtk3 ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkg-config gobject-introspection ];
|
2013-08-06 07:10:00 +00:00
|
|
|
|
2022-10-31 23:35:08 +00:00
|
|
|
postPatch = ''
|
|
|
|
# ld: malformed 32-bit x.y.z version number: =1
|
|
|
|
substituteInPlace meson.build \
|
|
|
|
--replace "host_system == 'darwin'" "false"
|
|
|
|
'';
|
|
|
|
|
2011-02-12 13:52:17 +00:00
|
|
|
postBuild = "rm -rf $out/share/gtk-doc";
|
|
|
|
|
2018-03-03 01:42:45 +00:00
|
|
|
passthru = {
|
2021-05-07 21:18:14 +00:00
|
|
|
updateScript = gnome.updateScript {
|
2018-03-03 01:42:45 +00:00
|
|
|
packageName = pname;
|
2021-03-20 23:57:24 +00:00
|
|
|
versionPolicy = "odd-unstable";
|
2018-03-03 01:42:45 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2010-07-18 22:45:03 +00:00
|
|
|
meta = {
|
|
|
|
description = "Clutter-GTK";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.clutter-project.org/";
|
2021-01-21 17:00:13 +00:00
|
|
|
license = lib.licenses.lgpl2Plus;
|
2021-05-07 13:35:21 +00:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2022-10-31 23:35:08 +00:00
|
|
|
platforms = lib.platforms.unix;
|
2010-07-18 22:45:03 +00:00
|
|
|
};
|
|
|
|
}
|