Package Details: libzrtpcpp 4.7.0-2

Git Clone URL: (read-only, click to copy)
Package Base: libzrtpcpp
Description: A C++ implementation of Phil Zimmermann's ZRTP specification
Upstream URL:
Keywords: SRTP
Licenses: GPL3
Submitter: jose1711
Maintainer: justicehunter
Last Packager: justicehunter
Votes: 7
Popularity: 0.46
First Submitted: 2017-02-10 05:45
Last Updated: 2020-08-20 12:47

Dependencies (2)

Required by (1)

Sources (2)

Latest Comments

1 2 Next › Last »

justicehunter commented on 2020-08-20 12:47

@svenihoney valid point. Thank you for taking your time to help, fixed.

svenihoney commented on 2020-08-19 10:17

If you are using cmake to build the packet, you should be aware that your package build fails if CMAKE_GENERATOR is set to something different than "Unix Makefiles", e.g. "Ninja".

To build your packet correctly in such a case, either add -G"Unix Makefiles" to the cmake call or let CMake handle the build correctly. A possible solution may be this:

diff --git a/PKGBUILD b/PKGBUILD
index 4554ee9..1744d96 100644
@@ -28,10 +28,9 @@ build() {
   cmake ../ZRTPCPP-${pkgver} \
-  make
+  cmake --build .

 package() {
-  cd build
-  make DESTDIR="${pkgdir}" install
+  cmake --install build --prefix "${pkgdir}"/usr

justicehunter commented on 2020-08-15 10:31

@jonathon thank you very much. Applied the diff and learned about patch. For bigger packages I find makeflags useful to speed them up, but for this one you may be right.Cheers!

jonathon commented on 2020-08-14 10:19

Here's a git diff that removes the implicit makedepend on git and puts type_fix.patch into the source array. It also removes the unnecessary make arguments:

diff --git a/PKGBUILD b/PKGBUILD
index e25e4d2..4554ee9 100644
@@ -12,12 +12,14 @@ url=''
+        type_fix.patch)
+        '6c599f893815aa550d5c3de41470e0b7f72b76dd259baa918b1269353b387ef8732a6b8c0fb0d014f4e6b68f07284dbf8e0388b51cc1ba17c875671076c8dc56')

 prepare() {
   sed 's/lib64/lib/g' -i ZRTPCPP-${pkgver}/CMakeLists.txt
-  git -C "${srcdir}/ZRTPCPP-${pkgver}" apply -v "${srcdir}/.."/*patch || git apply -v -p2 ../*.patch
+  patch -Np2 -i type_fix.patch

 build() {
@@ -26,7 +28,7 @@ build() {
   cmake ../ZRTPCPP-${pkgver} \
-  make ${MAKEFLAGS:--j1}
+  make

 package() {

SolarAquarion commented on 2020-08-11 01:43

git is a makedepend

justicehunter commented on 2020-08-09 13:28

@stas-t Thanks, updated a "temporary" solution, this should now work for you. I still have no idea why it worked on my machine...

stas-t commented on 2020-08-08 15:10

Using this git apply call did the trick for me:

git apply -v -p2 ../*.patch

justicehunter commented on 2020-08-08 08:28

@PaulStogov weirdly enough, the patches succeed in my testing. Any idea what might have caused it?

PaulStogov commented on 2020-08-07 17:28

==> Validating source files with md5sums... libzrtpcpp-4.7.0.tar.gz ... Passed ==> Extracting sources... -> Extracting libzrtpcpp-4.7.0.tar.gz with bsdtar ==> Starting prepare()... Checking patch src/ZRTPCPP-4.7.0/cryptcommon/ZrtpRandom.cpp... error: src/ZRTPCPP-4.7.0/cryptcommon/ZrtpRandom.cpp: No such file or directory Checking patch src/ZRTPCPP-4.7.0/cryptcommon/ZrtpRandom.h... error: src/ZRTPCPP-4.7.0/cryptcommon/ZrtpRandom.h: No such file or directory ==> ERROR: A failure occurred in prepare().

insatiable_kin commented on 2019-05-19 07:58

Does not build. after a list of ld "undefined reference" messages, build fails with the following error:

collect2: error: ld returned 1 exit status make[2]: [demo/CMakeFiles/zrtptestMulti.dir/build.make:85: demo/zrtptestMulti] Error 1 make[1]: [CMakeFiles/Makefile2:280: demo/CMakeFiles/zrtptestMulti.dir/all] Error 2