SDL2_mixer: 2.0.1 -> 2.0.2
This commit is contained in:
parent
4c26199ad7
commit
5feccdc088
2 changed files with 6 additions and 17 deletions
|
@ -4,19 +4,21 @@
|
|||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "SDL2_mixer-${version}";
|
||||
version = "2.0.1";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://www.libsdl.org/projects/SDL_mixer/release/${name}.tar.gz";
|
||||
sha256 = "0pv9jzjpcjlbiaybvwrb4avmv46qk7iqxlnqrd2dfj82c4mgc92s";
|
||||
sha256 = "1fw3kkqi5346ai5if4pxrcbhs5c4vv3a4smgz6fl6kyaxwkmwqaf";
|
||||
};
|
||||
|
||||
preAutoreconf = ''
|
||||
aclocal
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook pkgconfig which ];
|
||||
|
||||
propagatedBuildInputs = [ SDL2 libogg libvorbis fluidsynth smpeg2 flac libmodplug ];
|
||||
|
||||
patches = [ ./libmodplug.patch ];
|
||||
|
||||
configureFlags = [ "--disable-music-ogg-shared" ]
|
||||
++ lib.optional enableNativeMidi "--enable-music-native-midi-gpl";
|
||||
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
diff --git a/configure.in b/configure.in
|
||||
index d511646..77dc3fe 100644
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -258,7 +258,7 @@ if test x$enable_music_mod = xyes -a x$enable_music_mod_modplug = xyes; then
|
||||
have_libmodplug_lib=yes
|
||||
], [dnl
|
||||
AC_CHECK_HEADER([libmodplug/modplug.h], [have_libmodplug_hdr=yes])
|
||||
- AC_CHECK_LIB([modplug], [have_libmodplug_lib=yes])
|
||||
+ AC_CHECK_LIB([modplug], [ModPlug_Load], [have_libmodplug_lib=yes])
|
||||
])
|
||||
|
||||
if test x$have_libmodplug_hdr = xyes -a x$have_libmodplug_lib = xyes; then
|
Loading…
Reference in a new issue