calibre: update to 3.46.0.
This commit is contained in:
parent
d107bcebc8
commit
4f8c8052bb
1 changed files with 7 additions and 11 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'calibre'
|
||||
pkgname=calibre
|
||||
version=3.45.2
|
||||
revision=2
|
||||
version=3.46.0
|
||||
revision=1
|
||||
build_style=python2-module
|
||||
pycompile_dirs="/usr/lib/calibre/"
|
||||
make_build_args="gui"
|
||||
|
@ -11,7 +11,7 @@ hostmakedepends="pkg-config python-BeautifulSoup4 python-Pillow python-PyQt5-svg
|
|||
xdg-utils"
|
||||
makedepends="glib-devel libchmlib-devel libinput-devel libmagick-devel libmtp-devel
|
||||
libpodofo-devel libwmf-devel libxkbcommon-devel python-PyQt5-devel
|
||||
qt5-devel sqlite-devel tslib-devel"
|
||||
qt5-devel sqlite-devel tslib-devel qt5-webkit-devel"
|
||||
depends="desktop-file-utils optipng poppler-utils python-BeautifulSoup4
|
||||
python-CherryPy python-Markdown python-Pillow python-PyQt5-svg
|
||||
python-PyQt5-webkit python-Pygments python-apsw python-css-parser
|
||||
|
@ -23,22 +23,18 @@ 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=0528b4e19c87791cec756ee253bd39cd4e135e86833c9cf673000e5dce78e98c
|
||||
checksum=e947b9854f9db344ee07e5495feaad759c96936d89a128d3a3587c3503d09ab6
|
||||
nocross=yes
|
||||
|
||||
makedepends+=" qt5-webkit-devel"
|
||||
|
||||
do_configure() {
|
||||
# Remove unneeded files and libs
|
||||
rm -rf resources/${pkgname}-portable.* \
|
||||
src/cherrypy \
|
||||
src/chardet
|
||||
|
||||
# Desktop integration (e.g. enforce arch defaults)
|
||||
sed -e "/import config_dir/,/os.rmdir(config_dir)/d" \
|
||||
vsed -i src/calibre/linux.py \
|
||||
-e "/import config_dir/,/os.rmdir(config_dir)/d" \
|
||||
-e "s/'ctc-posml'/'text' not in mt and 'pdf' not in mt and 'xhtml'/" \
|
||||
-e "s/^Name=calibre/Name=Calibre/g" \
|
||||
-i src/calibre/linux.py
|
||||
-e "s/^Name=calibre/Name=Calibre/g"
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in a new issue