1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
8 SDESC[standard]= File import library for spreadsheet documents
9 HOMEPAGE= https://gitlab.com/orcus/orcus
13 SITES[main]= GITLAB/orcus:orcus:0.16.1
14 DISTFILE[1]= generated:main
16 SPKGS[standard]= single
18 OPTIONS_AVAILABLE= none
19 OPTIONS_STANDARD= none
21 BUILD_DEPENDS= mdds:single:standard
23 BUILDRUN_DEPENDS= boost-libraries:rest:python_default
26 USES= pkgconfig zlib cmake python:build bz2:build
29 LICENSE_FILE= MPL:{{WRKSRC}}/LICENSE
32 FPC_EQUIVALENT= devel/liborcus
34 INSTALL_REQ_TOOLCHAIN= yes
38 LDFLAGS= -lboost_program_options
42 CMAKE_ARGS= -DMDDS_INCLUDEDIR:STRING="{{LOCALBASE}}/include/mdds-1.2"
43 -DIXION_INCLUDEDIR:STRING="{{LOCALBASE}}/include/ixion-0.16"
47 ${REINPLACE_CMD} -e 's|Zlib|ZLIB|' \
48 -e '/CMAKE_CXX_STANDARD/ s|11|14|' \
49 ${WRKSRC}/CMakeLists.txt
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
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.
70 6a3462ee570d04fad95873c99baf9d33236f61991bb916ef492fd14d1ec62289 8206018 orcus-orcus-0.16.1.tar.gz
73 [FILE:1741:manifests/plist.single]
86 include/orcus-%%VER%%/orcus/
104 json_document_tree.hpp
108 json_parser_thread.hpp
109 json_structure_tree.hpp
114 orcus_import_xlsx.hpp
127 sax_token_parser_thread.hpp
130 threaded_json_parser.hpp
131 threaded_sax_token_parser.hpp
135 xml_structure_tree.hpp
137 yaml_document_tree.hpp
141 zip_archive_stream.hpp
142 include/orcus-%%VER%%/orcus/detail/
143 parser_token_buffer.hpp
145 include/orcus-%%VER%%/orcus/mso/encryption_info.hpp
146 include/orcus-%%VER%%/orcus/spreadsheet/
153 import_interface_pivot.hpp
154 import_interface_view.hpp
165 liborcus-parser-%%VER%%.so
166 liborcus-spreadsheet-model-%%VER%%.so
167 lib/pkgconfig/liborcus-%%VER%%.pc
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
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
195 configure_file(constants.inl.in ${CMAKE_CURRENT_BINARY_DIR}/constants.inl)