2 * Copyright (c) 2013, Novell Inc.
4 * This program is licensed under the BSD license, read LICENSE.BSD
5 * for further information
11 * parse AppStream appdata type xml and write out .solv file
17 #include <sys/types.h>
26 #include "repo_appdata.h"
27 #include "common_write.h"
30 main(int argc, char **argv)
32 Pool *pool = pool_create();
33 Repo *repo = repo_create(pool, "<stdin>");
34 if (repo_add_appdata(repo, stdin, 0))
36 fprintf(stderr, "appdata2solv: %s\n", pool_errstr(pool));
39 tool_write(repo, 0, 0);