pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/audio/librespot



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sun Aug 17 12:39:32 UTC 2025

Modified Files:
        pkgsrc/audio/librespot: Makefile distinfo
Added Files:
        pkgsrc/audio/librespot/patches: patch-aa patch-ab

Log Message:
librespot: fix build with cmake 4


To generate a diff of this commit:
cvs rdiff -u -r1.38 -r1.39 pkgsrc/audio/librespot/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/audio/librespot/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/audio/librespot/patches/patch-aa \
    pkgsrc/audio/librespot/patches/patch-ab

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/librespot/Makefile
diff -u pkgsrc/audio/librespot/Makefile:1.38 pkgsrc/audio/librespot/Makefile:1.39
--- pkgsrc/audio/librespot/Makefile:1.38        Thu Apr 10 13:03:50 2025
+++ pkgsrc/audio/librespot/Makefile     Sun Aug 17 12:39:32 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2025/04/10 13:03:50 pin Exp $
+# $NetBSD: Makefile,v 1.39 2025/08/17 12:39:32 wiz Exp $
 
 DISTNAME=      librespot-0.6.0
 PKGREVISION=   5
@@ -14,7 +14,7 @@ LICENSE=      mit
 # See, https://github.com/briansmith/ring/issues/1999
 .include "../../mk/compiler/i386-sse2.mk"
 
-TOOL_DEPENDS+=  cmake-[0-9]*:../../devel/cmake
+TOOL_DEPENDS+= cmake-[0-9]*:../../devel/cmake
 TOOL_DEPENDS+= clang-[0-9]*:../../lang/clang
 
 .include "cargo-depends.mk"

Index: pkgsrc/audio/librespot/distinfo
diff -u pkgsrc/audio/librespot/distinfo:1.13 pkgsrc/audio/librespot/distinfo:1.14
--- pkgsrc/audio/librespot/distinfo:1.13        Wed Oct 30 21:22:22 2024
+++ pkgsrc/audio/librespot/distinfo     Sun Aug 17 12:39:32 2025
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2024/10/30 21:22:22 pin Exp $
+$NetBSD: distinfo,v 1.14 2025/08/17 12:39:32 wiz Exp $
 
 BLAKE2s (addr2line-0.24.2.crate) = 5bdb03ff8621c0993eda0ec3682c467ad3fc0015f48e46a70779bbd4bfbe8267
 SHA512 (addr2line-0.24.2.crate) = 39cbec3c920ffc0f37584afb55e1cfe4f182e4415319a4e9bfe842360f102f7b9315f6171c0cf71ba0337123903e604096cd573fe98698a26c8eebc2376d965b
@@ -1314,3 +1314,5 @@ Size (zvariant_derive-4.2.0.crate) = 110
 BLAKE2s (zvariant_utils-2.1.0.crate) = b142d63425365aedf109bafac551bf52a32897836b938d4835a415a0444db92c
 SHA512 (zvariant_utils-2.1.0.crate) = 345b70d1106b37df41426efdb1ba49bf270e00898381c2a8021b5761c59efdea55def45cb2e2598b130b6cba8733503f3997a55578bca90867ab3e8f2346f80e
 Size (zvariant_utils-2.1.0.crate) = 7043 bytes
+SHA1 (patch-aa) = 7becb7eb4d3c225c8d26fa46a072ad30c8eae08a
+SHA1 (patch-ab) = abb03c6c5513094dac6601655271b5425feb1280

Added files:

Index: pkgsrc/audio/librespot/patches/patch-aa
diff -u /dev/null pkgsrc/audio/librespot/patches/patch-aa:1.1
--- /dev/null   Sun Aug 17 12:39:32 2025
+++ pkgsrc/audio/librespot/patches/patch-aa     Sun Aug 17 12:39:32 2025
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1 2025/08/17 12:39:32 wiz Exp $
+
+cmake 4 compatibility.
+
+--- ../vendor/aws-lc-sys-0.22.0/CMakeLists.txt.orig    2025-08-17 12:28:33.167770659 +0000
++++ ../vendor/aws-lc-sys-0.22.0/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ # Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
+ # SPDX-License-Identifier: Apache-2.0 OR ISC
+ 
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ 
+ project(AWS_LC_RUST NONE)
+ enable_language(C)
Index: pkgsrc/audio/librespot/patches/patch-ab
diff -u /dev/null pkgsrc/audio/librespot/patches/patch-ab:1.1
--- /dev/null   Sun Aug 17 12:39:32 2025
+++ pkgsrc/audio/librespot/patches/patch-ab     Sun Aug 17 12:39:32 2025
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1 2025/08/17 12:39:32 wiz Exp $
+
+cmake 4 compatibility.
+
+--- ../vendor/aws-lc-sys-0.22.0/aws-lc/CMakeLists.txt.orig     2025-08-17 12:35:30.813908972 +0000
++++ ../vendor/aws-lc-sys-0.22.0/aws-lc/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ 
+ if(POLICY CMP0091)
+ cmake_policy(SET CMP0091 NEW)



Home | Main Index | Thread Index | Old Index