John Lindgren
February 09, 2023
A Makefile and several patch files should accompany this document.
Download and run the latest MSYS2 installer:
https://repo.msys2.org/distrib/x86_64/msys2-x86_64-<DATE>.exe
Accept the default options to install to C:\msys64.
Edit C:\msys64\home\<USER>\.bashrc and add the following lines:
export PATH="$PATH:/C/libs/bin:/C/aud/bin"
export PKG_CONFIG_PATH="$PKG_CONFIG_PATH:/C/libs/lib/pkgconfig:/C/aud/lib/pkgconfig"
export C_INCLUDE_PATH=/C/libs/include
export CPLUS_INCLUDE_PATH=/C/libs/include
export LIBRARY_PATH=/C/libs/lib
In the MinGW shell (MSYS2 MinGW 32-bit, not MSYS2 MSYS):
pacman -Syu
pacman -S autoconf automake git libtool make patch pkg-config
pacman -S mingw-w64-i686-gcc mingw-w64-i686-gettext mingw-w64-i686-libxml2
pacman -S mingw-w64-i686-atk mingw-w64-i686-cairo mingw-w64-i686-pango
pacman -S mingw-w64-i686-gdk-pixbuf2 mingw-w64-i686-librsvg mingw-w64-i686-qt5
pacman -S mingw-w64-i686-flac mingw-w64-i686-libvorbis mingw-w64-i686-libcdio-paranoia
pacman -S mingw-w64-i686-fluidsynth mingw-w64-i686-mpg123 mingw-w64-i686-faad2
pacman -S mingw-w64-i686-wavpack mingw-w64-i686-libmodplug mingw-w64-i686-libbs2b
pacman -S mingw-w64-i686-libsamplerate mingw-w64-i686-libsoxr mingw-w64-i686-neon
pacman -S mingw-w64-i686-libsidplayfp mingw-w64-i686-libopenmpt
pacman -S mingw-w64-i686-libcue mingw-w64-i686-lame mingw-w64-i686-opusfile
The Makefile accompanying this document automates the process of building GTK+ from source.
In the MinGW shell:
cd <PATH TO THIS DOCUMENT>
make -j$(nproc) gtk
It may be necessary to run the MinGW shell with administrative privileges for GTK+ to build successfully.
In the MinGW shell:
cd <PATH TO THIS DOCUMENT>
make -j$(nproc) ffmpeg
make -j$(nproc) libmms
make -j$(nproc) libbinio
make -j$(nproc) adplug
Download and unzip to C:\audacious:
https://distfiles.audacious-media-player.org/audacious-<VERSION>.tar.bz2
In the MinGW shell:
cd /C/audacious
./configure --prefix=/C/aud
make -j$(nproc)
make install
Download and unzip to C:\audacious-plugins:
https://distfiles.audacious-media-player.org/audacious-plugins-<VERSION>.tar.bz2
In the MinGW shell:
cd /C/audacious-plugins
./configure --prefix=/C/aud
make -j$(nproc)
make install