57d284fc2e
Fixes http://autobuild.buildroot.net/results/6ba/6ba399db1715a7759048e0d532768a335c3c97cc/ The default rule (make install) works fine, even for static build - so use that instead of explicitly copying *so files. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
################################################################################
|
|
#
|
|
# sdl_mixer
|
|
#
|
|
################################################################################
|
|
|
|
SDL_MIXER_VERSION = 1.2.12
|
|
SDL_MIXER_SOURCE = SDL_mixer-$(SDL_MIXER_VERSION).tar.gz
|
|
SDL_MIXER_SITE = http://www.libsdl.org/projects/SDL_mixer/release/
|
|
SDL_MIXER_LICENSE = zlib
|
|
SDL_MIXER_LICENSE_FILES = COPYING
|
|
|
|
SDL_MIXER_INSTALL_STAGING = YES
|
|
SDL_MIXER_DEPENDENCIES = sdl
|
|
SDL_MIXER_CONF_OPT = \
|
|
--without-x \
|
|
--with-sdl-prefix=$(STAGING_DIR)/usr \
|
|
--disable-music-midi \
|
|
--disable-music-mod \
|
|
--disable-music-mp3 \
|
|
--disable-music-flac # configure script fails when cross compiling
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBMAD),y)
|
|
SDL_MIXER_CONF_OPT += --enable-music-mp3-mad-gpl
|
|
SDL_MIXER_DEPENDENCIES += libmad
|
|
else
|
|
SDL_MIXER_CONF_OPT += --disable-music-mp3-mad-gpl
|
|
endif
|
|
|
|
ifeq ($(BR2_PACKAGE_LIBVORBIS),y)
|
|
SDL_MIXER_CONF_OPT += --enable-music-ogg
|
|
SDL_MIXER_DEPENDENCIES += libvorbis
|
|
else
|
|
SDL_MIXER_CONF_OPT += --disable-music-ogg
|
|
endif
|
|
|
|
$(eval $(autotools-package))
|