calibre: calibre.desktop extended with MimeType, calibre-viewer.desktop added (#4102)
This commit is contained in:
parent
1e947313a1
commit
a6140e7f74
|
@ -0,0 +1,13 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Application
|
||||
Name=Calibre-viewer
|
||||
GenericName=E-book viewer
|
||||
Comment=E-book viewer
|
||||
TryExec=ebook-viewer
|
||||
Exec=ebook-viewer
|
||||
Icon=/usr/share/calibre/images/viewer.png
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Application;Office;Viewer
|
||||
MimeType=application/x-sony-bbeb;application/epub+zip;text/lrs;application/x-mobipocket-ebook;application/x-topaz-ebook;application/x-kindle-application;application/x-mobipocket-subscription;application/x-mobipocket-subscription-magazine;application/x-mobi8-ebook
|
|
@ -4,9 +4,10 @@ Type=Application
|
|||
Name=Calibre
|
||||
Comment=E-book library management
|
||||
Comment[de]=E-Book Bibliotheksverwaltung
|
||||
Keywords=epub;mobi;ebook
|
||||
TryExec=calibre
|
||||
Exec=calibre
|
||||
Icon=/usr/share/calibre/content_server/calibre.png
|
||||
Icon=/usr/share/calibre/images/library.png
|
||||
Terminal=false
|
||||
StartupNotify=false
|
||||
Categories=Application;Office;Viewer
|
||||
MimeType=application/x-sony-bbeb;application/epub+zip;text/lrs;application/x-mobipocket-ebook;application/x-topaz-ebook;application/x-kindle-application;application/x-mobipocket-subscription;application/x-mobipocket-subscription-magazine;application/x-mobi8-ebook
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'calibre'
|
||||
pkgname=calibre
|
||||
version=2.56.0
|
||||
revision=2
|
||||
revision=3
|
||||
hostmakedepends="qt5-qmake python-devel pkg-config
|
||||
python-dateutil python-lxml python-Pillow
|
||||
python-PyQt5-webkit python-apsw python-cssutils python-CherryPy
|
||||
|
@ -47,6 +47,7 @@ do_build() {
|
|||
}
|
||||
do_install() {
|
||||
vinstall ${FILESDIR}/calibre.desktop 644 usr/share/applications
|
||||
vinstall ${FILESDIR}/calibre-viewer.desktop 644 usr/share/applications
|
||||
python2 setup.py \
|
||||
install --prefix=/usr --staging-root=${DESTDIR}/usr ${make_install_args}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue