pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/ccrtp
Module Name: pkgsrc
Committed By: wiz
Date: Mon Aug 18 07:13:08 UTC 2025
Modified Files:
pkgsrc/net/ccrtp: Makefile distinfo
Added Files:
pkgsrc/net/ccrtp/patches: patch-src_CMakeLists.txt
Log Message:
ccrtp: fix build with cmake 4
Convert to cmake/build.mk
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/net/ccrtp/Makefile
cvs rdiff -u -r1.10 -r1.11 pkgsrc/net/ccrtp/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/ccrtp/patches/patch-src_CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/net/ccrtp/Makefile
diff -u pkgsrc/net/ccrtp/Makefile:1.32 pkgsrc/net/ccrtp/Makefile:1.33
--- pkgsrc/net/ccrtp/Makefile:1.32 Thu Apr 17 21:51:51 2025
+++ pkgsrc/net/ccrtp/Makefile Mon Aug 18 07:13:08 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2025/04/17 21:51:51 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2025/08/18 07:13:08 wiz Exp $
DISTNAME= ccrtp-2.1.2
PKGREVISION= 22
@@ -10,7 +10,6 @@ HOMEPAGE= https://www.gnu.org/software/c
COMMENT= RTP and RTSP protocol implementation using GNU CommonCpp
LICENSE= gnu-gpl-v2
-USE_CMAKE= yes
USE_LANGUAGES+= c c++
USE_PKGLOCALEDIR= yes
USE_TOOLS+= pkg-config
@@ -19,9 +18,11 @@ INFO_FILES= yes
CMAKE_CONFIGURE_ARGS+= -DLIB_VERSION=${PKGVERSION_NOREV}
CMAKE_CONFIGURE_ARGS+= -DSOVERSION=2
+CMAKE_CONFIGURE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
.include "options.mk"
+.include "../../devel/cmake/build.mk"
BUILDLINK_API_DEPENDS.ucommon+= ucommon>=6.3.1
.include "../../devel/ucommon/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
Index: pkgsrc/net/ccrtp/distinfo
diff -u pkgsrc/net/ccrtp/distinfo:1.10 pkgsrc/net/ccrtp/distinfo:1.11
--- pkgsrc/net/ccrtp/distinfo:1.10 Tue Oct 26 11:05:27 2021
+++ pkgsrc/net/ccrtp/distinfo Mon Aug 18 07:13:08 2025
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 11:05:27 nia Exp $
+$NetBSD: distinfo,v 1.11 2025/08/18 07:13:08 wiz Exp $
BLAKE2s (ccrtp-2.1.2.tar.gz) = 65090331988362953eaf2de85837dc16f4d1b83f4e74e1a505cc4d22f68e3bf3
SHA512 (ccrtp-2.1.2.tar.gz) = a835f57a0eef7cba11c55c93ce2f11ebd8ab4099e7c723043c51e4872f3da87af946fc50fac18b47ea5d72b2a1227b377810e9134c1f3a8982d4ce5944d043e9
Size (ccrtp-2.1.2.tar.gz) = 764869 bytes
SHA1 (patch-doc_CMakeLists.txt) = e9cfcfc618dc6bc16da5d3bff61774c57febaff6
+SHA1 (patch-src_CMakeLists.txt) = 3cabe1bb78c20a8c5107db0287746582e7ba251c
SHA1 (patch-src_ccrtp_crypto_gcrypt_InitializeGcrypt.cpp) = 407f3a7f6536028a1b727a826183133dfe3ce4d6
SHA1 (patch-src_ccrtp_crypto_openssl_hmac.cpp) = eb0372a01628cecb638a00278686054633d396dd
Added files:
Index: pkgsrc/net/ccrtp/patches/patch-src_CMakeLists.txt
diff -u /dev/null pkgsrc/net/ccrtp/patches/patch-src_CMakeLists.txt:1.1
--- /dev/null Mon Aug 18 07:13:08 2025
+++ pkgsrc/net/ccrtp/patches/patch-src_CMakeLists.txt Mon Aug 18 07:13:08 2025
@@ -0,0 +1,14 @@
+$NetBSD: patch-src_CMakeLists.txt,v 1.1 2025/08/18 07:13:08 wiz Exp $
+
+Fix build with cmake 4.
+
+--- src/CMakeLists.txt.orig 2025-08-18 07:10:33.458820938 +0000
++++ src/CMakeLists.txt
+@@ -62,7 +62,6 @@ endif()
+ add_library(ccrtp ${BUILD_LIBRARY_TYPE} ${ccrtp_srcs} ${crypto_srcs} ${skein_srcs} ${twofish_srcs})
+ set_target_properties(ccrtp PROPERTIES VERSION ${LIB_VERSION} SOVERSION ${SOVERSION})
+ target_link_libraries(ccrtp commoncpp ${LIBS})
+-add_dependencies(ccrtp commoncpp)
+
+ ########### install files ###############
+
Home |
Main Index |
Thread Index |
Old Index