diff --git a/branding/Makefile.in b/branding/Makefile.in index 6db933e..3f610cd 100644 --- a/branding/Makefile.in +++ b/branding/Makefile.in @@ -45,6 +45,7 @@ CONVERT=@CONVERT@ OPTIPNG=@OPTIPNG@ DESKTOP_INSTALL=@DESKTOP_INSTALL@ SCOUR=@SCOUR@ +APPSTREAMCLI=@APPSTREAMCLI@ #---[ Rules ]---------------------------------------------------------------------------- @@ -129,6 +130,13 @@ $(DESTDIR)$(datarootdir)/pixmaps/%.png: \ @$(MKDIR) `dirname $@` @$(INSTALL_DATA) $< $@ +validate: + +ifneq ($(SCOUR),no) + @$(APPSTREAMCLI) validate appdata.xml +endif + + install: \ install-@OSNAME@ diff --git a/branding/appdata.xml.in b/branding/appdata.xml.in index 9f95ead..1fc4cbd 100644 --- a/branding/appdata.xml.in +++ b/branding/appdata.xml.in @@ -1,6 +1,6 @@ - @PRODUCT_NAME@ + br.com.bb.pw3270 3270 Terminal Terminal 3270 IBM 3270 Terminal emulator @@ -15,7 +15,7 @@

- LGPL-3.0 + CC0-1.0 LGPL-3.0 https://github.com/PerryWerneck/pw3270/issues diff --git a/configure.ac b/configure.ac index d191fa9..cfec33e 100644 --- a/configure.ac +++ b/configure.ac @@ -142,6 +142,7 @@ AC_PATH_TOOL([MSGFMT], [msgfmt], [no]) AC_PATH_TOOL([VALGRIND], [valgrind], [no]) AC_PATH_TOOL([SCOUR], [scour], [no]) +AC_PATH_TOOL([APPSTREAMCLI],[appstreamcli], [no]) AC_PATH_TOOL([DESKTOP_INSTALL],[desktop-file-install],[no]) -- libgit2 0.21.2