2019-04-01 00:38:51 +01:00
|
|
|
{ fetchFromGitLab, stdenv, substituteAll, pkgconfig, gnome3, intltool, gobject-introspection, upower, cairo
|
2019-02-13 21:47:50 +00:00
|
|
|
, glib, gtk3, pango, cogl, clutter, libstartup_notification, zenity, libcanberra-gtk3
|
2019-04-03 22:02:38 +01:00
|
|
|
, gsettings-desktop-schemas, gnome-desktop, wrapGAppsHook
|
2018-09-17 18:12:44 +01:00
|
|
|
, libtool, makeWrapper, xkeyboard_config, libxkbfile, libxkbcommon, libXtst, libinput
|
2019-04-01 00:23:08 +01:00
|
|
|
, geocode-glib, libgudev, libwacom, xwayland, autoreconfHook }:
|
2018-09-17 18:12:44 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-04-01 00:23:08 +01:00
|
|
|
pname = "mutter";
|
2018-09-17 18:12:44 +01:00
|
|
|
version = "3.28.3";
|
|
|
|
|
2019-04-01 00:23:08 +01:00
|
|
|
src = fetchFromGitLab {
|
|
|
|
domain = "gitlab.gnome.org";
|
|
|
|
owner = "GNOME";
|
|
|
|
repo = pname;
|
|
|
|
rev = "4af8d9d4752a94612a98d619e65828f0070a7b0e"; # HEAD of https://gitlab.gnome.org/GNOME/mutter/tree/gnome-3-28
|
|
|
|
sha256 = "1rmc1bf80yq776xhygi1jzgia1y44j2mr2n94vlxgzqc0whamx2v";
|
2018-09-17 18:12:44 +01:00
|
|
|
};
|
|
|
|
|
2019-04-01 00:38:51 +01:00
|
|
|
patches = [
|
|
|
|
(substituteAll {
|
|
|
|
src = ./fix-paths-328.patch;
|
|
|
|
inherit zenity;
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2018-09-17 18:12:44 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--with-x"
|
|
|
|
"--disable-static"
|
|
|
|
"--enable-shape"
|
|
|
|
"--enable-sm"
|
|
|
|
"--enable-startup-notification"
|
|
|
|
"--enable-xsync"
|
|
|
|
"--enable-verbose-mode"
|
|
|
|
"--with-libcanberra"
|
|
|
|
"--with-xwayland-path=${xwayland}/bin/Xwayland"
|
|
|
|
"--enable-compile-warnings=maximum"
|
|
|
|
];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
# required for pkgconfig to detect mutter-clutter
|
|
|
|
libXtst
|
|
|
|
];
|
|
|
|
|
2019-04-03 22:02:38 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig intltool libtool wrapGAppsHook ];
|
2018-09-17 18:12:44 +01:00
|
|
|
|
2019-02-13 21:47:50 +00:00
|
|
|
buildInputs = [
|
|
|
|
glib gobject-introspection gtk3 gsettings-desktop-schemas upower
|
2018-09-17 18:12:44 +01:00
|
|
|
gnome-desktop cairo pango cogl clutter zenity libstartup_notification
|
2019-02-13 21:47:50 +00:00
|
|
|
geocode-glib libinput libgudev libwacom
|
2018-09-17 18:12:44 +01:00
|
|
|
libcanberra-gtk3 zenity xkeyboard_config libxkbfile
|
2019-04-01 00:23:08 +01:00
|
|
|
libxkbcommon
|
2018-09-17 18:12:44 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = gnome3.maintainers;
|
|
|
|
license = licenses.gpl2;
|
|
|
|
};
|
|
|
|
}
|