From f20f040c49f7329022c5e180d0cfc528917a8504 Mon Sep 17 00:00:00 2001 From: apichlkostner Date: Fri, 29 Apr 2016 07:40:31 +0200 Subject: [PATCH] calibre: add missing deps and calibre.desktop (#4093) --- srcpkgs/calibre/files/calibre.desktop | 12 ++++++++++++ srcpkgs/calibre/template | 13 +++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) create mode 100644 srcpkgs/calibre/files/calibre.desktop diff --git a/srcpkgs/calibre/files/calibre.desktop b/srcpkgs/calibre/files/calibre.desktop new file mode 100644 index 00000000000..e174fd6b840 --- /dev/null +++ b/srcpkgs/calibre/files/calibre.desktop @@ -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 diff --git a/srcpkgs/calibre/template b/srcpkgs/calibre/template index 9e404e8562f..068c7b64f4e 100644 --- a/srcpkgs/calibre/template +++ b/srcpkgs/calibre/template @@ -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 " @@ -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} }