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
|
PRGNAM=qpdfview
|
||||||
VERSION=${VERSION:-0.4.15}
|
VERSION=${VERSION:-0.4.15}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-2}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -74,6 +74,9 @@ find -L . \
|
||||||
|
|
||||||
sed -i "s|/usr/lib/qpdfview|/usr/lib${LIBDIRSUFFIX}/qpdfview|" qpdfview.pri
|
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
|
#Configure qpdfview. Installation paths are correctly set in qpdfview.pri
|
||||||
qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro
|
qmake QMAKE_CFLAGS="$SLKCFLAGS" QMAKE_CXXFLAGS="$SLKCFLAGS" qpdfview.pro
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue