aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authorRoger Krowiak <rogerkrowiak+slackbuilds@gmail.com>2023-02-06 02:39:13 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-02-11 09:30:32 +0700
commitaa7abe75be875bc2b78c84b4e736c4b0aeb654dc (patch)
tree38f1eed9acf4a0ceaa6c453b37a50af660ede42f /libraries
parent8c578ce7192d3a8c8340a6816802a8ae8022e609 (diff)
libraries/olm: Updated for version 3.2.14.
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/olm/olm.SlackBuild25
-rw-r--r--libraries/olm/olm.info6
2 files changed, 15 insertions, 16 deletions
diff --git a/libraries/olm/olm.SlackBuild b/libraries/olm/olm.SlackBuild
index dac6ba9dd6fc..4cf9ad442dbf 100644
--- a/libraries/olm/olm.SlackBuild
+++ b/libraries/olm/olm.SlackBuild
@@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=olm
-VERSION=${VERSION:-3.2.10}
+VERSION=${VERSION:-3.2.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,21 +80,20 @@ 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 {} \;
-cmake . \
- -Bbuild \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
- -DCMAKE_BUILD_TYPE=Release
-cmake --build build
-cd build/tests
-ctest .
-cd ..
+mkdir -p build
+cd build
+cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
+ -DCMAKE_FIND_USE_PACKAGE_ROOT_PATH=OFF \
+ -DCMAKE_BUILD_TYPE=Release ..
+make
+( cd tests ; ctest . )
make install DESTDIR=$PKG
cd ..
-# Strip binaries and libraries
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/olm/olm.info b/libraries/olm/olm.info
index 3803086bcce2..0c7b664c1c21 100644
--- a/libraries/olm/olm.info
+++ b/libraries/olm/olm.info
@@ -1,8 +1,8 @@
PRGNAM="olm"
-VERSION="3.2.10"
+VERSION="3.2.14"
HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm"
-DOWNLOAD="https://gitlab.matrix.org/matrix-org/olm/-/archive/3.2.10/olm-3.2.10.tar.bz2"
-MD5SUM="63e5d805c5688c468762c9e172f04b04"
+DOWNLOAD="https://gitlab.matrix.org/matrix-org/olm/-/archive/3.2.14/olm-3.2.14.tar.bz2"
+MD5SUM="a8060110bd1063ce1bcaae88bd9fda26"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""