Package Details: sacd-extract 0.3.9.3-1

Git Clone URL: https://aur.archlinux.org/sacd-extract.git (read-only, click to copy)
Package Base: sacd-extract
Description: Extract DSD files from an SACD image
Upstream URL: https://sacd-ripper.github.io/
Licenses: GPL2
Submitter: spider-mario
Maintainer: ToadKing
Last Packager: ToadKing
Votes: 22
Popularity: 0.82
First Submitted: 2014-02-26 09:53 (UTC)
Last Updated: 2024-07-10 23:38 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

spider-mario commented on 2025-05-08 17:12 (UTC) (edited on 2025-05-08 17:13 (UTC) by spider-mario)

The PKGBUILD itself only calls cmake on the CMakeLists.txt file from upstream, where the problem lies. That CMakeLists.txt probably needs at least a small patch to change the cmake_minimum_required(VERSION 2.6) to something like cmake_minimum_required(VERSION 2.6..4.0) (possibly more changes but maybe not).

Therefore, the change needed in the PKGBUILD would be to apply a patch like that to the CMakeLists.txt after extracting, either using a proper patch or possibly something more basic like sed if the change to the cmake_minimum_required line is enough.

https://wiki.archlinux.org/title/Creating_packages#prepare%28%29

HisDudeness commented on 2025-05-08 07:43 (UTC)

Trying to install the package, I get this error:

CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
  Compatibility with CMake < 3.5 has been removed from CMake.

  Update the VERSION argument <min> value.  Or, use the <min>...<max> syntax
  to tell CMake that the project requires at least <min> but has been updated
  to work with policies introduced by <max> or earlier.

  Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.

I opened the PKGBUILD to see if I could catch any reference to a specific older version of CMake, but I couldn't find any. I'm just too ignorant for this.