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