summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryanpcmcquen@gmail.com>2014-05-31 06:31:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-05-31 14:41:26 +0700
commitc8e4cedb30d9ce056b1a4f1c7841bcb9fa89be07 (patch)
treef91e96f6c36ad11a63c7b9c0871b48274657f72a /network
parent3852c336a9635437a6f0a64fe4520e8c21295d06 (diff)
downloadslackbuilds-c8e4cedb30d9ce056b1a4f1c7841bcb9fa89be07.tar.gz
network/licq: Patched to allow qt4-gui plugin to be built.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/licq/licq.SlackBuild29
1 files changed, 18 insertions, 11 deletions
diff --git a/network/licq/licq.SlackBuild b/network/licq/licq.SlackBuild
index 854cb9ecd3..850bc587e5 100644
--- a/network/licq/licq.SlackBuild
+++ b/network/licq/licq.SlackBuild
@@ -9,7 +9,7 @@
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version, with the following exception:
-# the text of the GPL license may be omitted..
+# the text of the GPL license may be omitted.
# This program is distributed in the hope that it will be useful, but
# without any warranty; without even the implied warranty of
@@ -25,9 +25,9 @@
PRGNAM=licq
VERSION=${VERSION:-1.8.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
-PLUGINS=${PLUGINS:-"auto-reply aosd"}
+PLUGINS=${PLUGINS:-"aosd auto-reply forwarder msn rms qt4-gui icq"}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -73,17 +73,23 @@ find -L . \
mkdir -p build
cd build
- cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release ..
- make VERBOSE=1
- make install DESTDIR=$PKG
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DCMAKE_BUILD_TYPE=Release ..
+make VERBOSE=1
+make install DESTDIR=$PKG
cd ../plugins
+## upstream fix:
+## https://github.com/licq-im/licq/blob/master/qt4-gui/src/helpers/usercodec.h
+##
+sed -i "s/#include <QString>/#include <QString>\n\
+#include <QObject>/g" ./qt4-gui/src/helpers/usercodec.h
+
for PLUG in $PLUGINS
do
cd $PLUG
@@ -95,6 +101,7 @@ do
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_MODULE_PATH=$PKG/usr/share/licq/cmake \
+ -DWITH_KDE=ON \
..
make VERBOSE=1
make install DESTDIR=$PKG