calibre: update to 3.36.0.

This commit is contained in:
bra1nwave 2018-12-30 17:18:33 +01:00 committed by Helmut Pozimski
parent 83010e6c96
commit b15062597d

View file

@ -1,11 +1,14 @@
# Template file for 'calibre'
pkgname=calibre
version=3.35.0
revision=2
version=3.36.0
revision=1
build_style=python2-module
pycompile_dirs="/usr/lib/calibre/"
make_build_args="gui"
hostmakedepends="qt5-qmake python-devel pkg-config
python-dateutil python-lxml python-Pillow python-msgpack
python-dateutil python-lxml python-Pillow python-msgpack python-enum34
python-PyQt5-webkit python-apsw python-cssutils python-CherryPy"
makedepends="python-PyQt5-devel glib-devel libwmf-devel python-enum34
makedepends="python-PyQt5-devel glib-devel libwmf-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 tslib-devel"
@ -17,14 +20,12 @@ depends="python-six python-dateutil python-cssutils python-CherryPy
python-regex python-html5-parser python-msgpack python-enum34
shared-mime-info desktop-file-utils gtk-update-icon-cache optipng"
short_desc="Ebook management application"
maintainer="Orphaned <orphan@voidlinux.eu>"
maintainer="bra1nwave <brainwave@openmailbox.org>"
license="GPL-3.0-only"
homepage="https://calibre-ebook.com"
distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz"
checksum=3f1cb12804de37ea0bbe4119b378ac60fac5e1f0b113d28cca0c3af2252fa1bd
checksum=68cd787db3eafc2907e2e62b6bf895836c880f6bc91686de1b6ace9dc4226e39
nocross=yes
pycompile_dirs="/usr/lib/calibre/"
do_configure() {
# Remove unneeded files and libs
@ -40,12 +41,10 @@ do_configure() {
-e "s/^Name=calibre/Name=Calibre/g" \
-i src/calibre/linux.py
}
do_build() {
python2 setup.py build gui
}
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}
install --prefix=/usr --staging-root=${DESTDIR}/usr
}