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";
|
||||
maintainers = teams.gnome.members;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -5,7 +5,7 @@
|
||||
, gnome
|
||||
, gtk4
|
||||
, libadwaita
|
||||
, wrapGAppsHook
|
||||
, wrapGAppsHook4
|
||||
, gjs
|
||||
, gobject-introspection
|
||||
, libgweather
|
||||
@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
pkg-config
|
||||
meson
|
||||
ninja
|
||||
wrapGAppsHook
|
||||
wrapGAppsHook4
|
||||
python3
|
||||
gobject-introspection
|
||||
gjs
|
||||
@ -56,6 +56,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
chmod +x meson_post_install.py
|
||||
patchShebangs meson_post_install.py
|
||||
substituteInPlace meson_post_install.py \
|
||||
--replace gtk-update-icon-cache gtk4-update-icon-cache
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
@ -70,6 +72,6 @@ stdenv.mkDerivation rec {
|
||||
description = "Access current weather conditions and forecasts";
|
||||
maintainers = teams.gnome.members;
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -79,9 +79,11 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
mesonFlags = [
|
||||
"-Dinstalled_test_prefix=${placeholder "installedTests"}"
|
||||
] ++ lib.optionals (!stdenv.isLinux) [
|
||||
"-Dprofiler=disabled"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
postPatch = ''
|
||||
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";
|
||||
license = licenses.lgpl2Plus;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ stdenv.mkDerivation rec {
|
||||
"-Ddemos=true"
|
||||
];
|
||||
|
||||
doCheck = true;
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
@ -83,6 +83,6 @@ stdenv.mkDerivation rec {
|
||||
homepage = "https://gitlab.gnome.org/GNOME/libshumate";
|
||||
license = licenses.lgpl21Plus;
|
||||
maintainers = teams.gnome.members;
|
||||
platforms = platforms.linux;
|
||||
platforms = platforms.unix;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user