tools: ship the final man pages directly, no more man pages templates
[platform/upstream/gstreamer.git] / pkgconfig / meson.build
1 pkgconf = configuration_data()
2
3 pkgconf.set('prefix', get_option('prefix'))
4 pkgconf.set('exec_prefix', '${prefix}')
5 pkgconf.set('libdir', '${prefix}/@0@'.format(get_option('libdir')))
6 pkgconf.set('includedir', '${prefix}/@0@'.format(get_option('includedir')))
7 pkgconf.set('GST_API_VERSION', apiversion)
8 pkgconf.set('VERSION', gst_version)
9
10 pkg_install_dir = '@0@/pkgconfig'.format(get_option('libdir'))
11
12 pkg_files = ['gstreamer-base',
13   'gstreamer-check',
14   'gstreamer-controller',
15   'gstreamer-net',
16   'gstreamer'
17 ]
18
19 foreach p : pkg_files
20   infile = p + '.pc.in'
21   outfile = p + '-1.0.pc'
22   configure_file(input : infile,
23     output : outfile,
24     configuration : pkgconf,
25     install_dir : pkg_install_dir)
26 endforeach