public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <rosset.filipe@gmail.com>
To: git-commits@fedoraproject.org
Subject: [rpms/rlottie] rawhide: update to latest upstream git commit
Date: Mon, 23 Nov 2026 23:40:40 GMT [thread overview]
Message-ID: <179547724047.1.9329260877788240256.rpms-rlottie-998ada88d441@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/rlottie
Branch : rawhide
Commit : 998ada88d4419b6c20a3b2f7024359270c1fed6f
Author : Filipe Rosset <rosset.filipe@gmail.com>
Date : 2026-11-23T23:32:13+00:00
Stats : +1039/-28 in 7 file(s)
URL : https://src.fedoraproject.org/rpms/rlottie/c/998ada88d4419b6c20a3b2f7024359270c1fed6f?branch=rawhide
Log:
update to latest upstream git commit
---
diff --git a/.gitignore b/.gitignore
index 2ced4ab..b9207a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
/rlottie-*.tar.gz
+/zip-*.tar.gz
diff --git a/0001-cmake-fix.patch b/0001-cmake-fix.patch
new file mode 100644
index 0000000..4009ec8
--- /dev/null
+++ b/0001-cmake-fix.patch
@@ -0,0 +1,923 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index bd2e432..133f410 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,31 +1,35 @@
+-cmake_minimum_required( VERSION 3.3 )
++cmake_minimum_required(VERSION 3.3)
+
+-#declare project
+-project( rlottie VERSION 0.2 LANGUAGES C CXX ASM)
++# declare project
++project(
++ rlottie
++ VERSION 0.2
++ LANGUAGES C CXX ASM)
+
+-if (NOT CMAKE_BUILD_TYPE)
+- set(CMAKE_BUILD_TYPE MinSizeRel)
++include(GNUInstallDirs)
++
++if(NOT CMAKE_BUILD_TYPE)
++ set(CMAKE_BUILD_TYPE MinSizeRel)
+ endif()
+
+-if (NOT DEFINED BUILD_SHARED_LIBS)
+- # Keep the previous behavior of the build system, consistent with Meson.
+- set(BUILD_SHARED_LIBS ON)
++if(NOT DEFINED BUILD_SHARED_LIBS)
++ # Keep the previous behavior of the build system, consistent with Meson.
++ set(BUILD_SHARED_LIBS ON)
+ endif()
+
+-#declare target
+-add_library( rlottie )
+-set_target_properties( rlottie PROPERTIES DEFINE_SYMBOL RLOTTIE_BUILD )
++# declare target
++add_library(rlottie)
++set_target_properties(rlottie PROPERTIES DEFINE_SYMBOL RLOTTIE_BUILD)
+
+-#declare version of the target
+-set(player_version_major 0)
+-set(player_version_minor 2)
+-set(player_version ${player_version_major}.${player_version_minor})
+-set_target_properties(rlottie PROPERTIES
+- VERSION ${player_version}
+- SOVERSION ${player_version_major}
+- )
++# declare version of the target
++set(PLAYER_VERSION_MAJOR 0)
++set(PLAYER_VERSION_MINOR 2)
++set(PLAYER_VERSION ${PLAYER_VERSION_MAJOR}.${PLAYER_VERSION_MINOR})
++set_target_properties(rlottie PROPERTIES VERSION ${PLAYER_VERSION}
++ SOVERSION ${PLAYER_VERSION_MAJOR})
+
+-#declare alias so that library can be used inside the build tree, e.g. when testing
++# declare alias so that library can be used inside the build tree, e.g. when
++# testing
+ add_library(rlottie::rlottie ALIAS rlottie)
+
+ option(LOTTIE_MODULE "Enable LOTTIE MODULE SUPPORT" ON)
+@@ -35,174 +39,149 @@ option(LOTTIE_TEST "Build LOTTIE AUTOTESTS" OFF)
+ option(LOTTIE_CCACHE "Enable LOTTIE ccache SUPPORT" OFF)
+ option(LOTTIE_ASAN "Compile with asan" OFF)
+
+-set(LOTTIE_MODULE_PATH "${CMAKE_SHARED_LIBRARY_PREFIX}rlottie-image-loader${CMAKE_SHARED_LIBRARY_SUFFIX}"
++set(LOTTIE_MODULE_PATH
++ "${CMAKE_SHARED_LIBRARY_PREFIX}rlottie-image-loader${CMAKE_SHARED_LIBRARY_SUFFIX}"
+ CACHE STRING "Absolute or relative path to dynamic loader plugin.")
+
+ configure_file(${CMAKE_CURRENT_LIST_DIR}/cmake/config.h.in config.h)
+
+-target_include_directories(rlottie
+- PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
+- PRIVATE
+- "${CMAKE_CURRENT_BINARY_DIR}"
+- )
++target_include_directories(
++ rlottie
++ PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/inc>
++ PRIVATE "${CMAKE_CURRENT_BINARY_DIR}")
+
+-#declare common target compilation options
++# declare common target compilation options
+ if(MSVC)
+- target_compile_options(rlottie
+- PUBLIC
+- PRIVATE
+- /std:c++14
+- /EHs-c- # disable exceptions
+- /GR- # disable RTTI
+- /W3
+- )
++ target_compile_options(
++ rlottie
++ PUBLIC
++ PRIVATE /std:c++14 /EHs-c- # disable exceptions
++ /GR- # disable RTTI
++ /W3)
+ else()
+- target_compile_options(rlottie
+- PUBLIC
+- PRIVATE
+- -std=c++14
+- -fno-exceptions
+- -fno-unwind-tables
+- -fno-asynchronous-unwind-tables
+- -fno-rtti
+- -Wall
+- -fvisibility=hidden
+- -Wnon-virtual-dtor
+- -Woverloaded-virtual
+- -Wno-unused-parameter
+- )
++ target_compile_options(
++ rlottie
++ PUBLIC
++ PRIVATE -std=c++14
++ -fno-exceptions
++ -fno-unwind-tables
++ -fno-asynchronous-unwind-tables
++ -fno-rtti
++ -Wall
++ -fvisibility=hidden
++ -Wnon-virtual-dtor
++ -Woverloaded-virtual
++ -Wno-unused-parameter)
+ endif()
+
+-if (WIN32 AND NOT BUILD_SHARED_LIBS)
+- target_compile_definitions(rlottie PUBLIC -DRLOTTIE_BUILD=0)
+- set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
+- set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
++if(WIN32 AND NOT BUILD_SHARED_LIBS)
++ target_compile_definitions(rlottie PUBLIC -DRLOTTIE_BUILD=0)
++ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
++ set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
+ endif()
+
+-#declare dependancy
+-set( CMAKE_THREAD_PREFER_PTHREAD TRUE )
+-find_package( Threads )
++# declare dependancy
++set(CMAKE_THREAD_PREFER_PTHREAD TRUE)
++find_package(Threads)
+
+ if(WIN32)
+- set( OSSPEC_LIBS Shlwapi.lib )
++ set(OSSPEC_LIBS Shlwapi.lib)
+ endif()
+
+-target_link_libraries(rlottie
+- PUBLIC
+- "${CMAKE_THREAD_LIBS_INIT}"
+- ${OSSPEC_LIBS}
+- )
+-
+-if (NOT APPLE AND NOT WIN32)
+- target_link_libraries(rlottie
+- PRIVATE
+- "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/rlottie.expmap"
+- )
+-endif()
++target_link_libraries(rlottie PUBLIC "${CMAKE_THREAD_LIBS_INIT}" ${OSSPEC_LIBS})
+
+-if (LOTTIE_MODULE)
+- # for dlopen, dlsym and dlclose dependancy
+- target_link_libraries(rlottie PRIVATE ${CMAKE_DL_LIBS})
++if(NOT APPLE AND NOT WIN32)
++ target_link_libraries(
++ rlottie
++ PRIVATE "-Wl,--version-script=${CMAKE_CURRENT_SOURCE_DIR}/rlottie.expmap")
+ endif()
+
+-if (NOT LOTTIE_ASAN)
+- if(APPLE)
+- target_link_libraries(rlottie
+- PUBLIC
+- "-Wl, -undefined error"
+- )
+- elseif(NOT MSVC)
+- target_link_libraries(rlottie
+- PUBLIC
+- "-Wl,--no-undefined"
+- )
+- endif()
++if(LOTTIE_MODULE)
++ # for dlopen, dlsym and dlclose dependancy
++ target_link_libraries(rlottie PRIVATE ${CMAKE_DL_LIBS})
+ endif()
+
+-if (LOTTIE_CCACHE)
+- find_program(CCACHE_FOUND ccache)
+- if (CCACHE_FOUND)
+- message(STATUS "Found ccache")
+- set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
+- set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
+- else()
+- message(STATUS "Could NOT find ccache (this is NOT an error)")
+- endif()
++if(NOT LOTTIE_ASAN)
++ if(APPLE)
++ target_link_libraries(rlottie PUBLIC "-Wl, -undefined error")
++ elseif(NOT MSVC)
++ target_link_libraries(rlottie PUBLIC "-Wl,--no-undefined")
++ endif()
+ endif()
+
+-if (LOTTIE_ASAN)
+- target_compile_options(rlottie PUBLIC -fsanitize=address)
+- target_link_options(rlottie PUBLIC -fsanitize=address)
++if(LOTTIE_CCACHE)
++ find_program(CCACHE_FOUND ccache)
++ if(CCACHE_FOUND)
++ message(STATUS "Found ccache")
++ set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
++ set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
++ else()
++ message(STATUS "Could NOT find ccache (this is NOT an error)")
++ endif()
+ endif()
+
+-if (NOT LIB_INSTALL_DIR)
+- set (LIB_INSTALL_DIR "/usr/lib")
+-endif (NOT LIB_INSTALL_DIR)
++if(LOTTIE_ASAN)
++ target_compile_options(rlottie PUBLIC -fsanitize=address)
++ target_link_options(rlottie PUBLIC -fsanitize=address)
++endif()
+
+-#declare source and include files
++# declare source and include files
+ add_subdirectory(inc)
+ add_subdirectory(src)
+ add_subdirectory(example)
+
+-if (LOTTIE_TEST)
+- enable_testing()
+- add_subdirectory(test)
+-endif()
+-
+-SET(PREFIX ${CMAKE_INSTALL_PREFIX})
+-SET(EXEC_DIR ${PREFIX})
+-SET(LIBDIR ${LIB_INSTALL_DIR})
+-SET(INCDIR ${PREFIX}/include)
+-
+-CONFIGURE_FILE(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc)
+-INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
++include(CTest)
+
++if(BUILD_TESTING)
++ add_subdirectory(test)
++endif()
+
+-#install header
+-install(FILES
+- inc/rlottie.h
+- inc/rlottie_capi.h
+- inc/rlottiecommon.h
+- DESTINATION include)
++configure_file(${PROJECT_NAME}.pc.in ${PROJECT_NAME}.pc)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.pc
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
+
+-#install lib
+-install( TARGETS rlottie EXPORT rlottie-targets
+- LIBRARY DESTINATION ${LIB_INSTALL_DIR}
+- ARCHIVE DESTINATION ${LIB_INSTALL_DIR}
+- INCLUDES DESTINATION include
+- )
++# install header
++install(FILES inc/rlottie.h inc/rlottie_capi.h inc/rlottiecommon.h
++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+-#install config file.
++# install lib
++install(
++ TARGETS rlottie
++ EXPORT rlottie-targets
++ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
++ INCLUDES
++ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR})
+
+-install( EXPORT rlottie-targets
+- FILE rlottieTargets.cmake
+- NAMESPACE rlottie::
+- DESTINATION ${LIB_INSTALL_DIR}/cmake/rlottie
+- )
++# install config file.
+
++install(
++ EXPORT rlottie-targets
++ FILE rlottieTargets.cmake
++ NAMESPACE rlottie::
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/rlottie)
+
+-#Create a ConfigVersion.cmake file
++# Create a ConfigVersion.cmake file
+ include(CMakePackageConfigHelpers)
+ write_basic_package_version_file(
+- ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfigVersion.cmake
+- VERSION ${PROJECT_VERSION}
+- COMPATIBILITY AnyNewerVersion
+-)
+-
+-configure_package_config_file(${CMAKE_CURRENT_LIST_DIR}/cmake/rlottieConfig.cmake.in
+- ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfig.cmake
+- INSTALL_DESTINATION ${LIB_INSTALL_DIR}/cmake/rlottie
+-)
+-
+-#Install the config, configversion and custom find modules
+-install(FILES
+- ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfig.cmake
+- ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfigVersion.cmake
+- DESTINATION ${LIB_INSTALL_DIR}/cmake/rlottie
+-)
+-
+-
+-export(EXPORT rlottie-targets FILE ${CMAKE_CURRENT_BINARY_DIR}/rlottieTargets.cmake NAMESPACE rlottie::)
+-
+-#Register package in user's package registry
++ ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfigVersion.cmake
++ VERSION ${PROJECT_VERSION}
++ COMPATIBILITY AnyNewerVersion)
++
++configure_package_config_file(
++ ${CMAKE_CURRENT_LIST_DIR}/cmake/rlottieConfig.cmake.in
++ ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfig.cmake
++ INSTALL_DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/rlottie)
++
++# Install the config, configversion and custom find modules
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfig.cmake
++ ${CMAKE_CURRENT_BINARY_DIR}/rlottieConfigVersion.cmake
++ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/rlottie)
++
++export(
++ EXPORT rlottie-targets
++ FILE ${CMAKE_CURRENT_BINARY_DIR}/rlottieTargets.cmake
++ NAMESPACE rlottie::)
++
++# Register package in user's package registry
+ export(PACKAGE rlottie)
+diff --git a/cmake-format.py b/cmake-format.py
+new file mode 100644
+index 0000000..3df985a
+--- /dev/null
++++ b/cmake-format.py
+@@ -0,0 +1,241 @@
++# ----------------------------------
++# Options affecting listfile parsing
++# ----------------------------------
++with section("parse"):
++
++ # Specify structure for custom cmake functions
++ additional_commands = { 'foo': { 'flags': ['BAR', 'BAZ'],
++ 'kwargs': {'DEPENDS': '*', 'HEADERS': '*', 'SOURCES': '*'}}}
++
++ # Override configurations per-command where available
++ override_spec = {}
++
++ # Specify variable tags.
++ vartags = []
++
++ # Specify property tags.
++ proptags = []
++
++# -----------------------------
++# Options affecting formatting.
++# -----------------------------
++with section("format"):
++
++ # Disable formatting entirely, making cmake-format a no-op
++ disable = False
++
++ # How wide to allow formatted cmake files
++ line_width = 80
++
++ # How many spaces to tab for indent
++ tab_size = 2
++
++ # If true, lines are indented using tab characters (utf-8 0x09) instead of
++ # <tab_size> space characters (utf-8 0x20). In cases where the layout would
++ # require a fractional tab character, the behavior of the fractional
++ # indentation is governed by <fractional_tab_policy>
++ use_tabchars = False
++
++ # If <use_tabchars> is True, then the value of this variable indicates how
++ # fractional indentions are handled during whitespace replacement. If set to
++ # 'use-space', fractional indentation is left as spaces (utf-8 0x20). If set
++ # to `round-up` fractional indentation is replaced with a single tab character
++ # (utf-8 0x09) effectively shifting the column to the next tabstop
++ fractional_tab_policy = 'use-space'
++
++ # If an argument group contains more than this many sub-groups (parg or kwarg
++ # groups) then force it to a vertical layout.
++ max_subgroups_hwrap = 2
++
++ # If a positional argument group contains more than this many arguments, then
++ # force it to a vertical layout.
++ max_pargs_hwrap = 6
++
++ # If a cmdline positional group consumes more than this many lines without
++ # nesting, then invalidate the layout (and nest)
++ max_rows_cmdline = 2
++
++ # If true, separate flow control names from their parentheses with a space
++ separate_ctrl_name_with_space = False
++
++ # If true, separate function names from parentheses with a space
++ separate_fn_name_with_space = False
++
++ # If a statement is wrapped to more than one line, than dangle the closing
++ # parenthesis on its own line.
++ dangle_parens = False
++
++ # If the trailing parenthesis must be 'dangled' on its on line, then align it
++ # to this reference: `prefix`: the start of the statement, `prefix-indent`:
++ # the start of the statement, plus one indentation level, `child`: align to
++ # the column of the arguments
++ dangle_align = 'prefix'
++
++ # If the statement spelling length (including space and parenthesis) is
++ # smaller than this amount, then force reject nested layouts.
++ min_prefix_chars = 4
++
++ # If the statement spelling length (including space and parenthesis) is larger
++ # than the tab width by more than this amount, then force reject un-nested
++ # layouts.
++ max_prefix_chars = 10
++
++ # If a candidate layout is wrapped horizontally but it exceeds this many
++ # lines, then reject the layout.
++ max_lines_hwrap = 2
++
++ # What style line endings to use in the output.
++ line_ending = 'unix'
++
++ # Format command names consistently as 'lower' or 'upper' case
++ command_case = 'canonical'
++
++ # Format keywords consistently as 'lower' or 'upper' case
++ keyword_case = 'unchanged'
++
++ # A list of command names which should always be wrapped
++ always_wrap = []
++
++ # If true, the argument lists which are known to be sortable will be sorted
++ # lexicographicall
++ enable_sort = True
++
++ # If true, the parsers may infer whether or not an argument list is sortable
++ # (without annotation).
++ autosort = False
++
++ # By default, if cmake-format cannot successfully fit everything into the
++ # desired linewidth it will apply the last, most agressive attempt that it
++ # made. If this flag is True, however, cmake-format will print error, exit
++ # with non-zero status code, and write-out nothing
++ require_valid_layout = False
++
++ # A dictionary mapping layout nodes to a list of wrap decisions. See the
++ # documentation for more information.
++ layout_passes = {}
++
++# ------------------------------------------------
++# Options affecting comment reflow and formatting.
++# ------------------------------------------------
++with section("markup"):
++
++ # What character to use for bulleted lists
++ bullet_char = '*'
++
++ # What character to use as punctuation after numerals in an enumerated list
++ enum_char = '.'
++
++ # If comment markup is enabled, don't reflow the first comment block in each
++ # listfile. Use this to preserve formatting of your copyright/license
++ # statements.
++ first_comment_is_literal = False
++
++ # If comment markup is enabled, don't reflow any comment block which matches
++ # this (regex) pattern. Default is `None` (disabled).
++ literal_comment_pattern = None
++
++ # Regular expression to match preformat fences in comments default=
++ # ``r'^\s*([`~]{3}[`~]*)(.*)$'``
++ fence_pattern = '^\\s*([`~]{3}[`~]*)(.*)$'
++
++ # Regular expression to match rulers in comments default=
++ # ``r'^\s*[^\w\s]{3}.*[^\w\s]{3}$'``
++ ruler_pattern = '^\\s*[^\\w\\s]{3}.*[^\\w\\s]{3}$'
++
++ # If a comment line matches starts with this pattern then it is explicitly a
++ # trailing comment for the preceeding argument. Default is '#<'
++ explicit_trailing_pattern = '#<'
++
++ # If a comment line starts with at least this many consecutive hash
++ # characters, then don't lstrip() them off. This allows for lazy hash rulers
++ # where the first hash char is not separated by space
++ hashruler_min_length = 10
++
++ # If true, then insert a space between the first hash char and remaining hash
++ # chars in a hash ruler, and normalize its length to fill the column
++ canonicalize_hashrulers = True
++
++ # enable comment markup parsing and reflow
++ enable_markup = True
++
++# ----------------------------
++# Options affecting the linter
++# ----------------------------
++with section("lint"):
++
++ # a list of lint codes to disable
++ disabled_codes = []
++
++ # regular expression pattern describing valid function names
++ function_pattern = '[0-9a-z_]+'
++
++ # regular expression pattern describing valid macro names
++ macro_pattern = '[0-9A-Z_]+'
++
++ # regular expression pattern describing valid names for variables with global
++ # (cache) scope
++ global_var_pattern = '[A-Z][0-9A-Z_]+'
++
++ # regular expression pattern describing valid names for variables with global
++ # scope (but internal semantic)
++ internal_var_pattern = '_[A-Z][0-9A-Z_]+'
++
++ # regular expression pattern describing valid names for variables with local
++ # scope
++ local_var_pattern = '[a-z][a-z0-9_]+'
++
++ # regular expression pattern describing valid names for privatedirectory
++ # variables
++ private_var_pattern = '_[0-9a-z_]+'
++
++ # regular expression pattern describing valid names for public directory
++ # variables
++ public_var_pattern = '[A-Z][0-9A-Z_]+'
++
++ # regular expression pattern describing valid names for function/macro
++ # arguments and loop variables.
++ argument_var_pattern = '[a-z][a-z0-9_]+'
++
++ # regular expression pattern describing valid names for keywords used in
++ # functions or macros
++ keyword_pattern = '[A-Z][0-9A-Z_]+'
++
++ # In the heuristic for C0201, how many conditionals to match within a loop in
++ # before considering the loop a parser.
++ max_conditionals_custom_parser = 2
++
++ # Require at least this many newlines between statements
++ min_statement_spacing = 1
++
++ # Require no more than this many newlines between statements
++ max_statement_spacing = 2
++ max_returns = 6
++ max_branches = 12
++ max_arguments = 5
++ max_localvars = 15
++ max_statements = 50
++
++# -------------------------------
++# Options affecting file encoding
++# -------------------------------
++with section("encode"):
++
++ # If true, emit the unicode byte-order mark (BOM) at the start of the file
++ emit_byteorder_mark = False
++
++ # Specify the encoding of the input file. Defaults to utf-8
++ input_encoding = 'utf-8'
++
++ # Specify the encoding of the output file. Defaults to utf-8. Note that cmake
++ # only claims to support utf-8 so be careful when using anything else
++ output_encoding = 'utf-8'
++
++# -------------------------------------
++# Miscellaneous configurations options.
++# -------------------------------------
++with section("misc"):
++
++ # A dictionary containing any per-command configuration overrides. Currently
++ # only `command_case` is supported.
++ per_command = {}
++
+diff --git a/cmake/rlottieConfig.cmake.in b/cmake/rlottieConfig.cmake.in
+index 730672a..9d5f4df 100644
+--- a/cmake/rlottieConfig.cmake.in
++++ b/cmake/rlottieConfig.cmake.in
+@@ -3,14 +3,15 @@ include(CMakeFindDependencyMacro)
+
+ list(APPEND CMAKE_MODULE_PATH ${rlottie_CMAKE_DIR})
+
+-# NOTE Had to use find_package because find_dependency does not support COMPONENTS or MODULE until 3.8.0
++# NOTE Had to use find_package because find_dependency does not support
++# COMPONENTS or MODULE until 3.8.0
+
+-#find_dependency(RapidJSON 1.0 REQUIRED MODULE)
+-#find_package(Boost 1.55 REQUIRED COMPONENTS regex)
++# find_dependency(RapidJSON 1.0 REQUIRED MODULE) find_package(Boost 1.55
++# REQUIRED COMPONENTS regex)
+ list(REMOVE_AT CMAKE_MODULE_PATH -1)
+
+ if(NOT TARGET rlottie::rlottie)
+- include("${rlottie_CMAKE_DIR}/rlottieTargets.cmake")
++ include("${rlottie_CMAKE_DIR}/rlottieTargets.cmake")
+ endif()
+
+ set(rlottie_LIBRARIES rlottie::rlottie)
+diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
+index aacdc7c..758dd5a 100644
+--- a/example/CMakeLists.txt
++++ b/example/CMakeLists.txt
+@@ -1,17 +1,12 @@
+ add_executable(lottie2gif "lottie2gif.cpp")
+
+ if(MSVC)
+- target_compile_options(lottie2gif
+- PRIVATE
+- /std:c++14)
++ target_compile_options(lottie2gif PRIVATE /std:c++14)
+ else()
+- target_compile_options(lottie2gif
+- PRIVATE
+- -std=c++14)
++ target_compile_options(lottie2gif PRIVATE -std=c++14)
+ endif()
+
+ target_link_libraries(lottie2gif rlottie)
+
+ target_include_directories(lottie2gif
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/../inc/")
++ PRIVATE "${CMAKE_CURRENT_LIST_DIR}/../inc/")
+diff --git a/inc/CMakeLists.txt b/inc/CMakeLists.txt
+index 9611443..34f3de1 100644
+--- a/inc/CMakeLists.txt
++++ b/inc/CMakeLists.txt
+@@ -1,4 +1 @@
+-target_include_directories(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}"
+- )
++target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 8bdefec..820cd19 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -1,4 +1,3 @@
+-
+ add_subdirectory(vector)
+
+ add_subdirectory(lottie)
+diff --git a/src/binding/c/CMakeLists.txt b/src/binding/c/CMakeLists.txt
+index 30a049a..37a9bb0 100644
+--- a/src/binding/c/CMakeLists.txt
++++ b/src/binding/c/CMakeLists.txt
+@@ -1,9 +1,4 @@
+ target_sources(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/lottieanimation_capi.cpp"
+- )
++ PRIVATE "${CMAKE_CURRENT_LIST_DIR}/lottieanimation_capi.cpp")
+
+-target_include_directories(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}"
+- )
++target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
+diff --git a/src/lottie/CMakeLists.txt b/src/lottie/CMakeLists.txt
+index a5895b0..ec07112 100644
+--- a/src/lottie/CMakeLists.txt
++++ b/src/lottie/CMakeLists.txt
+@@ -1,18 +1,14 @@
+ add_subdirectory(zip)
+
+-target_sources(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/lottieitem.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/lottieitem_capi.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/lottieloader.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/lottiemodel.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/lottieproxymodel.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/lottieparser.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/lottieanimation.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/lottiekeypath.cpp"
+- )
++target_sources(
++ rlottie
++ PRIVATE "${CMAKE_CURRENT_LIST_DIR}/lottieitem.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/lottieitem_capi.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/lottieloader.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/lottiemodel.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/lottieproxymodel.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/lottieparser.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/lottieanimation.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/lottiekeypath.cpp")
+
+-target_include_directories(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}"
+- )
++target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
+diff --git a/src/lottie/zip/CMakeLists.txt b/src/lottie/zip/CMakeLists.txt
+index 05ed8d0..27806d0 100644
+--- a/src/lottie/zip/CMakeLists.txt
++++ b/src/lottie/zip/CMakeLists.txt
+@@ -1,9 +1,3 @@
+-target_sources(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/zip.cpp"
+- )
++target_sources(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}/zip.cpp")
+
+-target_include_directories(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}"
+- )
++target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
+diff --git a/src/vector/CMakeLists.txt b/src/vector/CMakeLists.txt
+index 3ae96e6..a77218c 100644
+--- a/src/vector/CMakeLists.txt
++++ b/src/vector/CMakeLists.txt
+@@ -2,33 +2,28 @@ add_subdirectory(freetype)
+ add_subdirectory(pixman)
+ add_subdirectory(stb)
+
++target_sources(
++ rlottie
++ PRIVATE "${CMAKE_CURRENT_LIST_DIR}/vrect.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vdasher.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vbrush.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vbitmap.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vpainter.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper_common.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper_sse2.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper_neon.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vrle.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vpath.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vpathmesure.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vmatrix.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/velapsedtimer.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vdebug.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vinterpolator.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vbezier.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vraster.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vdrawable.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/vimageloader.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/varenaalloc.cpp")
+
+-target_sources(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/vrect.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vdasher.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vbrush.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vbitmap.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vpainter.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper_common.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper_sse2.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vdrawhelper_neon.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vrle.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vpath.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vpathmesure.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vmatrix.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/velapsedtimer.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vdebug.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vinterpolator.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vbezier.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vraster.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vdrawable.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/vimageloader.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/varenaalloc.cpp"
+- )
+-
+-target_include_directories(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}"
+- )
++target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
+diff --git a/src/vector/freetype/CMakeLists.txt b/src/vector/freetype/CMakeLists.txt
+index add0d42..d19b61b 100644
+--- a/src/vector/freetype/CMakeLists.txt
++++ b/src/vector/freetype/CMakeLists.txt
+@@ -1,11 +1,7 @@
+-target_sources(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/v_ft_math.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/v_ft_raster.cpp"
+- "${CMAKE_CURRENT_LIST_DIR}/v_ft_stroker.cpp"
+- )
++target_sources(
++ rlottie
++ PRIVATE "${CMAKE_CURRENT_LIST_DIR}/v_ft_math.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/v_ft_raster.cpp"
++ "${CMAKE_CURRENT_LIST_DIR}/v_ft_stroker.cpp")
+
+-target_include_directories(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}"
+- )
++target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
+diff --git a/src/vector/pixman/CMakeLists.txt b/src/vector/pixman/CMakeLists.txt
+index d904ca8..67341c6 100644
+--- a/src/vector/pixman/CMakeLists.txt
++++ b/src/vector/pixman/CMakeLists.txt
+@@ -1,13 +1,7 @@
++if("${ARCH}" STREQUAL "arm")
++ set(CMAKE_ASM_FLAGS "${CFLAGS} -x assembler-with-cpp")
++ target_sources(rlottie
++ PRIVATE "${CMAKE_CURRENT_LIST_DIR}/pixman-arm-neon-asm.S")
++endif("${ARCH}" STREQUAL "arm")
+
+-IF("${ARCH}" STREQUAL "arm")
+-SET(CMAKE_ASM_FLAGS "${CFLAGS} -x assembler-with-cpp")
+-target_sources(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/pixman-arm-neon-asm.S"
+- )
+-ENDIF("${ARCH}" STREQUAL "arm")
+-
+-target_include_directories(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}"
+- )
++target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
+diff --git a/src/vector/stb/CMakeLists.txt b/src/vector/stb/CMakeLists.txt
+index b668b43..5c764f7 100644
+--- a/src/vector/stb/CMakeLists.txt
++++ b/src/vector/stb/CMakeLists.txt
+@@ -1,31 +1,22 @@
+ if(LOTTIE_MODULE)
+- add_library(rlottie-image-loader SHARED
+- stb_image.cpp
+- )
+- if(NOT MSVC)
+- target_compile_options(rlottie-image-loader PRIVATE
+- -fvisibility=hidden
+- )
+- endif()
++ add_library(rlottie-image-loader SHARED stb_image.cpp)
++ if(NOT MSVC)
++ target_compile_options(rlottie-image-loader PRIVATE -fvisibility=hidden)
++ endif()
+
+- get_filename_component(LOTTIE_MODULE_FILENAME ${LOTTIE_MODULE_PATH} NAME)
+- get_filename_component(LOTTIE_MODULE_DIR ${LOTTIE_MODULE_PATH} DIRECTORY)
+- if (NOT LOTTIE_MODULE_DIR)
+- set(LOTTIE_MODULE_DIR ${LIB_INSTALL_DIR})
+- endif()
++ get_filename_component(LOTTIE_MODULE_FILENAME ${LOTTIE_MODULE_PATH} NAME)
++ get_filename_component(LOTTIE_MODULE_DIR ${LOTTIE_MODULE_PATH} DIRECTORY)
++ if(NOT LOTTIE_MODULE_DIR)
++ set(LOTTIE_MODULE_DIR ${LIB_INSTALL_DIR})
++ endif()
+
+- set_target_properties(rlottie-image-loader PROPERTIES
+- DEFINE_SYMBOL RLOTTIE_BUILD
+- PREFIX ""
+- SUFFIX ""
+- OUTPUT_NAME ${LOTTIE_MODULE_FILENAME}
+- )
+- install(TARGETS rlottie-image-loader
+- LIBRARY DESTINATION ${LOTTIE_MODULE_DIR}
+- )
++ set_target_properties(
++ rlottie-image-loader
++ PROPERTIES DEFINE_SYMBOL RLOTTIE_BUILD
++ PREFIX ""
++ SUFFIX ""
++ OUTPUT_NAME ${LOTTIE_MODULE_FILENAME})
++ install(TARGETS rlottie-image-loader LIBRARY DESTINATION ${LOTTIE_MODULE_DIR})
+ else()
+- target_sources(rlottie
+- PRIVATE
+- "${CMAKE_CURRENT_LIST_DIR}/stb_image.cpp"
+- )
++ target_sources(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}/stb_image.cpp")
+ endif()
+diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
+index dde264f..b5d61c0 100644
+--- a/test/CMakeLists.txt
++++ b/test/CMakeLists.txt
+@@ -4,18 +4,24 @@ find_package(GTest REQUIRED)
+ add_definitions(-DDEMO_DIR="${CMAKE_SOURCE_DIR}/example/resource/")
+ link_libraries(GTest::GTest GTest::Main)
+
+-add_executable(vectorTestSuite testsuite.cpp test_vrect.cpp test_vpath.cpp test_vbitmap.cpp
+- ${CMAKE_SOURCE_DIR}/src/vector/vbezier.cpp
+- ${CMAKE_SOURCE_DIR}/src/vector/vbitmap.cpp
+- ${CMAKE_SOURCE_DIR}/src/vector/vdebug.cpp
+- ${CMAKE_SOURCE_DIR}/src/vector/vmatrix.cpp
+- ${CMAKE_SOURCE_DIR}/src/vector/vpath.cpp)
+-target_include_directories(vectorTestSuite PRIVATE ${CMAKE_BINARY_DIR}
+- ${CMAKE_SOURCE_DIR}/src/vector ${CMAKE_SOURCE_DIR}/src/vector/pixman)
++add_executable(
++ vectorTestSuite
++ testsuite.cpp
++ test_vrect.cpp
++ test_vpath.cpp
++ test_vbitmap.cpp
++ ${CMAKE_SOURCE_DIR}/src/vector/vbezier.cpp
++ ${CMAKE_SOURCE_DIR}/src/vector/vbitmap.cpp
++ ${CMAKE_SOURCE_DIR}/src/vector/vdebug.cpp
++ ${CMAKE_SOURCE_DIR}/src/vector/vmatrix.cpp
++ ${CMAKE_SOURCE_DIR}/src/vector/vpath.cpp)
++target_include_directories(
++ vectorTestSuite PRIVATE ${CMAKE_BINARY_DIR} ${CMAKE_SOURCE_DIR}/src/vector
++ ${CMAKE_SOURCE_DIR}/src/vector/pixman)
+ gtest_add_tests(vectorTestSuite "" AUTO)
+
+-add_executable(animationTestSuite testsuite.cpp
+- test_lottieanimation.cpp test_lottieanimation_capi.cpp)
++add_executable(animationTestSuite testsuite.cpp test_lottieanimation.cpp
++ test_lottieanimation_capi.cpp)
+ target_include_directories(animationTestSuite PRIVATE ${CMAKE_SOURCE_DIR}/inc)
+ target_link_libraries(animationTestSuite PRIVATE rlottie)
+ gtest_add_tests(animationTestSuite "" AUTO)
diff --git a/0002-update-zip.patch b/0002-update-zip.patch
new file mode 100644
index 0000000..9042971
--- /dev/null
+++ b/0002-update-zip.patch
@@ -0,0 +1,10 @@
+-- /dev/null
+diff --git a/src/lottie/zip/CMakeLists.txt b/src/lottie/zip/CMakeLists.txt
+index 27806d0..1480a5e 100644
+--- a/src/lottie/zip/CMakeLists.txt
++++ b/src/lottie/zip/CMakeLists.txt
+@@ -1,3 +1,3 @@
+-target_sources(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}/zip.cpp")
++target_sources(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}/zip.c")
+
+ target_include_directories(rlottie PRIVATE "${CMAKE_CURRENT_LIST_DIR}")
diff --git a/0003-bump-cxx-standard.patch b/0003-bump-cxx-standard.patch
new file mode 100644
index 0000000..1fb54b1
--- /dev/null
+++ b/0003-bump-cxx-standard.patch
@@ -0,0 +1,29 @@
+Subject: [PATCH] cmake: bump C++ standard and minimum CMake version
+
+gtest 1.17 requires C++17. Upstream hardcodes -std=c++14 in
+target_compile_options.
+
+CMake 4.x removed compatibility with projects requiring CMake < 3.5,
+so bump the minimum version to 3.10.
+---
+ CMakeLists.txt | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.3)
++cmake_minimum_required(VERSION 3.10)
+
+ # declare project
+ project(
+@@ -62,7 +62,7 @@ else()
+ target_compile_options(
+ rlottie
+ PUBLIC
+- PRIVATE -std=c++14
++ PRIVATE -std=c++17
+ -fno-exceptions
+ -fno-unwind-tables
+ -fno-asynchronous-unwind-tables
diff --git a/0004-stb-image-no-pnm.patch b/0004-stb-image-no-pnm.patch
new file mode 100644
index 0000000..cb58429
--- /dev/null
+++ b/0004-stb-image-no-pnm.patch
@@ -0,0 +1,30 @@
+Subject: [PATCH] stb: do not disable PNM support
+
+STBI_ONLY_PNG implies STBI_NO_PNM. In stb_image >= 2.30,
+stbi__malloc_mad4() is only compiled when one of STBI_NO_LINEAR,
+STBI_NO_HDR or STBI_NO_PNM is unset, while stbi__convert_format16()
+(needed by PNG decoding) uses it unconditionally:
+
+ /usr/include/stb_image.h:1822:28: error:
+ 'stbi__malloc_mad4' was not declared in this scope
+
+Use explicit STBI_NO_* defines for the formats we do not want,
+leaving STBI_NO_PNM undefined so stbi__malloc_mad4() is compiled.
+---
+ src/vector/stb/stb_image.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/vector/stb/stb_image.cpp b/src/vector/stb/stb_image.cpp
+--- a/src/vector/stb/stb_image.cpp
++++ b/src/vector/stb/stb_image.cpp
+@@ -4,8 +4,8 @@
+ */
+ #define STB_IMAGE_IMPLEMENTATION
+
+-#define STBI_ONLY_JPEG
+-#define STBI_ONLY_PNG
++#define STBI_NO_BMP
++#define STBI_NO_TGA
+ #define STBI_NO_HDR
+ #define STBI_NO_LINEAR
+ #define STBI_NO_GIF
diff --git a/rlottie.spec b/rlottie.spec
index 8665580..c390b6f 100644
--- a/rlottie.spec
+++ b/rlottie.spec
@@ -1,24 +1,48 @@
Name: rlottie
+Epoch: 1
Version: 0.2
+
+%global forgeurl https://github.com/Samsung/%{name}
+%global commit ea06d2f29ba01b8d06c00a838d107f5e484ae59b
+
+%global forgeurl1 https://github.com/kuba--/zip
+%global tag1 v0.3.2
+
+%forgemeta -a
+
Release: %autorelease
# Main source: MIT
-# rapidjson (base) - MIT
-# rapidjson (msinttypes) - BSD-3-Clause
+# kuba--/zip - Unlicense
+# miniz - MIT AND Unlicense
# freetype rasterizer - FTL
-# vector (vinterpolator) - MPL-1.1
-License: MIT AND FTL AND BSD-3-Clause AND MPL-1.1
+# vinterpolator.cpp (modified from mozilla/gecko-dev/dom/smil/SMILKeySpline.cpp) - MPL-1.1
+# pixman arm neon routines - MIT
+License: MIT AND FTL AND BSD-3-Clause AND MPL-1.1 AND (MIT AND Unlicense)
Summary: Platform independent standalone library that plays Lottie Animation
-URL: https://github.com/Samsung/%{name}
-Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
-Patch0: %{name}-gcc11.patch
+URL: %{forgeurl}
+Source0: %{forgesource}
+Source1: %{forgesource1}
+# https://github.com/Samsung/rlottie/pull/553.patch
+# Use GNUInstallDirs
+Patch0: 0001-cmake-fix.patch
+Patch1: 0002-update-zip.patch
+# gtest 1.17 requires C++17; upstream hardcodes -std=c++14
+Patch2: 0003-bump-cxx-standard.patch
+# System stb_image >= 2.30 fails to compile with STBI_ONLY_PNG (upstream bug)
+Patch3: 0004-stb-image-no-pnm.patch
-BuildRequires: gtest-devel
+BuildRequires: gcc
BuildRequires: gcc-c++
-BuildRequires: meson
+
BuildRequires: cmake
-BuildRequires: gcc
+BuildRequires: cmake(GTest)
+BuildRequires: stb_image-static
+BuildRequires: rapidjson-static
+
+Provides: bundled(minizip) = 3.0.2
+Provides: bundled(kuba-zip) = %{tag1}
%description
rlottie is a platform independent standalone c++ library for rendering
@@ -38,31 +62,24 @@ Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release}
%description devel
-%{summary}.
+This package contains headers and development files for %{name}.
%prep
-%autosetup -p1
-sed -e "s/, 'optimization=s'//" -i meson.build
+%forgeautosetup -p1
+
+# Unbundle / upgrade deps
+rm -rfv src/vector/stb/stb_image.h src/lottie/zip/*.{h,cpp} src/lottie/rapidjson
+tar -xf %{SOURCE1} -C src/lottie/zip --strip-components=2 --wildcards "*/src/*"
%build
-# Upstream default C++ standard is c++14; gtest 1.17 requires C++17
-%meson \
- -Dcpp_std=c++17 \
- -Dwerror=false \
- -Dtest=true \
- -Dthread=true \
- -Dexample=false \
- -Dcache=false \
- -Dlog=false \
- -Dcmake=true \
- -Dmodule=false
-%meson_build
+%cmake -DBUILD_TESTING:BOOL=ON -DLOTTIE_MODULE:BOOL=OFF
+%cmake_build
%install
-%meson_install
+%cmake_install
%check
-%meson_test
+%ctest
%files
%doc AUTHORS README.md
diff --git a/sources b/sources
index 5602071..88425e7 100644
--- a/sources
+++ b/sources
@@ -1 +1,2 @@
-SHA512 (rlottie-0.2.tar.gz) = 1f645ae998ddbe83e4911addf28ec24ae3ff33f6439a9fb6c1e56986b46ac17dba155773ab02a59712e781febb31709a99075a3fbcda6136a0cb43dbd7c753de
+SHA512 (rlottie-ea06d2f29ba01b8d06c00a838d107f5e484ae59b.tar.gz) = 2e5a0ac3b84624a5316ddbeee34b001639790135a5fc8ef6ae23916de1ddb1c49bea957f9aca85166b4d02f1e4d61b689149c11704f9456868ee44e407dd6b2e
+SHA512 (zip-0.3.2.tar.gz) = 1ea3aedb61f1827d624f11fff46650a5076c07206b6e0b7abc24f9e4714ebdc2445a3203e1dc4b62595786a2b8b14e299b38d86caca698155226542f0926336b
reply other threads:[~2026-11-23 23:40 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179547724047.1.9329260877788240256.rpms-rlottie-998ada88d441@fedoraproject.org \
--to=rosset.filipe@gmail.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox