diff options
author | Will Thompson <will@willthompson.co.uk> | 2017-07-26 11:49:02 +0100 |
---|---|---|
committer | Will Thompson <will@willthompson.co.uk> | 2017-07-26 11:52:24 +0100 |
commit | 975ec1fecbd3ec2ae345edc09fd63ad247ddb97b (patch) | |
tree | 1f3510cafaa35fceb09ce7c2de409c73ca8b1e66 /Makefile | |
parent | 4fd7e5acd80d94692e36d0781ab1ce170deb9bcc (diff) |
appdata: pass appstream-util validate-relax
As mentioned in the Makefile rule, full-on validate fails, because the
screenshots are the wrong size. I don't know what the right thing to do
is here: I want non-blurry screenshots on hidpi machines.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -37,6 +37,14 @@ org.freedesktop.Bustle.desktop: data/org.freedesktop.Bustle.desktop.in org.freedesktop.Bustle.appdata.xml: data/org.freedesktop.Bustle.appdata.xml.in LC_ALL=C intltool-merge -x -u po $< $@ +# https://github.com/flathub/flathub/wiki/Review-Guidelines +validate-metadata: org.freedesktop.Bustle.desktop org.freedesktop.Bustle.appdata.xml + desktop-file-validate org.freedesktop.Bustle.desktop + appstream-util validate-relax org.freedesktop.Bustle.appdata.xml + # This is only a SHOULD. Screenshots currently violate it because they + # are hidpi. + appstream-util validate org.freedesktop.Bustle.appdata.xml || true + dist/build/bustle-pcap: $(BUSTLE_PCAP_SOURCES) $(BUSTLE_PCAP_HEADERS) @mkdir -p dist/build $(CC) -Idist/build/autogen $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) \ |