aboutsummaryrefslogtreecommitdiff
path: root/libraries/libkvkontakte
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libkvkontakte')
-rw-r--r--libraries/libkvkontakte/README2
-rw-r--r--libraries/libkvkontakte/libkvkontakte.SlackBuild6
-rw-r--r--libraries/libkvkontakte/slack-desc2
3 files changed, 7 insertions, 3 deletions
diff --git a/libraries/libkvkontakte/README b/libraries/libkvkontakte/README
index 0ab0ce8ac941b..47a4c8067bf71 100644
--- a/libraries/libkvkontakte/README
+++ b/libraries/libkvkontakte/README
@@ -1 +1 @@
-KDE C++ library for asynchronous interaction with vkontakte.ru social network
+KDE C++ library for asynchronous interaction with VK social network
diff --git a/libraries/libkvkontakte/libkvkontakte.SlackBuild b/libraries/libkvkontakte/libkvkontakte.SlackBuild
index f020b86330b56..aaf60ad5b9c3b 100644
--- a/libraries/libkvkontakte/libkvkontakte.SlackBuild
+++ b/libraries/libkvkontakte/libkvkontakte.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=libkvkontakte
VERSION=${VERSION:-4.12.0}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -69,6 +69,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Patched to work with newer cmake in current
+sed -e "/^cmake_minimum_required/ a cmake_policy(SET CMP0022 OLD)\ncmake_policy(SET CMP0059 OLD)" -i CMakeLists.txt
+
mkdir -p build
cd build
cmake \
@@ -77,6 +80,7 @@ cd build
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
+ -DBUILD_TESTING=OFF \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/libraries/libkvkontakte/slack-desc b/libraries/libkvkontakte/slack-desc
index b80c32762d298..c14cc0a6a7d42 100644
--- a/libraries/libkvkontakte/slack-desc
+++ b/libraries/libkvkontakte/slack-desc
@@ -9,7 +9,7 @@
libkvkontakte: libkvkontakte (C++ Library)
libkvkontakte:
libkvkontakte: KDE C++ library for asynchronous interaction with
-libkvkontakte: vkontakte.ru social network
+libkvkontakte: VK social network
libkvkontakte:
libkvkontakte:
libkvkontakte: