office/qpdfview: Add localization.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
6a21103e20
commit
39f28706d3
|
@ -25,7 +25,7 @@
|
|||
|
||||
PRGNAM=qpdfview
|
||||
VERSION=${VERSION:-0.4.15}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -74,6 +74,9 @@ find -L . \
|
|||
|
||||
sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri
|
||||
|
||||
# Add localizations
|
||||
lrelease qpdfview.pro
|
||||
|
||||
#Configure qpdfview. Installation paths are correctly set in qpdfview.pri
|
||||
qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro
|
||||
|
||||
|
|
Loading…
Reference in New Issue