1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= File import library for spreadsheet documents
8 HOMEPAGE= https://gitlab.com/orcus/orcus
12 SITES[main]= GITLAB/orcus:orcus:0.15.4
13 DISTFILE[1]= generated:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 BUILD_DEPENDS= mdds:single:standard
23 BUILDRUN_DEPENDS= boost-libraries:rest:python_default
26 USES= pkgconfig zlib cmake python: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.15"
47 ${REINPLACE_CMD} -e 's|Zlib|ZLIB|' ${WRKSRC}/CMakeLists.txt
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
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.
69 5521c7edd3b9d151012e35ab314e0be980acdd83c020c64a23c39ef2f934cb49 8156137 orcus-orcus-0.15.4.tar.gz
72 [FILE:1734:manifests/plist.single]
85 include/orcus-%%VER%%/orcus/
103 json_document_tree.hpp
107 json_parser_thread.hpp
108 json_structure_tree.hpp
113 orcus_import_xlsx.hpp
126 sax_token_parser_thread.hpp
129 threaded_json_parser.hpp
130 threaded_sax_token_parser.hpp
134 xml_structure_tree.hpp
135 yaml_document_tree.hpp
139 zip_archive_stream.hpp
140 include/orcus-%%VER%%/orcus/detail/
141 parser_token_buffer.hpp
143 include/orcus-%%VER%%/orcus/mso/encryption_info.hpp
144 include/orcus-%%VER%%/orcus/spreadsheet/
151 import_interface_pivot.hpp
152 import_interface_view.hpp
162 libliborcus-%%VER%%.so
163 libliborcus-parser-%%VER%%.so
164 libliborcus-spreadsheet-model-%%VER%%.so
165 lib/pkgconfig/liborcus-%%VER%%.pc
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
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
193 configure_file(constants.inl.in ${CMAKE_CURRENT_BINARY_DIR}/constants.inl)