Merge pull request #183352 from wegank/vte-darwin
This commit is contained in:
commit
85f8f07086
@ -1,6 +1,7 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, gettext
|
, gettext
|
||||||
, gnome
|
, gnome
|
||||||
, libgtop
|
, libgtop
|
||||||
@ -29,14 +30,23 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "fSbmwYdExXWnhykyY/YM7/YwEHCY6eWKd2WwCsdDcEk=";
|
sha256 = "fSbmwYdExXWnhykyY/YM7/YwEHCY6eWKd2WwCsdDcEk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
(fetchpatch {
|
||||||
|
name = "fix-clang-build-issues.patch";
|
||||||
|
url = "https://gitlab.gnome.org/GNOME/console/-/commit/0e29a417d52e27da62f5cac461400be6a764dc65.patch";
|
||||||
|
sha256 = "sha256-5ORNZOxjC5dMk9VKaBcJu5OV1SEZo9SNUbN4Ob5hVJs=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
gettext
|
gettext
|
||||||
libgtop
|
libgtop
|
||||||
gnome.nautilus
|
|
||||||
gtk3
|
gtk3
|
||||||
libhandy
|
libhandy
|
||||||
pcre2
|
pcre2
|
||||||
vte
|
vte
|
||||||
|
] ++ lib.optionals stdenv.isLinux [
|
||||||
|
gnome.nautilus
|
||||||
];
|
];
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
@ -51,6 +61,10 @@ stdenv.mkDerivation rec {
|
|||||||
wrapGAppsHook
|
wrapGAppsHook
|
||||||
];
|
];
|
||||||
|
|
||||||
|
mesonFlags = lib.optionals (!stdenv.isLinux) [
|
||||||
|
"-Dnautilus=disabled"
|
||||||
|
];
|
||||||
|
|
||||||
passthru = {
|
passthru = {
|
||||||
updateScript = gnome.updateScript {
|
updateScript = gnome.updateScript {
|
||||||
packageName = pname;
|
packageName = pname;
|
||||||
@ -64,6 +78,6 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "https://gitlab.gnome.org/GNOME/console";
|
homepage = "https://gitlab.gnome.org/GNOME/console";
|
||||||
license = licenses.gpl3Plus;
|
license = licenses.gpl3Plus;
|
||||||
maintainers = teams.gnome.members ++ (with maintainers; [ zhaofengli ]);
|
maintainers = teams.gnome.members ++ (with maintainers; [ zhaofengli ]);
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -78,6 +78,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
mesonFlags = lib.optionals (!systemdSupport) [
|
mesonFlags = lib.optionals (!systemdSupport) [
|
||||||
"-D_systemd=false"
|
"-D_systemd=false"
|
||||||
|
] ++ lib.optionals stdenv.isDarwin [
|
||||||
|
# -Bsymbolic-functions is not supported on darwin
|
||||||
|
"-D_b_symbolic_functions=false"
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -98,7 +101,6 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
broken = stdenv.isDarwin;
|
|
||||||
homepage = "https://www.gnome.org/";
|
homepage = "https://www.gnome.org/";
|
||||||
description = "A library implementing a terminal emulator widget for GTK";
|
description = "A library implementing a terminal emulator widget for GTK";
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
|
Loading…
Reference in New Issue
Block a user