pkgsrc/audio/libmikmod/Makefile

26 lines
547 B
Makefile
Raw Normal View History

2012-09-12 01:59:21 +02:00
# $NetBSD: Makefile,v 1.52 2012/09/12 00:24:42 asau Exp $
Update to 3.2.0: libmikmod 3.2.0 was released on 01-June-2012. THANKS - Axel "awe" Wefers <awe@fruitz-of-dojo.de>, for creating the CoreAudio driver, the new AIFF driver, and fixes for the wav output driver. - Frank Loemker, for sending me his collection of patches for libmikmod. - Anders F Björklund <afb@algonet.se>, for updates, fixes and tests on Mac Platforms and rpm support. - Ivan Shmakov, for the NAS audio driver. - Various downstream patch writers (from Mandriva, SuSE, Red Hat/Fedora, Debian, etc.) - P. Martin - the macports maintainer for some patches. - Stéphan Kochen for two patches: one to change MDRIVER fields to "const", and the other with putting variable declarations at the start of block (which is more C89 compliant and fixes compilation on Microsoft Visual C++). NEW FEATURES - MacOS X CoreAudio driver - Carbon support - Loader for ASYLUM Music Format v1.0 (.amf) modules, as used in crusader games. - New function 'Player_QueryVoices' added, which is used to return dynamic channel information about the module player. (Mikmod 3.2.2 uses it for it's dynamic panels). - Mixing with floating point output. The MacOSX CoreAudio driver uses it. Thanks goes to Anders F Björklund for implementing this. - AIFF disk writer driver. - New NAS driver (Network Audio System). Tested with nasd and NCD X terminals. - MREADERs now have an iobase member (previously was a static variable in mmio.c). This permits to have many MREADERs with different iobase base values. - Created an example/ subdirectory, to hold programming examples. - Added functions to read from memory (Player_LoadMem, Sample_LoadMem...) and a memory reader in mmio.c - renamed internal _mm_malloc function to MikMod_malloc, which is now part of the API. - Raw samples can now be loaded using the new Sample_LoadRaw* family of functions for sound effects. - PowerPC 64 support - ALSA (Advanced Linux Sound Architecture) driver is now working with "recent" (actually a few years back) ALSAs. - Change MDRIVER "char *" fields to "const char *". - Thanks to Stéphan Kochen. - Implement a fix to the ALSA driver in MIKMOD_DYNAMIC mode so it will allow linking against libmikmod when "-Wl,--no-undefined" is passed. - Reported by Andrey Bondrov from Mandriva. - The problem was that we used some snd_... identifiers indirectly in some macro expansions. BUGFIXES - The sun driver now compiles on solaris (Thanks to Nicolas Gros d'Aillon for sending me Jonathan Perkin's fix) - The wav output driver had problems on big endian systems. Thanks to Axel "awe" Wefers for fixing this. - A warning reported by Stéphane LOEUILLET in libmikmod.m4 with autoconf 1.8 was fixed. - The 'card' argument, supported by the OSS driver was not documented via the MDRIVER->CmdLineHelp string. - libmikmod-3.1.11-CVE-2010-2546,2971.diff (from Mandriva/Mageia). - libmikmod-3.1.11-CVE-2009-3995,3996.diff (from Mandriva/Mageia). - Now checking for linking against -lm (from Mandriva/Mageia). - Modified patch of libmikmod-CVE-2009-0179.patch (from Mandriva/Mageia). - Apply the libmikmod-CVE-2007-6720.patch (from Mandriva/Mageia). - Implement a fix for sprintf-of-list - sprintf(list, "%sSOMETHING", list) does not work as expected and suffers from the http://en.wikipedia.org/wiki/Schlemiel_the_Painter%27s_algorithm syndrome. - Apply a patch for non-blocking opening of the OSS driver. (from Mandriva/Mageia). - Fixed the prototypes of vc_callback (thanks to P. Martin). - Cast a vc_callback parameter to "unsigned char *" instead of "char *", becuase the former is what it accepts (thanks to P. Martin). - Check for Samples' validatity in virtch_common.c (thanks to P. Martin). - Fix compilation on MSVC. - Thanks to Stéphan Kochen.
2012-06-03 23:44:59 +02:00
DISTNAME= libmikmod-3.2.0
CATEGORIES= audio
Update to 3.2.0: libmikmod 3.2.0 was released on 01-June-2012. THANKS - Axel "awe" Wefers <awe@fruitz-of-dojo.de>, for creating the CoreAudio driver, the new AIFF driver, and fixes for the wav output driver. - Frank Loemker, for sending me his collection of patches for libmikmod. - Anders F Björklund <afb@algonet.se>, for updates, fixes and tests on Mac Platforms and rpm support. - Ivan Shmakov, for the NAS audio driver. - Various downstream patch writers (from Mandriva, SuSE, Red Hat/Fedora, Debian, etc.) - P. Martin - the macports maintainer for some patches. - Stéphan Kochen for two patches: one to change MDRIVER fields to "const", and the other with putting variable declarations at the start of block (which is more C89 compliant and fixes compilation on Microsoft Visual C++). NEW FEATURES - MacOS X CoreAudio driver - Carbon support - Loader for ASYLUM Music Format v1.0 (.amf) modules, as used in crusader games. - New function 'Player_QueryVoices' added, which is used to return dynamic channel information about the module player. (Mikmod 3.2.2 uses it for it's dynamic panels). - Mixing with floating point output. The MacOSX CoreAudio driver uses it. Thanks goes to Anders F Björklund for implementing this. - AIFF disk writer driver. - New NAS driver (Network Audio System). Tested with nasd and NCD X terminals. - MREADERs now have an iobase member (previously was a static variable in mmio.c). This permits to have many MREADERs with different iobase base values. - Created an example/ subdirectory, to hold programming examples. - Added functions to read from memory (Player_LoadMem, Sample_LoadMem...) and a memory reader in mmio.c - renamed internal _mm_malloc function to MikMod_malloc, which is now part of the API. - Raw samples can now be loaded using the new Sample_LoadRaw* family of functions for sound effects. - PowerPC 64 support - ALSA (Advanced Linux Sound Architecture) driver is now working with "recent" (actually a few years back) ALSAs. - Change MDRIVER "char *" fields to "const char *". - Thanks to Stéphan Kochen. - Implement a fix to the ALSA driver in MIKMOD_DYNAMIC mode so it will allow linking against libmikmod when "-Wl,--no-undefined" is passed. - Reported by Andrey Bondrov from Mandriva. - The problem was that we used some snd_... identifiers indirectly in some macro expansions. BUGFIXES - The sun driver now compiles on solaris (Thanks to Nicolas Gros d'Aillon for sending me Jonathan Perkin's fix) - The wav output driver had problems on big endian systems. Thanks to Axel "awe" Wefers for fixing this. - A warning reported by Stéphane LOEUILLET in libmikmod.m4 with autoconf 1.8 was fixed. - The 'card' argument, supported by the OSS driver was not documented via the MDRIVER->CmdLineHelp string. - libmikmod-3.1.11-CVE-2010-2546,2971.diff (from Mandriva/Mageia). - libmikmod-3.1.11-CVE-2009-3995,3996.diff (from Mandriva/Mageia). - Now checking for linking against -lm (from Mandriva/Mageia). - Modified patch of libmikmod-CVE-2009-0179.patch (from Mandriva/Mageia). - Apply the libmikmod-CVE-2007-6720.patch (from Mandriva/Mageia). - Implement a fix for sprintf-of-list - sprintf(list, "%sSOMETHING", list) does not work as expected and suffers from the http://en.wikipedia.org/wiki/Schlemiel_the_Painter%27s_algorithm syndrome. - Apply a patch for non-blocking opening of the OSS driver. (from Mandriva/Mageia). - Fixed the prototypes of vc_callback (thanks to P. Martin). - Cast a vc_callback parameter to "unsigned char *" instead of "char *", becuase the former is what it accepts (thanks to P. Martin). - Check for Samples' validatity in virtch_common.c (thanks to P. Martin). - Fix compilation on MSVC. - Thanks to Stéphan Kochen.
2012-06-03 23:44:59 +02:00
MASTER_SITES= http://mikmod.shlomifish.org/files/
Update to 3.1.11.1: Summary of changes between libmikmod 3.1.11 and libmikmod 3.1.11-a ======================================================================== libmikmod-3.1.11-a was released on 05/03/2004 Most of my work and attention goes on the 3.2.x series, but I still receive occasional bug reports and patchs for the 3.1.11 version. There are not enough changes to make a full release, but many people may find this patch useful. BUGFIXES - libmikmod playback now works correcly on amd64 (type size problem) - fixed warning issued by automake >= 1.8 - config.sub and config.guess updated Summary of changes between libmikmod 3.1.10 and libmikmod 3.1.11 (Thiers): ========================================================================== libmikmod 3.1.11 was released on 01/21/2004. This is a small maintenance release. I know there are not many changes, but since it has been a very long time since the last one, and meanwhile libmikmod changed maintaner, I think it is justified. THANKS - Ingo Saitz, the maintainer of the mikmod packages for debian, for bugfixes. - Frank Loemker, for the lcc-win32 stuff and fixes for the direct sound driver. BUGFIXES - Playback problems in MODs of length >128. This fixes the file beatwave.mod. Thanks to Emmanuel Coirier for pointing this out. - Applied debian patches: - Fix for broken volume fadeouts of IT instruments - Fixed configure test for pthread - devfs support for Linux OSS - Makefile for lcc-win32. To compile libmikmod with lcc-win32 a rather new version is needed. I currently use version 3.7 compiled on Jan 20 2002. A version half a year old did not work. To compile - check that you have the lcc bin directory in the PATH (and no other compiler bin dirs), - change to libmikmod-3.1.11/win32, - check Makefile.lcc for any needed changes, and - use make -f Makefile.lcc. - Different fixes for the direct sound driver: - Pausing did only work for half of the buffer. - Restarting the player did not work as the output thread was removed in DS_PlayStop(). - Removed busy waiting for end of thread. - Sound output is started immediately on the first call to DS_Update() to be consistent with other non threaded drivers. - Different small clean ups. - In MikMod_Reset() the raw output driver driver did not use the filename set via the cmdline.
2004-09-21 10:41:15 +02:00
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://mikmod.raphnet.net/
COMMENT= MikMod Sound Library
LICENSE= gnu-lgpl-v2
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_TOOLS+= autoconf gmake makeinfo
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-threads
2010-03-22 12:22:23 +01:00
INFO_FILES= yes
pre-configure:
cd ${WRKSRC} && autoconf
2005-05-31 18:10:19 +02:00
.include "options.mk"
.include "../../mk/bsd.pkg.mk"