metadata: fix properties

The spa_dict does not live outside of the scope it is created in
and so no metadata name is passed to the export function.

Use and initialize a variable outside of the scope instead.
8 jobs for meta-name in 2 minutes and 10 seconds (queued for 6 seconds)
Status Name Job ID Coverage
  Container
passed container_fedora #14331640

00:00:40

passed container_ubuntu #14331641

00:00:14

 
  Build
passed build_on_fedora_no_docs #14331643

00:01:14

passed build_on_fedora_with_docs #14331642

00:01:21

failed build_on_ubuntu_no_gir #14341084

00:00:08

failed build_on_ubuntu_with_gir #14341083

00:00:08

failed build_on_ubuntu_no_gir #14331645

00:00:32

failed build_on_ubuntu_with_gir #14331644

00:00:32

 
Name Stage Failure
failed
build_on_ubuntu_with_gir Build
$ git clone --depth=1 --branch="$PIPEWIRE_HEAD" https://gitlab.freedesktop.org/pipewire/pipewire.git
Cloning into 'pipewire'...
fatal: unable to access 'https://gitlab.freedesktop.org/pipewire/pipewire.git/': server certificate verification failed. CAfile: none CRLfile: none
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build-*/meson-logs: no matching files
WARNING: prefix-*: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1
failed
build_on_ubuntu_no_gir Build
$ git clone --depth=1 --branch="$PIPEWIRE_HEAD" https://gitlab.freedesktop.org/pipewire/pipewire.git
Cloning into 'pipewire'...
fatal: unable to access 'https://gitlab.freedesktop.org/pipewire/pipewire.git/': server certificate verification failed. CAfile: none CRLfile: none
Uploading artifacts for failed job
Uploading artifacts...
WARNING: build-*/meson-logs: no matching files
WARNING: prefix-*: no matching files
ERROR: No files to upload
Cleaning up file based variables
ERROR: Job failed: exit code 1