gnome-bluetooth_1_0: fix cross compilation

This commit is contained in:
Colin
2025-01-26 02:52:15 +00:00
parent e92c37ed58
commit 4518a0d7ff
+21 -14
View File
@@ -6,6 +6,7 @@
gnome,
adwaita-icon-theme,
meson,
mesonEmulatorHook,
ninja,
pkg-config,
gtk3,
@@ -51,20 +52,24 @@ stdenv.mkDerivation (finalAttrs: {
})
];
nativeBuildInputs = [
meson
ninja
gettext
itstool
pkg-config
libxml2
wrapGAppsHook3
gobject-introspection
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
python3
];
nativeBuildInputs =
[
meson
ninja
gettext
itstool
pkg-config
libxml2
wrapGAppsHook3
gobject-introspection
gtk-doc
docbook-xsl-nons
docbook_xml_dtd_43
python3
]
++ lib.optionals (!stdenv.buildPlatform.canExecute stdenv.hostPlatform) [
mesonEmulatorHook
];
buildInputs = [
glib
@@ -86,6 +91,8 @@ stdenv.mkDerivation (finalAttrs: {
patchShebangs meson_post_install.py
'';
strictDeps = true;
passthru = {
updateScript = gnome.updateScript {
packageName = "gnome-bluetooth";