Files
gtk/ottie/tools/meson.build
Benjamin Otte b55eb88f3c ottie: Add a command-line tool
Supports:

 * Taking a screenie:
   ottie image file.lottie image.png

 * Recording a rendernode:
   ottie node file.lottie render.node

 * Encoding an image:
   ottie video file.lottie video.webm
2020-12-22 07:45:37 +01:00

20 lines
393 B
Meson

# Installed tools
ottie_tools = [
['ottie', ['ottie.c']],
]
foreach tool: ottie_tools
tool_name = tool.get(0)
tool_srcs = tool.get(1)
exe = executable(tool_name,
sources: tool_srcs,
include_directories: [confinc],
c_args: common_cflags,
dependencies: [libgtk_dep],
install: true,
)
set_variable(tool_name.underscorify(), exe) # used in testsuites
endforeach