Skip to content

Commit d9d14f2

Browse files
committed
Update/fix up win32 build support files
1 parent 6ef6cb7 commit d9d14f2

3 files changed

Lines changed: 19 additions & 24 deletions

File tree

win32/Makefile

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,13 @@ gtk: gtk+-2.24.33.tar.xz
1010
cd gtk+-2.24.33 && CFLAGS="-O2 -fcommon -Wno-error=implicit-int -Wno-error=incompatible-pointer-types" ./configure --prefix=$(LIB_PREFIX)
1111
cd gtk+-2.24.33 && $(MAKE) && $(MAKE) install
1212

13-
ffmpeg-7.1.1.tar.xz:
14-
wget https://ffmpeg.org/releases/ffmpeg-7.1.1.tar.xz
13+
ffmpeg-8.1.1.tar.xz:
14+
wget https://ffmpeg.org/releases/ffmpeg-8.1.1.tar.xz
1515

16-
ffmpeg: ffmpeg-7.1.1.tar.xz
17-
tar xf ffmpeg-7.1.1.tar.xz
18-
cd ffmpeg-7.1.1 && ./configure --prefix=$(LIB_PREFIX) --enable-shared --cpu=x86-64 --disable-vulkan --disable-x86asm
19-
cd ffmpeg-7.1.1 && $(MAKE) && $(MAKE) install
16+
ffmpeg: ffmpeg-8.1.1.tar.xz
17+
tar xf ffmpeg-8.1.1.tar.xz
18+
cd ffmpeg-8.1.1 && ./configure --prefix=$(LIB_PREFIX) --enable-shared --cpu=x86-64 --disable-vulkan --disable-x86asm
19+
cd ffmpeg-8.1.1 && $(MAKE) && $(MAKE) install
2020

2121
libmms-0.6.4.tar.gz:
2222
wget https://sourceforge.net/projects/libmms/files/libmms/0.6.4/libmms-0.6.4.tar.gz
@@ -44,11 +44,3 @@ adplug: adplug-2.4.tar.bz2
4444
tar xf adplug-2.4.tar.bz2
4545
cd adplug-2.4 && ./configure --prefix=$(LIB_PREFIX) --disable-shared
4646
cd adplug-2.4 && $(MAKE) && $(MAKE) install
47-
48-
libsidplayfp-2.15.0.tar.gz:
49-
wget https://github.com/libsidplayfp/libsidplayfp/releases/download/v2.15.0/libsidplayfp-2.15.0.tar.gz
50-
51-
libsidplayfp: libsidplayfp-2.15.0.tar.gz
52-
tar xf libsidplayfp-2.15.0.tar.gz
53-
cd libsidplayfp-2.15.0 && ./configure --prefix=$(LIB_PREFIX)
54-
cd libsidplayfp-2.15.0 && $(MAKE) && $(MAKE) install

win32/merge.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,12 @@
22

33
# Quick-and-dirty script for updating a Windows release folder
44

5+
set -e
56
srcdir=$(dirname "$(readlink -f "$0")")
67

8+
# this script was written for in-tree build (pre-meson)
9+
cp -a ${srcdir}/../build/win32/* ${srcdir}/
10+
711
rm -rf /C/aud-win32/bin/share
812
rm -rf /C/aud-win32/share/locale
913

win32/notes.html

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ <h3>Set up MSYS2 environment</h3>
3131
<p>In the MinGW shell (MSYS2 UCRT64, <b>not</b> MSYS2 MSYS):</p>
3232

3333
<blockquote><p><tt>pacman -Syu<br>
34-
pacman -S autoconf automake git libtool make patch pkg-config<br>
34+
pacman -S autoconf automake git libtool make patch pkg-config mingw-w64-ucrt-x86_64-meson<br>
3535
pacman -S mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-gettext mingw-w64-ucrt-x86_64-libxml2<br>
3636
pacman -S mingw-w64-ucrt-x86_64-atk mingw-w64-ucrt-x86_64-cairo mingw-w64-ucrt-x86_64-pango<br>
3737
pacman -S mingw-w64-ucrt-x86_64-gdk-pixbuf2 mingw-w64-ucrt-x86_64-librsvg mingw-w64-ucrt-x86_64-qt6-base<br>
@@ -41,7 +41,7 @@ <h3>Set up MSYS2 environment</h3>
4141
pacman -S mingw-w64-ucrt-x86_64-wavpack mingw-w64-ucrt-x86_64-libmodplug mingw-w64-ucrt-x86_64-libbs2b<br>
4242
pacman -S mingw-w64-ucrt-x86_64-libsamplerate mingw-w64-ucrt-x86_64-libsoxr mingw-w64-ucrt-x86_64-neon<br>
4343
pacman -S mingw-w64-ucrt-x86_64-libcue mingw-w64-ucrt-x86_64-lame mingw-w64-ucrt-x86_64-opusfile<br>
44-
pacman -S mingw-w64-ucrt-x86_64-libopenmpt mingw-w64-ucrt-x86_64-json-glib</tt></p></blockquote>
44+
pacman -S mingw-w64-ucrt-x86_64-libopenmpt mingw-w64-ucrt-x86_64-json-glib mingw-w64-ucrt-x86_64-libsidplayfp</tt></p></blockquote>
4545

4646
<h3>Install GTK</h3>
4747

@@ -61,8 +61,7 @@ <h3>Install additional libraries</h3>
6161
make -j$(nproc) ffmpeg<br>
6262
make -j$(nproc) libmms<br>
6363
make -j$(nproc) libbinio<br>
64-
make -j$(nproc) adplug<br>
65-
make -j$(nproc) libsidplayfp</tt></p></blockquote>
64+
make -j$(nproc) adplug</tt></p></blockquote>
6665

6766
<h3>Install Audacious</h3>
6867

@@ -71,9 +70,9 @@ <h3>Install Audacious</h3>
7170

7271
<p>In the MinGW shell:</p>
7372
<blockquote><p><tt>cd /C/audacious<br>
74-
./configure --prefix=/C/aud --enable-gtk2<br>
75-
make -j$(nproc)<br>
76-
make install</tt></p></blockquote>
73+
/ucrt64/bin/meson setup build -Dprefix=/C/aud -Dgtk2=true<br>
74+
/ucrt64/bin/meson compile -C build<br>
75+
/ucrt64/bin/meson install -C build</tt></p></blockquote>
7776

7877
<h3>Install Audacious Plugins</h3>
7978

@@ -82,9 +81,9 @@ <h3>Install Audacious Plugins</h3>
8281

8382
<p>In the MinGW shell:</p>
8483
<blockquote><p><tt>cd /C/audacious-plugins<br>
85-
./configure --prefix=/C/aud --enable-gtk2<br>
86-
make -j$(nproc)<br>
87-
make install</tt></p></blockquote>
84+
/ucrt64/bin/meson setup build -Dprefix=/C/aud -Dgtk2=true<br>
85+
/ucrt64/bin/meson compile -C build<br>
86+
/ucrt64/bin/meson install -C build</tt></p></blockquote>
8887

8988
</body>
9089
</html>

0 commit comments

Comments
 (0)