libraries/libqinfinity: Updated for version 20110501_5955f93.

Added a fix for glib>=2.31

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-19 20:00:52 +02:00 committed by Robby Workman
parent 0986dfc9e6
commit 5f3e8ace45
2 changed files with 10 additions and 6 deletions

View file

@ -1,9 +1,11 @@
#!/bin/sh
# Slackware build script for libqinfinity, bailey@akamai.com
# sources for this are packaged from
# https://gitorious.org/~pkern/libqinfinity/libinfinity-forward-port
PRGNAM=libqinfinity
VERSION=${VERSION:-1.0b5}
VERSION=${VERSION:-20110501_5955f93}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -40,7 +42,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
find . \
@ -49,6 +51,9 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Fix for glib>=2.31
sed -i "s|/gerror||" libqinfinity/request.h test/guibrowser.h
mkdir -p build
cd build
cmake \
@ -56,7 +61,6 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG

View file

@ -1,8 +1,8 @@
PRGNAM="libqinfinity"
VERSION="1.0b5"
VERSION="20110501_5955f93"
HOMEPAGE="http://kobby.greghaynes.net/"
DOWNLOAD="http://kobby.greghaynes.net/file-cabinet/libqinfinity-1.0b5.tar.gz"
MD5SUM="3e1d3c637d46bffecadadd9517d69a3c"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/libqinfinity-20110501_5955f93.tar.xz"
MD5SUM="1ff00847187829b7478a5034ec05c0fc"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libinfinity"