]> git.proxmox.com Git - ceph.git/blame - ceph/src/arrow/c_glib/doc/parquet-glib/meson.build
import quincy 17.2.0
[ceph.git] / ceph / src / arrow / c_glib / doc / parquet-glib / meson.build
CommitLineData
1d09f67e
TL
1# -*- indent-tabs-mode: nil -*-
2#
3# Licensed to the Apache Software Foundation (ASF) under one
4# or more contributor license agreements. See the NOTICE file
5# distributed with this work for additional information
6# regarding copyright ownership. The ASF licenses this file
7# to you under the Apache License, Version 2.0 (the
8# "License"); you may not use this file except in compliance
9# with the License. You may obtain a copy of the License at
10#
11# http://www.apache.org/licenses/LICENSE-2.0
12#
13# Unless required by applicable law or agreed to in writing,
14# software distributed under the License is distributed on an
15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16# KIND, either express or implied. See the License for the
17# specific language governing permissions and limitations
18# under the License.
19
20package_id = 'parquet-glib'
21package_name = 'Apache Parquet GLib'
22entities_conf = configuration_data()
23entities_conf.set('PACKAGE', package_id)
24entities_conf.set('PACKAGE_BUGREPORT',
25 'https://issues.apache.org/jira/browse/PARQUET')
26entities_conf.set('PACKAGE_NAME', package_name)
27entities_conf.set('PACKAGE_STRING',
28 ' '.join([package_name, version]))
29entities_conf.set('PACKAGE_URL', 'https://arrow.apache.org/')
30entities_conf.set('PACKAGE_VERSION', version)
31configure_file(input: 'entities.xml.in',
32 output: 'entities.xml',
33 configuration: entities_conf)
34
35private_headers = [
36]
37
38content_files = [
39]
40
41html_images = [
42]
43
44glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
45glib_doc_path = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
46arrow_glib_doc_path = join_paths(data_dir,
47 'gtk-doc',
48 'html',
49 'arrow-glib')
50doc_path = join_paths(data_dir, 'gtk-doc', 'html', package_id)
51
52source_directories = [
53 join_paths(meson.source_root(), package_id),
54 join_paths(meson.build_root(), package_id),
55]
56dependencies = [
57 parquet_glib,
58 arrow_glib,
59]
60ignore_headers = []
61gnome.gtkdoc(package_id,
62 main_xml: package_id + '-docs.xml',
63 src_dir: source_directories,
64 dependencies: dependencies,
65 ignore_headers: ignore_headers,
66 gobject_typesfile: package_id + '.types',
67 scan_args: [
68 '--rebuild-types',
69 '--deprecated-guards=GARROW_DISABLE_DEPRECATED',
70 ],
71 mkdb_args: [
72 '--output-format=xml',
73 '--name-space=gparquet',
74 '--source-suffixes=c,cpp,h',
75 ],
76 fixxref_args: [
77 '--html-dir=' + doc_path,
78 '--extra-dir=' + join_paths(glib_doc_path, 'glib'),
79 '--extra-dir=' + join_paths(glib_doc_path, 'gobject'),
80 '--extra-dir=' + arrow_glib_doc_path,
81 ],
82 html_assets: html_images,
83 install: true)