pkgsrc/audio/SDL_mixer/Makefile

48 lines
1.3 KiB
Makefile
Raw Normal View History

2012-10-09 01:09:06 +02:00
# $NetBSD: Makefile,v 1.48 2012/10/08 23:09:06 adam Exp $
Update to 1.2.12. Update license (see below). fluidsynth dependency not added since upstream seems to be missing the necessary fluid_player_add_mem code (even though patchset from 2010 exists). 1.2.12: Sam Lantinga - Sat Jan 14 22:00:29 2012 -0500 * Fixed seek offset with SMPEG (was relative, should be absolute) Sam Lantinga - Fri Jan 13 03:04:27 EST 2012 * Fixed memory crash loading Ogg Vorbis files on Windows Sam Lantinga - Thu Jan 05 22:51:54 2012 -0500 * Added an Xcode project for iOS Nikos Chantziaras - 2012-01-02 17:37:36 PST * Added Mix_LoadMUSType_RW() so you can tell SDL_mixer what type the music is Sam Lantinga - Sun Jan 01 16:45:58 2012 -0500 * Fixed looping native MIDI on Mac OS X and Windows Sam Lantinga - Sun Jan 01 01:00:51 2012 -0500 * Added /usr/local/share/timidity to the timidity data path Sam Lantinga - Sat Dec 31 21:26:46 2011 -0500 * Fixed timidity loading of some MIDI files Sam Lantinga - Sat Dec 31 19:11:59 EST 2011 * Fixed dropping audio in the FLAC audio decoding Sam Lantinga - Sat Dec 31 18:32:05 EST 2011 * Fixed memory leak in SDL_LoadMUS() Sam Lantinga - Sat Dec 31 10:22:05 EST 2011 * Removed GPL native MIDI code for new licensing Sam Lantinga - Sat Dec 31 10:22:05 EST 2011 * SDL_mixer is now under the zlib license Manuel Montezelo - 2011-12-28 11:42:44 PST * Fixed drums playing on MIDI channel 16 with timidity Ryan C. Gordon - Wed Jun 15 03:41:31 2011 -0400 * The music-finished hook can start a track immediately James Le Cuirot - Mon Mar 21 16:54:11 PDT 2011 * Added support for FluidSynth Egor Suvorov - Tue Jan 18 11:06:47 PST 2011 * Added support for native MIDI on Haiku Sam Lantinga - Tue Jan 11 01:29:19 2011 -0800 * Added Android.mk to build on the Android platform Jon Atkins - Sat Nov 14 13:00:18 PST 2009 * Added support for libmodplug (disabled by default)
2012-01-28 14:46:15 +01:00
DISTNAME= SDL_mixer-1.2.12
PKGREVISION= 5
CATEGORIES= audio
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.libsdl.org/projects/SDL_mixer/
COMMENT= Multi-channel audio mixer library
Update to 1.2.12. Update license (see below). fluidsynth dependency not added since upstream seems to be missing the necessary fluid_player_add_mem code (even though patchset from 2010 exists). 1.2.12: Sam Lantinga - Sat Jan 14 22:00:29 2012 -0500 * Fixed seek offset with SMPEG (was relative, should be absolute) Sam Lantinga - Fri Jan 13 03:04:27 EST 2012 * Fixed memory crash loading Ogg Vorbis files on Windows Sam Lantinga - Thu Jan 05 22:51:54 2012 -0500 * Added an Xcode project for iOS Nikos Chantziaras - 2012-01-02 17:37:36 PST * Added Mix_LoadMUSType_RW() so you can tell SDL_mixer what type the music is Sam Lantinga - Sun Jan 01 16:45:58 2012 -0500 * Fixed looping native MIDI on Mac OS X and Windows Sam Lantinga - Sun Jan 01 01:00:51 2012 -0500 * Added /usr/local/share/timidity to the timidity data path Sam Lantinga - Sat Dec 31 21:26:46 2011 -0500 * Fixed timidity loading of some MIDI files Sam Lantinga - Sat Dec 31 19:11:59 EST 2011 * Fixed dropping audio in the FLAC audio decoding Sam Lantinga - Sat Dec 31 18:32:05 EST 2011 * Fixed memory leak in SDL_LoadMUS() Sam Lantinga - Sat Dec 31 10:22:05 EST 2011 * Removed GPL native MIDI code for new licensing Sam Lantinga - Sat Dec 31 10:22:05 EST 2011 * SDL_mixer is now under the zlib license Manuel Montezelo - 2011-12-28 11:42:44 PST * Fixed drums playing on MIDI channel 16 with timidity Ryan C. Gordon - Wed Jun 15 03:41:31 2011 -0400 * The music-finished hook can start a track immediately James Le Cuirot - Mon Mar 21 16:54:11 PDT 2011 * Added support for FluidSynth Egor Suvorov - Tue Jan 18 11:06:47 PST 2011 * Added support for native MIDI on Haiku Sam Lantinga - Tue Jan 11 01:29:19 2011 -0800 * Added Android.mk to build on the Android platform Jon Atkins - Sat Nov 14 13:00:18 PST 2009 * Added support for libmodplug (disabled by default)
2012-01-28 14:46:15 +01:00
LICENSE= zlib
2003-04-05 21:04:38 +02:00
CONFLICTS= SDL-mixer-[0-9]*
2004-01-05 23:44:04 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
Update to 1.2.9. Set LICENSE. Remove dynamically loaded libraries from buildlink3.mk. 1.2.9: Ryan Gordon - Sun Oct 18 11:42:31 PDT 2009 * Updated native MIDI support on Mac OS X for 10.6 Ryan Gordon - Sun Oct 11 05:29:55 2009 UTC * Reset channel volumes after a fade out interrupts a fade in. Ryan Gordon - Sun Oct 11 02:59:12 2009 UTC * Fixed crash race condition with position audio functions Ryan Gordon - Sat Oct 10 17:05:45 2009 UTC * Fixed stereo panning in 8-bit mode Sam Lantinga - Sat Oct 10 11:07:15 2009 UTC * Added /usr/share/timidity to the default timidity.cfg locations Sam Lantinga - Sat Oct 3 13:33:36 PDT 2009 * MOD support uses libmikmod and is dynamically loaded by default * A patched version of libmikmod is included in libmikmod-3.1.12.zip * The libmikmod patches fix security issues CVE-2007-6720 and CVE-2009-0179. Sam Lantinga - Sat Oct 3 02:49:41 PDT 2009 * Added TIMIDITY_CFG environment variable to fully locate timidity.cfg Sam Lantinga - Fri Oct 2 07:15:35 PDT 2009 * Implemented seamless looping for music playback Forrest Voight - 2009-06-13 20:31:38 PDT * ID3 files are now recognized as MP3 format Steven Noonan - 2008-05-13 13:31:36 PDT * Fixed native MIDI crash on 64-bit Windows Ryan Gordon - Fri Jun 5 16:07:08 2009 UTC * Added decoder enumeration API: Mix_GetNumChunkDecoders(), Mix_GetChunkDecoder(), Mix_GetNumMusicDecoders(), Mix_GetMusicDecoder() Austen Dicken - Tue Feb 26 23:28:27 PST 2008 * Added support for FLAC audio both as chunks and streaming Tilman Sauerbeck - Tue Feb 26 03:44:47 PST 2008 * Added support for streaming WAV files with Mix_LoadMUS_RW() Ryan Gordon - Mon Feb 4 17:10:08 UTC 2008 * Fixed crash caused by not resetting position_channels
2009-10-31 01:16:40 +01:00
USE_TOOLS+= gmake
GNU_CONFIGURE= yes
Update to 1.2.9. Set LICENSE. Remove dynamically loaded libraries from buildlink3.mk. 1.2.9: Ryan Gordon - Sun Oct 18 11:42:31 PDT 2009 * Updated native MIDI support on Mac OS X for 10.6 Ryan Gordon - Sun Oct 11 05:29:55 2009 UTC * Reset channel volumes after a fade out interrupts a fade in. Ryan Gordon - Sun Oct 11 02:59:12 2009 UTC * Fixed crash race condition with position audio functions Ryan Gordon - Sat Oct 10 17:05:45 2009 UTC * Fixed stereo panning in 8-bit mode Sam Lantinga - Sat Oct 10 11:07:15 2009 UTC * Added /usr/share/timidity to the default timidity.cfg locations Sam Lantinga - Sat Oct 3 13:33:36 PDT 2009 * MOD support uses libmikmod and is dynamically loaded by default * A patched version of libmikmod is included in libmikmod-3.1.12.zip * The libmikmod patches fix security issues CVE-2007-6720 and CVE-2009-0179. Sam Lantinga - Sat Oct 3 02:49:41 PDT 2009 * Added TIMIDITY_CFG environment variable to fully locate timidity.cfg Sam Lantinga - Fri Oct 2 07:15:35 PDT 2009 * Implemented seamless looping for music playback Forrest Voight - 2009-06-13 20:31:38 PDT * ID3 files are now recognized as MP3 format Steven Noonan - 2008-05-13 13:31:36 PDT * Fixed native MIDI crash on 64-bit Windows Ryan Gordon - Fri Jun 5 16:07:08 2009 UTC * Added decoder enumeration API: Mix_GetNumChunkDecoders(), Mix_GetChunkDecoder(), Mix_GetNumMusicDecoders(), Mix_GetMusicDecoder() Austen Dicken - Tue Feb 26 23:28:27 PST 2008 * Added support for FLAC audio both as chunks and streaming Tilman Sauerbeck - Tue Feb 26 03:44:47 PST 2008 * Added support for streaming WAV files with Mix_LoadMUS_RW() Ryan Gordon - Mon Feb 4 17:10:08 UTC 2008 * Fixed crash caused by not resetting position_channels
2009-10-31 01:16:40 +01:00
PKGCONFIG_OVERRIDE= SDL_mixer.pc.in
.include "../../mk/bsd.prefs.mk"
CPPFLAGS+= -Dunix=1
CFLAGS+= -DSYSCONFDIR="\"${PKG_SYSCONFDIR}\""
2004-01-05 23:44:04 +01:00
INSTALLATION_DIRS= bin
post-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
2012-10-09 01:09:06 +02:00
${WRKSRC}/build/playmus ${DESTDIR}${PREFIX}/bin
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
2012-10-09 01:09:06 +02:00
${WRKSRC}/build/playwave ${DESTDIR}${PREFIX}/bin
BUILDLINK_API_DEPENDS.SDL+= SDL>=1.2.10
Update to 1.2.9. Set LICENSE. Remove dynamically loaded libraries from buildlink3.mk. 1.2.9: Ryan Gordon - Sun Oct 18 11:42:31 PDT 2009 * Updated native MIDI support on Mac OS X for 10.6 Ryan Gordon - Sun Oct 11 05:29:55 2009 UTC * Reset channel volumes after a fade out interrupts a fade in. Ryan Gordon - Sun Oct 11 02:59:12 2009 UTC * Fixed crash race condition with position audio functions Ryan Gordon - Sat Oct 10 17:05:45 2009 UTC * Fixed stereo panning in 8-bit mode Sam Lantinga - Sat Oct 10 11:07:15 2009 UTC * Added /usr/share/timidity to the default timidity.cfg locations Sam Lantinga - Sat Oct 3 13:33:36 PDT 2009 * MOD support uses libmikmod and is dynamically loaded by default * A patched version of libmikmod is included in libmikmod-3.1.12.zip * The libmikmod patches fix security issues CVE-2007-6720 and CVE-2009-0179. Sam Lantinga - Sat Oct 3 02:49:41 PDT 2009 * Added TIMIDITY_CFG environment variable to fully locate timidity.cfg Sam Lantinga - Fri Oct 2 07:15:35 PDT 2009 * Implemented seamless looping for music playback Forrest Voight - 2009-06-13 20:31:38 PDT * ID3 files are now recognized as MP3 format Steven Noonan - 2008-05-13 13:31:36 PDT * Fixed native MIDI crash on 64-bit Windows Ryan Gordon - Fri Jun 5 16:07:08 2009 UTC * Added decoder enumeration API: Mix_GetNumChunkDecoders(), Mix_GetChunkDecoder(), Mix_GetNumMusicDecoders(), Mix_GetMusicDecoder() Austen Dicken - Tue Feb 26 23:28:27 PST 2008 * Added support for FLAC audio both as chunks and streaming Tilman Sauerbeck - Tue Feb 26 03:44:47 PST 2008 * Added support for streaming WAV files with Mix_LoadMUS_RW() Ryan Gordon - Mon Feb 4 17:10:08 UTC 2008 * Fixed crash caused by not resetting position_channels
2009-10-31 01:16:40 +01:00
.include "../../audio/flac/buildlink3.mk"
Update to 1.2.12. Update license (see below). fluidsynth dependency not added since upstream seems to be missing the necessary fluid_player_add_mem code (even though patchset from 2010 exists). 1.2.12: Sam Lantinga - Sat Jan 14 22:00:29 2012 -0500 * Fixed seek offset with SMPEG (was relative, should be absolute) Sam Lantinga - Fri Jan 13 03:04:27 EST 2012 * Fixed memory crash loading Ogg Vorbis files on Windows Sam Lantinga - Thu Jan 05 22:51:54 2012 -0500 * Added an Xcode project for iOS Nikos Chantziaras - 2012-01-02 17:37:36 PST * Added Mix_LoadMUSType_RW() so you can tell SDL_mixer what type the music is Sam Lantinga - Sun Jan 01 16:45:58 2012 -0500 * Fixed looping native MIDI on Mac OS X and Windows Sam Lantinga - Sun Jan 01 01:00:51 2012 -0500 * Added /usr/local/share/timidity to the timidity data path Sam Lantinga - Sat Dec 31 21:26:46 2011 -0500 * Fixed timidity loading of some MIDI files Sam Lantinga - Sat Dec 31 19:11:59 EST 2011 * Fixed dropping audio in the FLAC audio decoding Sam Lantinga - Sat Dec 31 18:32:05 EST 2011 * Fixed memory leak in SDL_LoadMUS() Sam Lantinga - Sat Dec 31 10:22:05 EST 2011 * Removed GPL native MIDI code for new licensing Sam Lantinga - Sat Dec 31 10:22:05 EST 2011 * SDL_mixer is now under the zlib license Manuel Montezelo - 2011-12-28 11:42:44 PST * Fixed drums playing on MIDI channel 16 with timidity Ryan C. Gordon - Wed Jun 15 03:41:31 2011 -0400 * The music-finished hook can start a track immediately James Le Cuirot - Mon Mar 21 16:54:11 PDT 2011 * Added support for FluidSynth Egor Suvorov - Tue Jan 18 11:06:47 PST 2011 * Added support for native MIDI on Haiku Sam Lantinga - Tue Jan 11 01:29:19 2011 -0800 * Added Android.mk to build on the Android platform Jon Atkins - Sat Nov 14 13:00:18 PST 2009 * Added support for libmodplug (disabled by default)
2012-01-28 14:46:15 +01:00
# needs fluid_player_add_mem support, which is not yet
# mainstream, it seems (at least in fluidsynth 1.1.5)
# (patchset is from 2010)
#.include "../../audio/fluidsynth/buildlink3.mk"
Update to 1.2.9. Set LICENSE. Remove dynamically loaded libraries from buildlink3.mk. 1.2.9: Ryan Gordon - Sun Oct 18 11:42:31 PDT 2009 * Updated native MIDI support on Mac OS X for 10.6 Ryan Gordon - Sun Oct 11 05:29:55 2009 UTC * Reset channel volumes after a fade out interrupts a fade in. Ryan Gordon - Sun Oct 11 02:59:12 2009 UTC * Fixed crash race condition with position audio functions Ryan Gordon - Sat Oct 10 17:05:45 2009 UTC * Fixed stereo panning in 8-bit mode Sam Lantinga - Sat Oct 10 11:07:15 2009 UTC * Added /usr/share/timidity to the default timidity.cfg locations Sam Lantinga - Sat Oct 3 13:33:36 PDT 2009 * MOD support uses libmikmod and is dynamically loaded by default * A patched version of libmikmod is included in libmikmod-3.1.12.zip * The libmikmod patches fix security issues CVE-2007-6720 and CVE-2009-0179. Sam Lantinga - Sat Oct 3 02:49:41 PDT 2009 * Added TIMIDITY_CFG environment variable to fully locate timidity.cfg Sam Lantinga - Fri Oct 2 07:15:35 PDT 2009 * Implemented seamless looping for music playback Forrest Voight - 2009-06-13 20:31:38 PDT * ID3 files are now recognized as MP3 format Steven Noonan - 2008-05-13 13:31:36 PDT * Fixed native MIDI crash on 64-bit Windows Ryan Gordon - Fri Jun 5 16:07:08 2009 UTC * Added decoder enumeration API: Mix_GetNumChunkDecoders(), Mix_GetChunkDecoder(), Mix_GetNumMusicDecoders(), Mix_GetMusicDecoder() Austen Dicken - Tue Feb 26 23:28:27 PST 2008 * Added support for FLAC audio both as chunks and streaming Tilman Sauerbeck - Tue Feb 26 03:44:47 PST 2008 * Added support for streaming WAV files with Mix_LoadMUS_RW() Ryan Gordon - Mon Feb 4 17:10:08 UTC 2008 * Fixed crash caused by not resetting position_channels
2009-10-31 01:16:40 +01:00
.include "../../audio/libmikmod/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
2004-04-13 01:15:01 +02:00
.include "../../multimedia/libogg/buildlink3.mk"
2004-06-26 11:16:10 +02:00
.include "../../multimedia/smpeg/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"