1 # -*- indent-tabs-mode: nil -*-
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
11 # http://www.apache.org/licenses/LICENSE-2.0
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
20 package_id = 'plasma-glib'
21 package_name = 'Plasma GLib'
22 entities_conf = configuration_data()
23 entities_conf.set('PACKAGE', package_id)
24 entities_conf.set('PACKAGE_BUGREPORT',
25 'https://issues.apache.org/jira/browse/ARROW')
26 entities_conf.set('PACKAGE_NAME', package_name)
27 entities_conf.set('PACKAGE_STRING',
28 ' '.join([package_name, version]))
29 entities_conf.set('PACKAGE_URL', 'https://arrow.apache.org/')
30 entities_conf.set('PACKAGE_VERSION', version)
31 configure_file(input: 'entities.xml.in',
32 output: 'entities.xml',
33 configuration: entities_conf)
44 glib_prefix = dependency('glib-2.0').get_pkgconfig_variable('prefix')
45 glib_doc_path = join_paths(glib_prefix, 'share', 'gtk-doc', 'html')
46 arrow_glib_doc_path = join_paths(data_dir,
50 doc_path = join_paths(data_dir, 'gtk-doc', 'html', package_id)
52 source_directories = [
53 join_paths(meson.source_root(), package_id),
54 join_paths(meson.build_root(), package_id),
61 dependencies += [arrow_cuda_glib]
64 gnome.gtkdoc(package_id,
65 main_xml: package_id + '-docs.xml',
66 src_dir: source_directories,
67 dependencies: dependencies,
68 ignore_headers: ignore_headers,
69 gobject_typesfile: package_id + '.types',
72 '--deprecated-guards=GPLASMA_DISABLE_DEPRECATED',
75 '--output-format=xml',
76 '--name-space=gplasma',
77 '--source-suffixes=c,cpp,h',
80 '--html-dir=' + doc_path,
81 '--extra-dir=' + join_paths(glib_doc_path, 'glib'),
82 '--extra-dir=' + join_paths(glib_doc_path, 'gobject'),
83 '--extra-dir=' + arrow_glib_doc_path,
85 html_assets: html_images,