Ravenports generated: 18 Jan 2021 12:16
[ravenports.git] / bucket_17 / liborcus
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               liborcus
4 VERSION=                0.16.1
5 REVISION=               1
6 KEYWORDS=               devel misc
7 VARIANTS=               standard
8 SDESC[standard]=        File import library for spreadsheet documents
9 HOMEPAGE=               https://gitlab.com/orcus/orcus
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            GITLAB/orcus:orcus:0.16.1
14 DISTFILE[1]=            generated:main
15 DF_INDEX=               1
16 SPKGS[standard]=        single
17
18 OPTIONS_AVAILABLE=      none
19 OPTIONS_STANDARD=       none
20
21 BUILD_DEPENDS=          mdds:single:standard
22                         bzip2:shared:standard
23 BUILDRUN_DEPENDS=       boost-libraries:rest:python_default
24                         ixion:single:standard
25
26 USES=                   pkgconfig zlib cmake python:build bz2:build
27
28 LICENSE=                MPL:single
29 LICENSE_FILE=           MPL:{{WRKSRC}}/LICENSE
30 LICENSE_SCHEME=         solo
31
32 FPC_EQUIVALENT=         devel/liborcus
33
34 INSTALL_REQ_TOOLCHAIN=  yes
35 SOVERSION=              0.0.0
36 PLIST_SUB=              VER=0.16
37
38 LDFLAGS=                -lboost_program_options
39                         -lboost_thread
40                         -lboost_filesystem
41                         -lboost_iostreams
42 CMAKE_ARGS=             -DMDDS_INCLUDEDIR:STRING="{{LOCALBASE}}/include/mdds-1.2"
43                         -DIXION_INCLUDEDIR:STRING="{{LOCALBASE}}/include/ixion-0.16"
44
45 post-patch:
46         # fix module name
47         ${REINPLACE_CMD} -e 's|Zlib|ZLIB|' \
48                 -e '/CMAKE_CXX_STANDARD/ s|11|14|' \
49                 ${WRKSRC}/CMakeLists.txt
50
51 post-install:
52         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/orcus*
53         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/lib*.so
54         # manually create pkgconfig file
55         ${SED} -e 's|@prefix@|${PREFIX}|; s|@exec_prefix@|${PREFIX}|' \
56         -e 's|@libdir@|${PREFIX}/lib|; s|@includedir@|${PREFIX}/include|' \
57         -e 's|liborcus-@ORCUS_API_VERSION@|orcus-0.16|' \
58         -e 's|@ORCUS_API_VERSION@|0.16|g' \
59         -e ' s|@VERSION@|0.16.1|g' ${WRKSRC}/liborcus.pc.in \
60         > ${STAGEDIR}${PREFIX}/lib/pkgconfig/liborcus-0.16.pc
61
62 [FILE:274:descriptions/desc.single]
63 Orcus is a library that provides a collection of standalone file processing
64 filters.  It is currently focused on providing filters for spreadsheet
65 documents, but filters for other productivity application types (such as
66 wordprocessor and presentation) are in consideration.
67
68
69 [FILE:104:distinfo]
70 6a3462ee570d04fad95873c99baf9d33236f61991bb916ef492fd14d1ec62289      8206018 orcus-orcus-0.16.1.tar.gz
71
72
73 [FILE:1741:manifests/plist.single]
74 bin/
75  orcus-css-dump
76  orcus-csv
77  orcus-detect
78  orcus-json
79  orcus-ods
80  orcus-styles-ods
81  orcus-xls-xml
82  orcus-xlsx
83  orcus-xml
84  orcus-yaml
85  orcus-zip-dump
86 include/orcus-%%VER%%/orcus/
87  base64.hpp
88  cell_buffer.hpp
89  config.hpp
90  css_document_tree.hpp
91  css_parser.hpp
92  css_parser_base.hpp
93  css_selector.hpp
94  css_types.hpp
95  csv_parser.hpp
96  csv_parser_base.hpp
97  dom_tree.hpp
98  env.hpp
99  exception.hpp
100  format_detection.hpp
101  global.hpp
102  info.hpp
103  interface.hpp
104  json_document_tree.hpp
105  json_global.hpp
106  json_parser.hpp
107  json_parser_base.hpp
108  json_parser_thread.hpp
109  json_structure_tree.hpp
110  measurement.hpp
111  orcus_csv.hpp
112  orcus_gnumeric.hpp
113  orcus_import_ods.hpp
114  orcus_import_xlsx.hpp
115  orcus_json.hpp
116  orcus_ods.hpp
117  orcus_xls_xml.hpp
118  orcus_xlsx.hpp
119  orcus_xml.hpp
120  parser_base.hpp
121  parser_global.hpp
122  pstring.hpp
123  sax_ns_parser.hpp
124  sax_parser.hpp
125  sax_parser_base.hpp
126  sax_token_parser.hpp
127  sax_token_parser_thread.hpp
128  stream.hpp
129  string_pool.hpp
130  threaded_json_parser.hpp
131  threaded_sax_token_parser.hpp
132  tokens.hpp
133  types.hpp
134  xml_namespace.hpp
135  xml_structure_tree.hpp
136  xml_writer.hpp
137  yaml_document_tree.hpp
138  yaml_parser.hpp
139  yaml_parser_base.hpp
140  zip_archive.hpp
141  zip_archive_stream.hpp
142 include/orcus-%%VER%%/orcus/detail/
143  parser_token_buffer.hpp
144  thread.hpp
145 include/orcus-%%VER%%/orcus/mso/encryption_info.hpp
146 include/orcus-%%VER%%/orcus/spreadsheet/
147  auto_filter.hpp
148  config.hpp
149  document.hpp
150  export_interface.hpp
151  factory.hpp
152  import_interface.hpp
153  import_interface_pivot.hpp
154  import_interface_view.hpp
155  pivot.hpp
156  shared_strings.hpp
157  sheet.hpp
158  sheet_range.hpp
159  styles.hpp
160  types.hpp
161  view.hpp
162  view_types.hpp
163 lib/
164  liborcus-%%VER%%.so
165  liborcus-parser-%%VER%%.so
166  liborcus-spreadsheet-model-%%VER%%.so
167 lib/pkgconfig/liborcus-%%VER%%.pc
168
169
170 [FILE:816:patches/patch-src_liborcus_CMakeLists.txt]
171 --- src/liborcus/CMakeLists.txt.orig    2020-09-03 23:49:30 UTC
172 +++ src/liborcus/CMakeLists.txt
173 @@ -91,14 +91,14 @@ add_library(orcus-${ORCUS_API_VERSION} S
174  # gnumeric filter
175  # TODO : document a way to build boost with bzip2 and zlib options, or find
176  # a way to make this a build-time option.
177 -#   gnumeric_detection_handler.cpp
178 -#   gnumeric_cell_context.cpp
179 -#   gnumeric_context.cpp
180 -#   gnumeric_handler.cpp
181 -#   gnumeric_helper.cpp
182 -#   gnumeric_sheet_context.cpp
183 -#   gnumeric_tokens.cpp
184 -#   orcus_gnumeric.cpp
185 +   gnumeric_detection_handler.cpp
186 +   gnumeric_cell_context.cpp
187 +   gnumeric_context.cpp
188 +   gnumeric_handler.cpp
189 +   gnumeric_helper.cpp
190 +   gnumeric_sheet_context.cpp
191 +   gnumeric_tokens.cpp
192 +   orcus_gnumeric.cpp
193  )
194  
195  configure_file(constants.inl.in ${CMAKE_CURRENT_BINARY_DIR}/constants.inl)
196