Browse Source
office/calibre: Fix build against new Qt5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
pull/47/head
Willy Sudiarto Raharjo
7 years ago
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
1 changed files with
4 additions and
0 deletions
-
office/calibre/calibre.SlackBuild
|
|
|
@ -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 |
|
|
|
|