gis/gpsd: Don't build libQgpsmm.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
David Spencer 2014-04-14 16:28:12 +07:00 committed by Willy Sudiarto Raharjo
parent 0019550f6a
commit 055f16880a

View file

@ -24,7 +24,7 @@
PRGNAM=gpsd
VERSION=${VERSION:-3.10}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -91,6 +91,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# g++ may throw an 'internal compiler error' in QT bindings (libQgpsmm).
# *Nothing* actually uses libQgpsmm, but you can enable it by deleting
# 'libQgpsmm=no' below (and you may want to keep the manpage!)
CFLAGS=$SLKCFLAGS \
scons \
prefix=/usr \
@ -98,6 +101,7 @@ scons \
pkgconfigdir=/usr/lib${LIBDIRSUFFIX}/pkgconfig \
mandir=/usr/man \
chrpath=no \
libQgpsmm=no \
$ENABLELIST \
$DISABLELIST
@ -108,6 +112,8 @@ scons \
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $(find $PKG/usr/man -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Remove libQgpsmm manpage ;-)
rm $PKG/usr/man/man3/libQgpsmm.3.gz
install -D -m 0644 $CWD/xgps.desktop \
$PKG/usr/share/applications/xgps.desktop