summaryrefslogtreecommitdiff
path: root/libraries/libqinfinity/libqinfinity.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-19 20:00:52 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-19 20:30:00 -0500
commit5f3e8ace45b6b690f8a78f020953fdacb1d62ddc (patch)
tree2418461d5a1932021306abe987373db17e3447db /libraries/libqinfinity/libqinfinity.SlackBuild
parent0986dfc9e694ac0b6ba2680684cf270267606da4 (diff)
downloadslackbuilds-5f3e8ace45b6b690f8a78f020953fdacb1d62ddc.tar.gz
libraries/libqinfinity: Updated for version 20110501_5955f93.
Added a fix for glib>=2.31 Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'libraries/libqinfinity/libqinfinity.SlackBuild')
-rw-r--r--libraries/libqinfinity/libqinfinity.SlackBuild10
1 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libqinfinity/libqinfinity.SlackBuild b/libraries/libqinfinity/libqinfinity.SlackBuild
index 4c6c3335b9..5a4e61374c 100644
--- a/libraries/libqinfinity/libqinfinity.SlackBuild
+++ b/libraries/libqinfinity/libqinfinity.SlackBuild
@@ -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