calibre: add missing deps and calibre.desktop (#4093)

This commit is contained in:
apichlkostner 2016-04-29 07:40:31 +02:00 committed by Juan RP
parent 637e27fed3
commit f20f040c49
2 changed files with 19 additions and 6 deletions

View file

@ -0,0 +1,12 @@
[Desktop Entry]
Encoding=UTF-8
Type=Application
Name=Calibre
Comment=E-book library management
Comment[de]=E-Book Bibliotheksverwaltung
Keywords=epub;mobi;ebook
Exec=calibre
Icon=/usr/share/calibre/content_server/calibre.png
Terminal=false
StartupNotify=false
Categories=Application;Office;Viewer

View file

@ -1,20 +1,20 @@
# Template file for 'calibre'
pkgname=calibre
version=2.55.0
revision=2
revision=3
build_style=python-module
hostmakedepends="python pkg-config python-dateutil python-lxml python-Pillow
python-PyQt5-webkit python-apsw python-cssutils"
makedepends="python-devel qt5-qmake python-PyQt5-devel glib-devel
fontconfig-devel libmagick-devel libressl-devel icu-devel sqlite-devel
libchmlib-devel libpodofo-devel qt5-devel libusb-devel libmtp-devel
libinput-devel libxkbcommon-devel"
libinput-devel libxkbcommon-devel tslib-devel"
depends="python-six python-dateutil python-cssutils python-CherryPy
python-mechanize podofo libwmf ImageMagick chmlib python-lxml libusb
python-Pillow shared-mime-info python-dnspython python-PyQt5 python-PyQt5-webkit
python-psutil icu libmtp python-dbus python-netifaces python-cssselect
python-apsw qt5-webkit qt5-svg python-chardet python-html5lib python-Pygments
mtdev desktop-file-utils gtk-update-icon-cache optipng"
python-Pillow shared-mime-info python-dnspython python-PyQt5 python-PyQt5-svg
python-PyQt5-webkit python-psutil icu libmtp python-dbus python-netifaces
python-cssselect python-apsw qt5-webkit qt5-svg python-chardet python-html5lib
python-Pygments mtdev desktop-file-utils gtk-update-icon-cache optipng"
short_desc="Ebook management application"
make_build_args="build gui"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
@ -56,6 +56,7 @@ pre_install() {
}
do_install() {
vinstall ${FILESDIR}/calibre.desktop 644 usr/share/applications
python${pyver} setup.py \
install --prefix=/usr --staging-root=${DESTDIR}/usr ${make_install_args}
}