Merge pull request #130479 from Mindavi/totem-pl-parser/cross

totem-pl-parser: support cross-compilation

authored by

Jan Tojnar and committed by
GitHub
4a3fbd36 b2d4df3b

+9 -3
+9 -3
pkgs/development/libraries/totem-pl-parser/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, libxml2, gobject-introspection, gnome }: 1 + { lib, stdenv, fetchurl, meson, ninja, pkg-config, gettext, libxml2, gobject-introspection, gnome, glib }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 pname = "totem-pl-parser"; ··· 16 16 }; 17 17 }; 18 18 19 - nativeBuildInputs = [ meson ninja pkg-config gettext gobject-introspection ]; 20 - buildInputs = [ libxml2 ]; 19 + strictDeps = true; 20 + depsBuildBuild = [ pkg-config ]; 21 + nativeBuildInputs = [ meson ninja pkg-config gettext glib gobject-introspection ]; 22 + buildInputs = [ libxml2 glib ]; 23 + 24 + mesonFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [ 25 + "-Dintrospection=false" 26 + ]; 21 27 22 28 meta = with lib; { 23 29 homepage = "https://wiki.gnome.org/Apps/Videos";