mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-12-28 22:16:00 +01:00
Add AppData file
Signed-off-by: Sebastian Ramacher <sebastian+dev@ramacher.at>
This commit is contained in:
parent
d24dac5d29
commit
50ea97468c
3 changed files with 42 additions and 1 deletions
9
Makefile
9
Makefile
|
@ -209,7 +209,12 @@ install-dbus:
|
||||||
$(QUIET)mkdir -m 755 -p $(DESTDIR)$(DBUSINTERFACEDIR)
|
$(QUIET)mkdir -m 755 -p $(DESTDIR)$(DBUSINTERFACEDIR)
|
||||||
$(QUIET)install -m 644 data/org.pwmt.zathura.xml $(DESTDIR)$(DBUSINTERFACEDIR)
|
$(QUIET)install -m 644 data/org.pwmt.zathura.xml $(DESTDIR)$(DBUSINTERFACEDIR)
|
||||||
|
|
||||||
install: all install-headers install-manpages install-dbus
|
install-appdata:
|
||||||
|
$(call colorecho,INSTALL,"AppData file")
|
||||||
|
$(QUIET)mkdir -m 755 -p $(DESTDIR)$(APPDATAPREFIX)
|
||||||
|
$(QUIET)install -m 644 data/$(PROJECT).appdata.xml $(DESTDIR)$(APPDATAPREFIX)
|
||||||
|
|
||||||
|
install: all install-headers install-manpages install-dbus install-appdata
|
||||||
$(call colorecho,INSTALL,"executeable file")
|
$(call colorecho,INSTALL,"executeable file")
|
||||||
$(QUIET)mkdir -m 755 -p ${DESTDIR}${PREFIX}/bin
|
$(QUIET)mkdir -m 755 -p ${DESTDIR}${PREFIX}/bin
|
||||||
$(QUIET)install -m 755 ${PROJECT} ${DESTDIR}${PREFIX}/bin
|
$(QUIET)install -m 755 ${PROJECT} ${DESTDIR}${PREFIX}/bin
|
||||||
|
@ -235,6 +240,8 @@ uninstall: uninstall-headers
|
||||||
$(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop
|
$(QUIET)rm -f ${DESTDIR}${DESKTOPPREFIX}/${PROJECT}.desktop
|
||||||
$(call colorecho,UNINSTALL,"D-Bus interface definitions")
|
$(call colorecho,UNINSTALL,"D-Bus interface definitions")
|
||||||
$(QUIET)rm -f $(DESTDIR)$(DBUSINTERFACEDIR)/org.pwmt.zathura.xml
|
$(QUIET)rm -f $(DESTDIR)$(DBUSINTERFACEDIR)/org.pwmt.zathura.xml
|
||||||
|
$(call colorecho,UNINSTALL,"AppData file")
|
||||||
|
$(QUIET)rm -f $(DESTDIR)$(APPDATAPREFIX)/$(PROJECT).appdata.xml
|
||||||
$(MAKE) -C po uninstall
|
$(MAKE) -C po uninstall
|
||||||
|
|
||||||
-include $(wildcard .depend/*.dep)
|
-include $(wildcard .depend/*.dep)
|
||||||
|
|
|
@ -45,6 +45,7 @@ WITH_MAGIC ?= 1
|
||||||
PREFIX ?= /usr
|
PREFIX ?= /usr
|
||||||
MANPREFIX ?= ${PREFIX}/share/man
|
MANPREFIX ?= ${PREFIX}/share/man
|
||||||
DESKTOPPREFIX ?= ${PREFIX}/share/applications
|
DESKTOPPREFIX ?= ${PREFIX}/share/applications
|
||||||
|
APPDATAPREFIX ?= ${PREFIX}/share/appdata
|
||||||
LIBDIR ?= ${PREFIX}/lib
|
LIBDIR ?= ${PREFIX}/lib
|
||||||
INCLUDEDIR ?= ${PREFIX}/include
|
INCLUDEDIR ?= ${PREFIX}/include
|
||||||
DBUSINTERFACEDIR ?= ${PREFIX}/share/dbus-1/interfaces
|
DBUSINTERFACEDIR ?= ${PREFIX}/share/dbus-1/interfaces
|
||||||
|
|
33
data/zathura.appdata.xml
Normal file
33
data/zathura.appdata.xml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!-- Copyright 2014 pwmt.org -->
|
||||||
|
|
||||||
|
<application>
|
||||||
|
<id type="desktop">zathura.desktop</id>
|
||||||
|
<metadata_license>CC0-1.0</metadata_license>
|
||||||
|
<project_license>Zlib</project_license>
|
||||||
|
<description>
|
||||||
|
<p>
|
||||||
|
zathura is a highly customizable and functional document viewer. It
|
||||||
|
provides a minimalistic and space saving interface as well as an easy
|
||||||
|
usage that mainly focuses on keyboard interaction. zathura makes it
|
||||||
|
possible to completely view and navigate through documents without using a
|
||||||
|
mouse.
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
Other features include:
|
||||||
|
<ul>
|
||||||
|
<li>SyncTeX forward and backward synchronization support.</li>
|
||||||
|
<li>Quickmarks and bookmarks.</li>
|
||||||
|
<li>Automatic document reloading.</li>
|
||||||
|
</ul>
|
||||||
|
</p>
|
||||||
|
</description>
|
||||||
|
<url type="homepage">http://pwmt.org/projects/zathura</url>
|
||||||
|
<screenshots>
|
||||||
|
<screenshot type="default">http://pwmt.org/projects/zathura/img/zathura-cover.png</screenshot>
|
||||||
|
<screenshot>http://pwmt.org/projects/zathura/img/zathura-completion.png</screenshot>
|
||||||
|
<screenshot>http://pwmt.org/projects/zathura/img/zathura-follow.png</screenshot>
|
||||||
|
<screenshot>http://pwmt.org/projects/zathura/img/zathura-bookmarks.png</screenshot>
|
||||||
|
</screenshots>
|
||||||
|
<updatecontact>zathura@lists.pwmt.org</updatecontact>
|
||||||
|
</application>
|
Loading…
Reference in a new issue