Commit 8ffcf518c5c7c9fb9aceae42ad1beaa29c5c8f3c
1 parent
fd7f5034
Exists in
master
Adding metainfo file.
Showing
4 changed files
with
43 additions
and
1 deletions
Show diff stats
.gitignore
Makefile.in
| @@ -234,6 +234,11 @@ install-linux-lib: \ | @@ -234,6 +234,11 @@ install-linux-lib: \ | ||
| 234 | $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@ \ | 234 | $(LIBNAME)@DLLEXT@.@PACKAGE_MAJOR_VERSION@.@PACKAGE_MINOR_VERSION@ \ |
| 235 | $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ | 235 | $(DESTDIR)$(libdir)/$(LIBNAME)@DLLEXT@ |
| 236 | 236 | ||
| 237 | + @$(MKDIR) $(DESTDIR)$(datarootdir)/appdata | ||
| 238 | + @$(INSTALL_DATA) \ | ||
| 239 | + metainfo.xml \ | ||
| 240 | + $(DESTDIR)$(datarootdir)/appdata/$(PRODUCT_NAME)-hllapi.metainfo.xml | ||
| 241 | + | ||
| 237 | install-dev: | 242 | install-dev: |
| 238 | 243 | ||
| 239 | # Install devel | 244 | # Install devel |
configure.ac
| @@ -328,6 +328,7 @@ dnl --------------------------------------------------------------------------- | @@ -328,6 +328,7 @@ dnl --------------------------------------------------------------------------- | ||
| 328 | AC_CONFIG_FILES(Makefile) | 328 | AC_CONFIG_FILES(Makefile) |
| 329 | AC_CONFIG_FILES(locale/Makefile) | 329 | AC_CONFIG_FILES(locale/Makefile) |
| 330 | AC_CONFIG_FILES(sdk/hllapi.pc) | 330 | AC_CONFIG_FILES(sdk/hllapi.pc) |
| 331 | +AC_CONFIG_FILES(metainfo.xml) | ||
| 331 | 332 | ||
| 332 | dnl --------------------------------------------------------------------------- | 333 | dnl --------------------------------------------------------------------------- |
| 333 | dnl Output the generated config.status script. | 334 | dnl Output the generated config.status script. |
| @@ -0,0 +1,36 @@ | @@ -0,0 +1,36 @@ | ||
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | + | ||
| 3 | +<!-- | ||
| 4 | + | ||
| 5 | + References: | ||
| 6 | + | ||
| 7 | + https://www.freedesktop.org/software/appstream/docs/chap-Quickstart.html#sect-Quickstart-DesktopApps | ||
| 8 | + https://people.freedesktop.org/~hughsient/temp/AppData_WhitePaper.pdf | ||
| 9 | + https://docs.fedoraproject.org/en-US/packaging-guidelines/AppData/ | ||
| 10 | + | ||
| 11 | +--> | ||
| 12 | + | ||
| 13 | +<component type="addon"> | ||
| 14 | + | ||
| 15 | + <id>@PRODUCT_NAME@-hllapi</id> | ||
| 16 | + <extends>br.com.bb.@PRODUCT_NAME@.desktop</extends> | ||
| 17 | + | ||
| 18 | + <metadata_license>CC0-1.0</metadata_license> | ||
| 19 | + <project_license>LGPL-3.0</project_license> | ||
| 20 | + | ||
| 21 | + <name>@PRODUCT_NAME@-hllapi</name> | ||
| 22 | + <name xml:lang="pt_BR">@PRODUCT_NAME@-@PACKAGE_NAME@</name> | ||
| 23 | + | ||
| 24 | + <summary>HLLAPI module for @PRODUCT_NAME@</summary> | ||
| 25 | + <summary xml:lang="pt_BR">Módulo HLLAPI para @PRODUCT_NAME@</summary> | ||
| 26 | + | ||
| 27 | + <developer_name>Perry Werneck</developer_name> | ||
| 28 | + | ||
| 29 | + <url type="homepage">https://github.com/PerryWerneck/libhllapi.git</url> | ||
| 30 | + <url type="bugtracker">https://github.com/PerryWerneck/libhllapi/issues</url> | ||
| 31 | + | ||
| 32 | + <update_contact>perry.werneck@gmail.com</update_contact> | ||
| 33 | + | ||
| 34 | + <project_group>GNOME</project_group> | ||
| 35 | + | ||
| 36 | +</component> |