summaryrefslogtreecommitdiff
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
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>
-rw-r--r--libraries/libqinfinity/libqinfinity.SlackBuild10
-rw-r--r--libraries/libqinfinity/libqinfinity.info6
2 files changed, 10 insertions, 6 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
diff --git a/libraries/libqinfinity/libqinfinity.info b/libraries/libqinfinity/libqinfinity.info
index 78919d3483..033919e2a9 100644
--- a/libraries/libqinfinity/libqinfinity.info
+++ b/libraries/libqinfinity/libqinfinity.info
@@ -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"