Commit 86bfaadd authored by Jens Georg's avatar Jens Georg

Port build system to meson

parent 502ed4cb
install_data('rygel.conf', install_dir : rygel_sysconfdir)
install_data(join_paths('icons', '128x128', 'rygel.png'), install_dir : join_paths(rygel_icondir, '128x128', 'apps'))
install_data(join_paths('icons', '120x120', 'rygel.png'), install_dir : rygel_bigicondir)
install_data(join_paths('icons', '120x120', 'rygel.jpg'), install_dir : rygel_bigicondir)
install_data(join_paths('icons', '48x48', 'rygel.png'), install_dir : rygel_smallicondir)
install_data(join_paths('icons', '48x48', 'rygel.jpg'), install_dir : rygel_smallicondir)
install_data(join_paths('icons', '32x32', 'rygel.png'), install_dir : join_paths(rygel_icondir, '32x32', 'apps'))
install_data(join_paths('icons', '48x48', 'rygel.png'), install_dir : join_paths(rygel_icondir, '48x48', 'apps'))
install_data(join_paths('icons', 'scalable', 'rygel.svg'), install_dir : join_paths(rygel_icondir, 'scalable', 'apps'))
install_data(join_paths('icons', 'scalable', 'rygel-full.svg'), install_dir : join_paths(rygel_icondir, 'scalable', 'apps'))
install_data('rygel-preferences.ui', install_dir : join_paths(rygel_datadir, 'rygel'))
data_conf = configuration_data()
data_conf.set('bindir', join_paths(get_option('prefix'), get_option('bindir')))
data_conf.set('VERSION', meson.project_version())
configure_file(input: 'org.gnome.Rygel1.service.in',
output: 'org.gnome.Rygel1.service',
configuration: data_conf,
install_dir : join_paths(rygel_datadir, 'dbus-1', 'services'))
systemd = dependency('systemd', required : false)
systemd_user_unit_dir = join_paths(get_option('prefix'), 'lib/systemd/user/')
if systemd.found()
systemd_user_unit_dir = systemd.get_pkgconfig_variable('systemduserunitdir')
endif
if not (get_option('systemd-user-units-dir') == 'off')
if not (get_option('systemd-user-units-dir') == 'auto')
systemd_user_unit_dir = get_option('systemd-user-units-dir')
endif
configure_file(input: 'rygel.service.in',
output: 'rygel.service',
configuration: data_conf,
install_dir : systemd_user_unit_dir)
endif
rygel_desktop_preferences_in = configure_file(input: 'rygel-preferences.desktop.in.in',
output : 'rygel-preferences.desktop.in',
configuration : data_conf)
rygel_desktop_in = configure_file(input: 'rygel.desktop.in.in',
output : 'rygel.desktop.in',
configuration : data_conf)
i18n.merge_file(input: rygel_desktop_in,
output: 'rygel.desktop',
po_dir : join_paths('..','po'),
type: 'desktop',
install : true,
install_dir: join_paths(get_option('datadir'), 'applications'))
i18n.merge_file(input: rygel_desktop_preferences_in,
output: 'rygel-preferences.desktop',
po_dir : join_paths('..','po'),
type: 'desktop',
install : true,
install_dir: join_paths(get_option('datadir'), 'applications'))
subdir('presets')
subdir('xml')
install_data(
['avenc_aac.prs',
'avenc_mp2.prs',
'avenc_mpeg2video.prs',
'avenc_wmav1.prs',
'avenc_wmv1.prs',
'GstFaac.prs',
'GstLameMP3Enc.prs',
'GstMP4Mux.prs',
'GstTwoLame.prs',
'GstX264Enc.prs'],
install_dir : rygel_presetdir)
xml_processor = find_program('process-xml.py')
xml_dir = join_paths(rygel_datadir, 'rygel', 'xml')
server_xml = configure_file(input: 'MediaServer3.xml.in.in',
output: 'MediaServer3.xml.in',
configuration: plugin_config)
renderer_xml = configure_file(input: 'MediaRenderer2.xml.in.in',
output: 'MediaRenderer2.xml.in',
configuration: plugin_config)
ruih_xml = configure_file(input: 'RuihServer2.xml.in.in',
output: 'RuihServer2.xml.in',
configuration: plugin_config)
# Fixme: How to install this...
#xml_files = xml_processor.process(['EnergyManagement.xml.in',
# 'ContentDirectory.xml.in',
# 'ContentDirectory-NoTrack.xml.in',
# 'ConnectionManager.xml.in',
# 'RemoteUIServerService.xml.in',
# 'AVTransport2.xml.in',
# 'RenderingControl2.xml.in',
# 'UIList.xml.in',
# 'BasicManagement2.xml.in',
# 'X_MS_MediaReceiverRegistrar1.xml.in'],
# install: true,
# install_dir : xml_dir)
custom_target('EnergyManagement.xml',
input: 'EnergyManagement.xml.in',
output: 'EnergyManagement.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('MediaServer3.xml',
input: server_xml,
output: 'MediaServer3.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('MediaRenderer2.xml',
input: renderer_xml,
output: 'MediaRenderer2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('ContentDirectory.xml',
input: 'ContentDirectory.xml.in',
output: 'ContentDirectory.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('RuihServer2.xml',
input: ruih_xml,
output: 'RuihServer2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('ContentDirectory-NoTrack.xml',
input: 'ContentDirectory-NoTrack.xml.in',
output: 'ContentDirectory-NoTrack.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('ConnectionManager.xml',
input: 'ConnectionManager.xml.in',
output: 'ConnectionManager.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('RemoteUIServerService.xml',
input: 'RemoteUIServerService.xml.in',
output: 'RemoteUIServerService.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('AVTransport2.xml',
input: 'AVTransport2.xml.in',
output: 'AVTransport2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('RenderingControl2.xml',
input: 'RenderingControl2.xml.in',
output: 'RenderingControl2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('UIList.xml',
input: 'UIList.xml.in',
output: 'UIList.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('BasicManagement2.xml',
input: 'BasicManagement2.xml.in',
output: 'BasicManagement2.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
custom_target('X_MS_MediaReceiverRegistrar1.xml',
input: 'X_MS_MediaReceiverRegistrar1.xml.in',
output: 'X_MS_MediaReceiverRegistrar1.xml',
capture: true,
command : [xml_processor, '@INPUT@'],
install: true,
install_dir : xml_dir)
#!/usr/bin/env python3
import sys
import re
with open(sys.argv[1], 'r') as f:
for data in f:
print(data.strip(), end='')
xsltproc = find_program('xsltproc', required: false)
if xsltproc.found()
xlstproc_flags = [
'--nonet',
'--stringparam', 'man.output.quietly', '1',
'--stringparam', 'funcsynopsis.style', 'ansi',
'--stringparam', 'man.th.extra1.suppress', '1',
'--stringparam', 'man.authors.section.enabled', '1',
'--stringparam', 'man.copyright.section.enabled', '1',
]
xsltproc_args = [
xsltproc,
xlstproc_flags,
'-o', '@OUTPUT@',
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
'@INPUT@',
]
man_input_files = [
'rygel.xml',
'rygel.conf.xml'
]
man_output_files = [
'rygel.1',
'rygel.conf.5'
]
custom_target('man 1 pages',
input: 'rygel.xml',
output: 'rygel.1',
command: xsltproc_args,
install: true,
install_dir: join_paths(get_option('mandir'), 'man1'))
custom_target('man 5 pages',
input: 'rygel.conf.xml',
output: 'rygel.conf.5',
command: xsltproc_args,
install: true,
install_dir: join_paths(get_option('mandir'), 'man5'))
endif
subdir('man')
subdir('reference')
if valadoc.found()
core_doc_common_args = [
'--package-name', 'librygel-core',
'--package-version', '2.6',
'-b', join_paths(meson.source_root(), 'src', 'librygel-core'),
'--target-glib=2.32',
'--pkg', 'rygel-build-config',
'--force',
'--directory', '@OUTPUT@',
'--pkg', 'gio-2.0',
'--pkg', 'gee-0.8',
'--pkg', 'gupnp-1.0',
'--pkg', 'gmodule-2.0',
'--pkg', 'posix'
]
custom_target('valadoc-core',
input: core_sources,
output: 'valadoc',
depends : core_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
core_doc_common_args,
'-o', 'valadoc',
core_sources
]
)
if gtkdoc.found()
custom_target('gtkdoc-core',
input: core_sources,
output: 'gtkdoc',
depends : core_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
'--doclet', 'gtkdoc',
'-o', 'gtkdoc',
core_doc_common_args,
'-X', join_paths(meson.build_root(), 'src/librygel-core/rygel-core.h'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-core/librygel-core-2.6.so'),
'-b', join_paths(meson.source_root(), 'src', 'librygel-core'),
core_sources
]
)
if get_option('api-docs')
install_subdir('gtkdoc/html',
install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-core'),
strip_directory : true)
endif
endif
endif
if valadoc.found()
db_doc_common_args = [
'--package-name', 'librygel-db',
'--package-version', '2.6',
'-b', join_paths(meson.source_root(), 'src', 'librygel-db'),
'--vapidir', join_paths(meson.source_root(), 'vapi'),
'--vapidir', join_paths(meson.source_root(), 'src/librygel-core'),
'--vapidir', join_paths(meson.build_root(), 'src/librygel-core'),
'--target-glib=2.32',
'--pkg', 'rygel-build-config',
'--force',
'--directory', '@OUTPUT@',
'--pkg', 'gio-2.0',
'--pkg', 'gee-0.8',
'--pkg', 'gupnp-1.0',
'--pkg', 'gmodule-2.0',
'--pkg', 'posix',
'--pkg', 'sqlite3',
'--pkg', 'gupnp-av-1.0',
'--pkg', 'rygel-core-2.6',
]
custom_target('valadoc-db',
input: db_sources,
output: 'valadoc',
depends: db_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
db_doc_common_args,
'-o', 'valadoc',
db_sources
]
)
if gtkdoc.found()
custom_target('gtkdoc-db',
input: db_sources,
output: 'gtkdoc',
depends : db_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
db_doc_common_args,
'--doclet', 'gtkdoc',
'-o', 'gtkdoc',
'-X', join_paths(meson.build_root(), 'src/librygel-db/rygel-db.h'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-db/librygel-db-2.6.so'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-core/librygel-core-2.6.so'),
db_sources
]
)
if get_option('api-docs')
install_subdir('gtkdoc/html',
install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-db'),
strip_directory : true)
endif
endif
endif
if valadoc.found()
renderer_gst_doc_common_args = [
'--package-name', 'librygel-renderer-gst',
'--package-version', '2.6',
'-b', join_paths(meson.source_root(), 'src', 'librygel-renderer-gst'),
'--vapidir', join_paths(meson.source_root(), 'vapi'),
'--vapidir', join_paths(meson.source_root(), 'src/librygel-core'),
'--vapidir', join_paths(meson.build_root(), 'src/librygel-core'),
'--vapidir', join_paths(meson.build_root(), 'src', 'librygel-renderer'),
'--target-glib=2.32',
'--pkg', 'rygel-build-config',
'--force',
'--directory', '@OUTPUT@',
'--pkg', 'gio-2.0',
'--pkg', 'gee-0.8',
'--pkg', 'gupnp-1.0',
'--pkg', 'gmodule-2.0',
'--pkg', 'posix',
'--pkg', 'gupnp-av-1.0',
'--pkg', 'rygel-core-2.6',
'--pkg', 'rygel-renderer-2.6',
'--pkg', 'gstreamer-1.0',
'--pkg', 'gstreamer-audio-1.0'
]
custom_target('valadoc-renderer-gst',
input: renderer_gst_sources,
output: 'valadoc',
depends : renderer_gst_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
renderer_gst_doc_common_args,
'-o', 'valadoc',
renderer_gst_sources
]
)
if gtkdoc.found()
custom_target('gtkdoc-renderer-gst',
input: renderer_gst_sources,
output: 'gtkdoc',
depends : renderer_gst_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
renderer_gst_doc_common_args,
'--doclet', 'gtkdoc',
'-o', 'gtkdoc',
'-X', join_paths(meson.build_root(), 'src/librygel-renderer/rygel-renderer.h'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-renderer/librygel-renderer-2.6.so'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-core/librygel-core-2.6.so'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-renderer-gst/librygel-renderer-gst-2.6.so'),
renderer_gst_sources
]
)
if get_option('api-docs')
install_subdir('gtkdoc/html',
install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-renderer-gst'),
strip_directory : true)
endif
endif
endif
if valadoc.found()
renderer_doc_common_args = [
'--package-name', 'librygel-renderer',
'--package-version', '2.6',
'-b', join_paths(meson.source_root(), 'src', 'librygel-renderer'),
'--vapidir', join_paths(meson.source_root(), 'vapi'),
'--vapidir', join_paths(meson.source_root(), 'src/librygel-core'),
'--vapidir', join_paths(meson.build_root(), 'src/librygel-core'),
'--target-glib=2.32',
'--pkg', 'rygel-build-config',
'--force',
'--directory', '@OUTPUT@',
'--pkg', 'gio-2.0',
'--pkg', 'gee-0.8',
'--pkg', 'gupnp-1.0',
'--pkg', 'gmodule-2.0',
'--pkg', 'posix',
'--pkg', 'gupnp-av-1.0',
'--pkg', 'rygel-core-2.6'
]
custom_target('valadoc-renderer',
input: renderer_sources,
output: 'valadoc',
depends: renderer_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
renderer_doc_common_args,
'-o', 'valadoc',
renderer_sources
]
)
if gtkdoc.found()
custom_target('gtkdoc-renderer',
input: renderer_sources,
output: 'gtkdoc',
depends : renderer_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
renderer_doc_common_args,
'--doclet', 'gtkdoc',
'-o', 'gtkdoc',
'-X', join_paths(meson.build_root(), 'src/librygel-renderer/rygel-renderer.h'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-renderer/librygel-renderer-2.6.so'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-core/librygel-core-2.6.so'),
renderer_sources
]
)
if get_option('api-docs')
install_subdir('gtkdoc/html',
install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-renderer'),
strip_directory : true)
endif
endif
endif
if valadoc.found()
server_doc_common_args = [
'--package-name', 'librygel-server',
'--package-version', '2.6',
'-b', join_paths(meson.source_root(), 'src', 'librygel-server'),
'--vapidir', join_paths(meson.source_root(), 'vapi'),
'--vapidir', join_paths(meson.source_root(), 'src/librygel-core'),
'--vapidir', join_paths(meson.build_root(), 'src/librygel-core'),
'--target-glib=2.32',
'--pkg', 'rygel-build-config',
'--force',
'--directory', '@OUTPUT@',
'--pkg', 'gio-2.0',
'--pkg', 'gee-0.8',
'--pkg', 'gupnp-1.0',
'--pkg', 'gmodule-2.0',
'--pkg', 'posix',
'--pkg', 'gupnp-av-1.0',
'--pkg', 'rygel-core-2.6',
'--pkg', 'libmediaart-2.0'
]
custom_target('valadoc-server',
input: server_sources,
output: 'valadoc',
depends : server_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
server_doc_common_args,
'-o', 'valadoc',
server_sources
]
)
if gtkdoc.found()
custom_target('gtkdoc-server',
input: server_sources,
output: 'gtkdoc',
depends : server_lib,
build_by_default : get_option('api-docs'),
command :
[
valadoc,
server_doc_common_args,
'--doclet', 'gtkdoc',
'-o', 'gtkdoc',
'-X', join_paths(meson.build_root(), 'src/librygel-server/rygel-server.h'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-server/librygel-server-2.6.so'),
'-X', '-l',
'-X', join_paths(meson.build_root(), 'src/librygel-core/librygel-core-2.6.so'),
server_sources
]
)
if get_option('api-docs')
install_subdir('gtkdoc/html',
install_dir : join_paths(get_option('datadir'), 'gtk-doc/html/librygel-server'),
strip_directory : true)
endif
endif
endif
subdir('librygel-core')
subdir('librygel-db')
subdir('librygel-renderer')
subdir('librygel-renderer-gst')
subdir('librygel-server')
\ No newline at end of file
subdir('renderer-plugins')
subdir('server-plugins')
executable('standalone-server',
'standalone-server.c',
dependencies : [gio, rygel_core, rygel_server],
link_with : [core_lib, server_lib])
executable('standalone-ruih',
'standalone-ruih.c',
dependencies : [gio, rygel_core, rygel_ruih],
link_with: [core_lib, ruih_lib])
executable('standalone-renderer-gst',
'standalone-renderer-gst.c',
dependencies : [gstreamer,
gstreamer_video,
rygel_core,
rygel_renderer,
rygel_renderer_gst],
link_with: [core_lib, renderer_lib, renderer_gst_lib])
executable('fullscreen-renderer',
'fullscreen-renderer.c',
dependencies : [gstreamer_video,
gtk,
rygel_core,
rygel_renderer,
rygel_renderer_gst],
link_with: [core_lib, renderer_lib, renderer_gst_lib])
......@@ -130,10 +130,6 @@ static void
rygel_example_player_finalize (GObject *obj);
G_DEFINE_TYPE_WITH_CODE (RygelExamplePlayer, rygel_example_player, G_TYPE_OBJECT,
G_IMPLEMENT_INTERFACE (RYGEL_TYPE_MEDIA_PLAYER,
rygel_example_player_rygel_media_player_interface_init))
struct _RygelExamplePlayerPrivate {
gchar *_playback_state;
gchar *_uri;
......@@ -146,6 +142,12 @@ struct _RygelExamplePlayerPrivate {
gchar *playback_speed;
gchar *user_agent;
};
typedef struct _RygelExamplePlayerPrivate RygelExamplePlayerPrivate;
G_DEFINE_TYPE_WITH_CODE (RygelExamplePlayer, rygel_example_player, G_TYPE_OBJECT,
G_ADD_PRIVATE(RygelExamplePlayer)
G_IMPLEMENT_INTERFACE (RYGEL_TYPE_MEDIA_PLAYER,
rygel_example_player_rygel_media_player_interface_init))
static const gchar* RYGEL_EXAMPLE_PLAYER_PROTOCOLS[] = {"http-get", NULL};
static const gchar* RYGEL_EXAMPLE_PLAYER_MIME_TYPES[] = {"image/jpeg", "image/png", NULL};
......@@ -190,8 +192,6 @@ static void
rygel_example_player_class_init (RygelExamplePlayerClass *klass) {
GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
g_type_class_add_private (gobject_class, sizeof (RygelExamplePlayerPrivate));
gobject_class->get_property = _rygel_example_player_get_property;
gobject_class->set_property = _rygel_example_player_set_property;
gobject_class->finalize = rygel_example_player_finalize;
......
shared_module('rygel-example-renderer-plugin-c',
['example-renderer-plugin.h',
'example-renderer-plugin.c',
'example-player.h',
'example-player.c'],
c_args : '-DG_LOG_DOMAIN="ExampleRendererPluginC"',
dependencies: [rygel_core, rygel_renderer],
link_with : [core_lib, renderer_lib],
install : true,
install_dir : rygel_plugindir)
configure_file(input : 'example-renderer-c.plugin.in',
output : 'example-renderer-c.plugin',
configuration : plugin_config,
install_dir : rygel_plugindir)
subdir('C')
subdir('vala')
shared_module('rygel-example-renderer-plugin-vala',
['example-renderer-plugin-vala.vala',
'example-player-vala.vala'],
c_args : '-DG_LOG_DOMAIN="ExampleRendererPluginVala"',
dependencies : common_deps + [gupnp_av, rygel_core, rygel_renderer],
install : true,
install_dir : rygel_plugindir)
configure_file(input : 'example-renderer-vala.plugin.in',
output : 'example-renderer-vala.plugin',
configuration : plugin_config,
install_dir : rygel_plugindir)
shared_module('rygel-example-server-plugin-c',
['example-server-plugin.h',
'example-server-plugin.c',
'example-root-container.h',
'example-root-container.c'],
c_args : '-DG_LOG_DOMAIN="ExampleServerPluginC"',
dependencies: [rygel_core, rygel_server],
install : true,
install_dir : rygel_plugindir)
configure_file(input : 'example-server-c.plugin.in',
output : 'example-server-c.plugin',
configuration : plugin_config,
install_dir : rygel_plugindir)
subdir('C')
subdir('vala')
shared_module('rygel-example-server-plugin-vala',
['example-server-plugin-vala.vala',
'example-root-container-vala.vala'],
c_args : '-DG_LOG_DOMAIN="ExampleServerPluginVala"',
dependencies : common_deps + [gupnp_av, rygel_core, rygel_server],
install : true,
install_dir : rygel_plugindir)
configure_file(input : 'example-server-vala.plugin.in',
output : 'example-server-vala.plugin',
configuration : plugin_config,
install_dir : rygel_plugindir)
project('rygel', 'vala', 'c', version : '0.37.0')
vala = meson.get_compiler('vala')
# Check for the required vala version
vala_version_required = '>= 0.40'
vala_version_found = vala.version()
if not vala_version_found.version_compare(vala_version_required)
error('Found Vala version @0@, need @1@'.format(vala_version_found, vala_version_required))
endif
i18n = import('i18n')
rygel_libdir = join_paths(get_option('prefix'), get_option('libdir'))
rygel_includedir = join_paths(get_option('includedir'), 'rygel-2.6')
rygel_vapidir = join_paths(get_option('prefix'), get_option('datadir'), 'vala/vapi')
if not get_option('uninstalled')
rygel_datadir = join_paths(get_option('prefix'), get_option('datadir'))
rygel_libexecdir = join_paths(get_option('prefix'), get_option('libexecdir'),
'rygel')
rygel_sysconfdir = join_paths(get_option('prefix'), get_option('sysconfdir'))
rygel_plugindir = join_paths(rygel_libdir, 'rygel-2.6', 'plugins')
rygel_enginedir = join_paths(rygel_libdir, 'rygel-2.6', 'engines')
rygel_presetdir = join_paths(rygel_datadir, 'rygel', 'presets')
rygel_icondir = join_paths(rygel_datadir, 'icons', 'hicolor')
rygel_bigicondir = join_paths(rygel_datadir, 'rygel', 'icons', '120x120')
rygel_smallicondir = join_paths(rygel_datadir, 'rygel', 'icons', '48x48')
rygel_includedir = join_paths(get_option('includedir'), 'rygel-2.6')
rygel_vapidir = join_paths(rygel_datadir, 'vala', 'vapi')