Merge pull request #196452 from wegank/gnome-apps-darwin
gjs: add darwin support
This commit is contained in:
commit
2792334022
@ -92,6 +92,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "A map application for GNOME 3";
|
description = "A map application for GNOME 3";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
, gnome
|
, gnome
|
||||||
, gtk4
|
, gtk4
|
||||||
, libadwaita
|
, libadwaita
|
||||||
, wrapGAppsHook
|
, wrapGAppsHook4
|
||||||
, gjs
|
, gjs
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
, libgweather
|
, libgweather
|
||||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
pkg-config
|
pkg-config
|
||||||
meson
|
meson
|
||||||
ninja
|
ninja
|
||||||
wrapGAppsHook
|
wrapGAppsHook4
|
||||||
python3
|
python3
|
||||||
gobject-introspection
|
gobject-introspection
|
||||||
gjs
|
gjs
|
||||||
@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
chmod +x meson_post_install.py
|
chmod +x meson_post_install.py
|
||||||
patchShebangs meson_post_install.py
|
patchShebangs meson_post_install.py
|
||||||
|
substituteInPlace meson_post_install.py \
|
||||||
|
--replace gtk-update-icon-cache gtk4-update-icon-cache
|
||||||
'';
|
'';
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
@ -70,6 +72,6 @@ stdenv.mkDerivation rec {
|
|||||||
description = "Access current weather conditions and forecasts";
|
description = "Access current weather conditions and forecasts";
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -79,9 +79,11 @@ in stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
mesonFlags = [
|
mesonFlags = [
|
||||||
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
||||||
|
] ++ lib.optionals (!stdenv.isLinux) [
|
||||||
|
"-Dprofiler=disabled"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
patchShebangs build/choose-tests-locale.sh
|
patchShebangs build/choose-tests-locale.sh
|
||||||
@ -139,6 +141,6 @@ in stdenv.mkDerivation rec {
|
|||||||
homepage = "https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md";
|
homepage = "https://gitlab.gnome.org/GNOME/gjs/blob/master/doc/Home.md";
|
||||||
license = licenses.lgpl2Plus;
|
license = licenses.lgpl2Plus;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
|||||||
"-Ddemos=true"
|
"-Ddemos=true"
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
runHook preCheck
|
runHook preCheck
|
||||||
@ -83,6 +83,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://gitlab.gnome.org/GNOME/libshumate";
|
homepage = "https://gitlab.gnome.org/GNOME/libshumate";
|
||||||
license = licenses.lgpl21Plus;
|
license = licenses.lgpl21Plus;
|
||||||
maintainers = teams.gnome.members;
|
maintainers = teams.gnome.members;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user