mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-21 16:47:00 +02:00
calibre: update to 7.6.0.
This commit is contained in:
parent
37d5d04ed8
commit
7f427ab6c7
2 changed files with 5 additions and 16 deletions
srcpkgs/calibre
|
@ -1,5 +1,5 @@
|
|||
--- a/calibre/src/templite/__init__.py
|
||||
+++ b/calibre/src/templite/__init__.py
|
||||
--- a/src/templite/__init__.py
|
||||
+++ b/src/templite/__init__.py
|
||||
@@ -30,7 +30,7 @@ import sys, re
|
||||
from polyglot.builtins import unicode_type
|
||||
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
# Template file for 'calibre'
|
||||
pkgname=calibre
|
||||
version=7.3.0
|
||||
version=7.6.0
|
||||
revision=1
|
||||
build_wrksrc=calibre
|
||||
build_helper=python3
|
||||
pycompile_dirs="/usr/lib/calibre/"
|
||||
hostmakedepends="pkg-config cmake python3-BeautifulSoup4 python3-Pillow
|
||||
|
@ -33,19 +32,12 @@ maintainer="skmpz <dem.procopiou@gmail.com>"
|
|||
license="GPL-3.0-only"
|
||||
homepage="https://calibre-ebook.com"
|
||||
changelog="https://raw.githubusercontent.com/kovidgoyal/calibre/master/Changelog.txt"
|
||||
_lover=7.6.4.1
|
||||
distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz
|
||||
https://download.documentfoundation.org/libreoffice/src/${_lover%.*}/libreoffice-dictionaries-${_lover}.tar.xz"
|
||||
checksum="7c174b5d244930155f40e7eea8ea87ce01d2f1f5d8ab6c79275f35a4a661012a
|
||||
36c0526e4c12ab38dd1e1766cd878118dd5692578b80411b9b443e389e3712fa"
|
||||
distfiles="https://download.calibre-ebook.com/${version}/calibre-${version}.tar.xz"
|
||||
checksum="7c3da44f01faf76c7a366f7736b510be66dc5e25fd847069a38c2f52f06a2c03"
|
||||
python_version=3
|
||||
lib32disabled=yes
|
||||
nocross="python3 setup.py gui"
|
||||
|
||||
post_extract() {
|
||||
mv calibre-${version} calibre
|
||||
}
|
||||
|
||||
do_configure() {
|
||||
# Remove unneeded files and libs
|
||||
rm -rf resources/${pkgname}-portable.*
|
||||
|
@ -163,8 +155,6 @@ do_build() {
|
|||
python3 setup.py build
|
||||
python3 setup.py gui
|
||||
python3 setup.py kakasi
|
||||
python3 setup.py hyphenation \
|
||||
--path-to-hyphenation "$wrksrc/libreoffice-${_lover}/dictionaries"
|
||||
python3 setup.py liberation_fonts \
|
||||
--system-liberation_fonts \
|
||||
--path-to-liberation_fonts /usr/share/fonts/TTF/liberation
|
||||
|
@ -176,7 +166,6 @@ do_build() {
|
|||
# python3 setup.py rapydscript
|
||||
# python3 setup.py translations
|
||||
# python3 setup.py resources \
|
||||
# --path-to-hyphenation "$wrksrc/libreoffice-${_lover}/dictionaries" \
|
||||
# --system-liberation_fonts \
|
||||
# --path-to-liberation_fonts /usr/share/fonts/TTF/liberation \
|
||||
# --path-to-mathjax /usr/share/mathjax --system-mathjax
|
||||
|
|
Loading…
Add table
Reference in a new issue