mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-09 13:37:17 +08:00
Merge
This commit is contained in:
commit
c843beeab9
@ -1,5 +1,5 @@
|
||||
pkgname=calibre
|
||||
pkgver=3.32.0
|
||||
pkgver=3.33.1
|
||||
pkgrel=1
|
||||
pkgdesc="Ebook management application"
|
||||
arch=('x86_64')
|
||||
@ -14,24 +14,18 @@ depends=('python2-six' 'python2-dateutil' 'python2-cssutils' 'python2-dukpy'
|
||||
'qt5-svg' 'python2-regex' 'python2-pygments' 'mtdev' 'python2-unrardll'
|
||||
'desktop-file-utils' 'gtk-update-icon-cache' 'optipng' 'udisks2' 'python2-enum34')
|
||||
makedepends=('qt5-x11extras' 'sip' 'xdg-utils')
|
||||
checkdepends=('xorg-server-xvfb')
|
||||
optdepends=('ipython2: to use calibre-debug'
|
||||
'poppler: required for converting pdf to html'
|
||||
'kdialog: to use native dialog')
|
||||
source=("https://download.calibre-ebook.com/${pkgver}/calibre-${pkgver}.tar.xz"
|
||||
"https://calibre-ebook.com/signatures/${pkgname}-${pkgver}.tar.xz.sig"
|
||||
"https://github.com/kovidgoyal/calibre/commit/4d4ffcff7c247072c28d20822abed12e2539cdd2.patch")
|
||||
sha256sums=('57254b147d8f8caf16f774f090266e112281c19bf7bc4170e65d22ab9b58d8ac'
|
||||
'SKIP'
|
||||
'60bb12d242e83ba886615472abcf91e05560f1a97a22d04c806d3acdc27fff6c')
|
||||
"https://calibre-ebook.com/signatures/${pkgname}-${pkgver}.tar.xz.sig")
|
||||
sha256sums=('92bc940ac01e888058a5baa171dda8c75e9993dd419b58df3a11e3e55e3875ac'
|
||||
'SKIP')
|
||||
validpgpkeys=('3CE1780F78DD88DF45194FD706BC317B515ACE7C') # Kovid Goyal (New longer key) <kovid@kovidgoyal.net>
|
||||
|
||||
prepare(){
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
# https://bugs.launchpad.net/bugs/1794915
|
||||
patch -p1 -i ../4d4ffcff7c247072c28d20822abed12e2539cdd2.patch
|
||||
|
||||
# Remove unneeded files
|
||||
rm -rf resources/${pkgname}-portable.*
|
||||
|
||||
@ -51,15 +45,6 @@ build() {
|
||||
LANG='en_US.UTF-8' python2 setup.py gui
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
# without xvfb-run this fails with much "Control socket failed to recv(), resetting"
|
||||
# ERROR: test_websocket_perf (calibre.srv.tests.web_sockets.WebSocketTest)
|
||||
|
||||
LANG='en_US.UTF-8' xvfb-run python2 setup.py test
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${pkgname}-${pkgver}"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user