nautilus/extensions/audio-video-properties/meson.build
Waqar Ahmed 6784266e3d audio-video-properties:fix string not translatable
"Frames per second" string in audio-video-properties tab was unavailable for translation.

To fix this, handle the string with g_dngettext() and allow for both singular and plural translation.

Closes https://gitlab.gnome.org/GNOME/nautilus/issues/990
2020-01-11 19:45:22 +00:00

53 lines
1.2 KiB
Meson

resources = gnome.compile_resources(
'nautilus-audio-video-properties-resources',
join_paths(
'resources', 'nautilus-audio-video-properties.gresource.xml'
),
source_dir: 'resources',
c_name: 'nautilus_audio_video_properties',
)
libm = cc.find_library('m')
libtotem_properties_page_sources = files(
'totem-properties-main.c',
'totem-properties-view.c',
'bacon-video-widget-properties.c',
'totem-gst-helpers.c',
) + resources
libtotem_properties_page_deps = [
libm,
gst_tag_dep,
gst_pbutils_dep,
]
libtotem_properties_page = shared_module(
'totem-properties-page',
sources: libtotem_properties_page_sources,
dependencies: libtotem_properties_page_deps + [
nautilus_extension
],
c_args: [
'-DG_LOG_DOMAIN="TotemPropertiesPage"'
],
install: true,
install_dir: extensiondir
)
test_properties_page_sources = files(
'totem-properties-main.c',
'totem-properties-view.c',
'bacon-video-widget-properties.c',
'totem-gst-helpers.c',
'test-properties-page.c'
) + resources
executable(
'test-properties-page',
test_properties_page_sources,
dependencies: libtotem_properties_page_deps + [
nautilus_extension
],
)