mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-24 10:02:29 +01:00
office/calibre: Fix build against new Qt5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
bb943e3a7e
commit
fdc0d336a7
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ patch -p1 < $CWD/patches/calibre-no-update.patch
|
|||
# Remove calibre portable scripts.
|
||||
rm -f resources/calibre-portable.*
|
||||
|
||||
PYTHONVER=$(python -V 2>&1 | cut -f 2 -d' ' | cut -f 1-2 -d.)
|
||||
export SIP_BIN=/usr/bin/python2-sip
|
||||
export SIP_INC_DIR="/usr/include/python$PYTHONVER/python2-sip"
|
||||
|
||||
OVERRIDE_CFLAGS="$SLKCFLAGS" \
|
||||
OVERRIDE_LDFLAGS="-L/usr/lib${LIBDIRSUFFIX}" \
|
||||
python setup.py build
|
||||
|
|
Loading…
Reference in a new issue