From 5dcf1f585b94ccc492ac4d7ad085884771f40db3 Mon Sep 17 00:00:00 2001 From: stormdragon2976 Date: Thu, 9 Feb 2023 23:35:56 -0500 Subject: [PATCH] Added instructions for manually building lib32-chromaprint and lib32-ffmpeg. --- Arch-Linux.md | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/Arch-Linux.md b/Arch-Linux.md index 690d0f6..2d49d9e 100644 --- a/Arch-Linux.md +++ b/Arch-Linux.md @@ -48,7 +48,59 @@ here is a list of packages required for both audiogame-manager and games install - unrar - xclip -In addition, if you are on an x86_64 machine, you will need the following: +In addition, if you are on an x86_64 machine, you will need the following packages. but first, a note about lib32-ffmpeg and lib32-chromaprint. + + +## lib32-ffmpeg and lib32-chromaprint + +These packages both fail for some people. If that happens, some of the older games especially and some of the newer ones will not work or at the very least will not have sound. Since these are audio games, not having sound is pretty much synonymous with not working. + +To fix this problem, compile the packages by hand, with makepkg. First use yay -G to grab the PKGBUILDs. + + yay -G lib32-ffmpeg lib32-chromaprint + +Next, build lib32-chromaprint: + + cd lib32-chromaprint + +? + +Edit the PKGBUILD and change this line: + + -DBUILD_TESTS=ON + +So that it reads: + + -DBUILD_TESTS=OFF + +Delete the next line, it starts with -DGTEST_SOURCE_DIR. Also, delete the check() function. It is 6 lines long. After that, run makepkg: + + makepkg -si + +If it complains about missing packages, install them with yay and try makepkg again. + +Next, change to the lib32-ffmpeg directory: + + cd ../lib32-ffmpeg + +edit the PKGBUILD for lib32-ffmpeg. Find the line that reads: + + --enable-cuda-llvm + +and change it to: + + --disable-cuda-llvm + +Run makepkg: + + makepkg -si + +If it complains about missing packages, install them with yay and try makepkg again. + +Note that you can delete the lib32-chromaprint and lib32-ffmpeg directories after the packages have installed. If you are doing updates and see these packages available, you may need to update them manually following the instructions above. + + +## lib32 package requirements - lib32-sdl2 - lib32-ncurses