mingw64-i686-SDL2_mixer 2.0.0
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Mon, 25 Nov 2013 04:12:35 +0000 (22:12 -0600)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Mon, 25 Nov 2013 04:12:35 +0000 (22:12 -0600)
1.2.12-windres.patch [new file with mode: 0644]
mingw64-i686-SDL2_mixer.cygport [new file with mode: 0644]

diff --git a/1.2.12-windres.patch b/1.2.12-windres.patch
new file mode 100644 (file)
index 0000000..47f7faa
--- /dev/null
@@ -0,0 +1,16 @@
+--- origsrc/SDL_mixer-1.2.12/configure.in      2013-11-24 16:14:37.385595900 -0600
++++ src/SDL_mixer-1.2.12/configure.in  2013-11-24 16:15:35.746933900 -0600
+@@ -48,12 +48,7 @@ AC_PROG_LIBTOOL
+ AC_PROG_CC
+ AC_PROG_INSTALL
+ AC_PROG_MAKE_SET
+-if test -z "$host_alias"; then
+-    hostaliaswindres=
+-else
+-    hostaliaswindres="$host_alias-windres"
+-fi
+-AC_CHECK_PROGS(WINDRES, [windres $hostaliaswindres $host_os-windres])
++AC_CHECK_TOOL(WINDRES, windres)
+ dnl Set up the compiler and linker flags
+ case "$host" in
diff --git a/mingw64-i686-SDL2_mixer.cygport b/mingw64-i686-SDL2_mixer.cygport
new file mode 100644 (file)
index 0000000..94ce0a2
--- /dev/null
@@ -0,0 +1,32 @@
+CROSS_HOST="i686-w64-mingw32"
+inherit cross
+
+NAME="mingw64-i686-SDL2_mixer"
+VERSION=2.0.0
+RELEASE=1
+CATEGORY="Devel"
+SUMMARY="SDL2 audio loading library for Win32 toolchain"
+DESCRIPTION="This is the Simple DirectMedia Layer, a general API that provides
+low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL,
+and 2D framebuffer across multiple platforms."
+HOMEPAGE="http://www.libsdl.org/projects/SDL_mixer/"
+SRC_URI="${HOMEPAGE}/release/SDL2_mixer-${VERSION}.tar.gz"
+SRC_DIR="SDL2_mixer-${VERSION}"
+PATCH_URI="
+       1.2.12-windres.patch
+"
+
+# The included libtool macros have been hacked for the *-*-mingw* target to
+# produce SDL2_mixer.dll (instead of the usual libSDL2_mixer-2-0-0.dll) and to
+# set deplibs_check_method=pass_all (to allow linking with -ldxguid, which is
+# static).  Therefore, we must use these macros and the corresponding ltmain.sh.
+NO_LIBTOOLIZE=1
+ACLOCAL_FLAGS="-I acinclude"
+
+CYGCONF_ARGS="
+       --disable-music-mp3
+       --enable-music-midi-native
+       --disable-music-midi-timidity
+"
+
+KEEP_LA_FILES="none"
This page took 0.022301 seconds and 5 git commands to generate.