Package Details: faudio 25.04-1

Git Clone URL: https://aur.archlinux.org/faudio.git (read-only, click to copy)
Package Base: faudio
Description: XAudio2 reimplementation
Upstream URL: https://github.com/FNA-XNA/FAudio
Licenses: zlib
Submitter: gromit
Maintainer: DodoGTA
Last Packager: DodoGTA
Votes: 12
Popularity: 0.52
First Submitted: 2024-03-19 23:00 (UTC)
Last Updated: 2025-04-01 20:33 (UTC)

Latest Comments

littlesandra commented on 2025-03-30 18:26 (UTC)

@Ginko That worked. =) Thanks a lot =) @DodoGTA Thanks for offering to make a patch =)

DodoGTA commented on 2025-03-30 18:04 (UTC)

@littlesandra This should be fixed in the next FAudio upstream release (in this case 25.04): https://github.com/FNA-XNA/FAudio/pull/373

Otherwise I can make a quick workaround (but that will quickly become obsolete)

Ginko commented on 2025-03-30 18:03 (UTC)

That's because CMake recently dropped support for versions older than 3.5. FAudio already fixed it so it should work again with the 25.04 release.

If you need to install FAudio right now, you can modify the PKGBUILD by adding this line under line 18:

-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \

littlesandra commented on 2025-03-30 17:32 (UTC) (edited on 2025-03-30 17:34 (UTC) by littlesandra)

I get the below error. Is this the place to report it?

==> Making package: faudio 25.03-1 (Sun 30 Mar 2025 15:14:52 CEST)
==> Retrieving sources...
  -> Found faudio-25.03.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
    faudio-25.03.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: faudio
==> Making package: faudio 25.03-1 (Sun 30 Mar 2025 15:14:53 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found faudio-25.03.tar.gz
==> Validating source files with sha512sums...
    faudio-25.03.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting faudio-25.03.tar.gz with bsdtar
==> Sources are ready.
==> Making package: faudio 25.03-1 (Sun 30 Mar 2025 15:14:55 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
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.


-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: faudio-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
faudio - exit status 4

lyndog commented on 2025-02-03 09:17 (UTC)

As an FYI: SDL3 was added as a dependency to this recently (2025-02-03).

Looking at the upstream source, this looks like it is an optional dependency rather than a full dependency currently.

But according to release notes for 25.02 it will be the default in 25.03.

DodoGTA commented on 2024-05-11 08:13 (UTC)

@costor It looks like you have a manually installed version of SDL2 (you should try removing that version and using the sdl2 package instead)

costor commented on 2024-03-25 19:06 (UTC) (edited on 2024-03-25 19:07 (UTC) by costor)

Errors out with:

[100%] Linking C shared library libFAudio.so

/usr/bin/ld: /usr/local/lib/libSDL2.so: error adding symbols: file in wrong format

collect2: error: ld returned 1 exit status

make[2]: *** [CMakeFiles/FAudio.dir/build.make:386: libFAudio.so.0.24.03] Error 1

make[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/FAudio.dir/all] Error 2

make: *** [Makefile:136: all] Error 2