summaryrefslogtreecommitdiff
path: root/network/licq/licq.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/licq/licq.SlackBuild')
-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