WohlSoft / AudioCodecs

A portable collection of audio codecs as set of dependencies for SDL Mixer X audio library
14 stars 8 forks source link

Replace mercurial's tar.bz2 with the primary tar.gz #4

Closed kcgen closed 6 years ago

kcgen commented 6 years ago

Solves https://github.com/WohlSoft/SDL-Mixer-X/issues/21, which is due a flaw in Mercurial's generated tar.bz2 file.

Using SDL2's tar.gz file now extracts cleanly:

<snip>
-- [download 100% complete]
-- Downloading... done
-- extracting...
     src='/usr/src/SDL-Mixer-X/build/external/AudioCodecs/src/AudioCodecs-build/external/SDL2/src/SDL2-2.0.8.tar.gz'
     dst='/usr/src/SDL-Mixer-X/build/external/AudioCodecs/src/AudioCodecs-build/external/SDL2/src/SDL2HG'
-- extracting... [tar xfz]
-- extracting... [analysis]
-- extracting... [rename]
-- extracting... [clean up]
-- extracting... done
[  1%] No patch step for 'SDL2HG'
[  1%] No update step for 'SDL2HG'
[  1%] Performing configure step for 'SDL2HG'
-- The C compiler identification is GNU 7.3.0
<snip>
Wohlstand commented 6 years ago

Please make it to be an option to choose which version of SDL2 to pull: stable release or dev one from HG. Myself I using most fresh SDL2 as sometimes I finding bugs in it and I posting fixes of them to SDL2 team and there are accepting them.

Look to my AppVeyor builds are using MinGW-w64 and successfully compiling, pulling, unpacking SDL2 from HG. I bet you have forgot to install bzip2 into your msys2...

Wohlstand commented 6 years ago

Okay, tomorrow I'll take this for polishing and then merge after set of changes... For now I have tired after a hard day.

Wohlstand commented 6 years ago

I have merged this with some of changes I have made by myself. I have added two options: