pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/audio/SDL2_mixer
Module Name: pkgsrc
Committed By: wiz
Date: Sun Jan 19 18:13:51 UTC 2025
Modified Files:
pkgsrc/audio/SDL2_mixer: Makefile PLIST distinfo options.mk
Removed Files:
pkgsrc/audio/SDL2_mixer/patches: patch-configure
patch-music__fluidsynth.c
Log Message:
SDL2_mixer: update to 2.8.0.
2.8.0:
* Added support for loading wavpack sound files (https://www.wavpack.com/)
* Added support for loading classic console sound files using Game_Music_Emu (https://github.com/libgme/game-music-emu)
* Use minimp3 instead of dr_mp3 as the default backend for MP3 music
* Use libxmp instead of modplug as the default backend for MOD music
To use libmodplug instead, configure using --enable-music-mod-modplug --disable-music-mod-xmp
* Added support for FLAC audio in Ogg containers
* Added Mix_PauseAudio() to pause and resume all audio playback
* Added Mix_GetNumTracks() and Mix_StartTrack() for managing tracks in GME files
2.6.2:
* Updated autotools to use ax_compute_relative_paths, fixing homebrew on macOS
2.6.1:
* Fixed issue with incorrect version reported by pkg-config
2.6.0:
* Added support for building with CMake
* Added support for playing Ogg files using stb_vorbis, which is now the default Vorbis backend.
To use libvorbis instead, configure using --disable-music-ogg-stb --enable-music-ogg-vorbis
* Added support for playing FLAC files using dr_flac, which is now the default FLAC music backend.
To use libflac instead, configure using --disable-music-flac-drflac --enable-music-flac-libflac
* Added support for playing MP3 files using dr_mp3, which is now the default MP3 music backend.
To use libmpg123 instead, configure using --disable-music-mp3-drmp3 --enable-music-mp3-mpg123
* Added libxmp support for mod music playback. Modplug is still the default backend for MOD music.
To use libxmp instead, configure using --disable-music-mod-modplug --enable-music-mod-xmp
* Removed support for libmad as a MP3 music backend.
* Removed support for libmikmod as a MOD music backend.
* Added Mix_MasterVolume() for additional volume control over all channels
* Update Mix_Init() return value to match documentation, including MIXER_INIT_* flags for already-initialized modules
* Added Mix_HasMusicDecoder()
* Memory leak fixes and F32 format support to fluidsynth player
* Fixed distorted MIDI playback with FluidSynth if sample rate is out of library's limits
* Added Mix_ModMusicJumpToOrder() for mod music formats
* Enabled module internal loops in modplug player
* Respect original mp3 file offset
* Support setting soundfont via SDL_SOUNDFONTS in OSX native midi
* Fixed mp3 file detection
* Fixes to ogg playback on big-endian devices
* Added functions to get metadata information:
Mix_GetMusicTitle()
Mix_GetMusicTitleTag()
Mix_GetMusicArtistTag()
Mix_GetMusicAlbumTag()
Mix_GetMusicCopyrightTag()
* Add functions to get loop point information:
Mix_GetMusicLoopStartTime()
Mix_GetMusicLoopEndTime()
Mix_GetMusicLoopLengthTime()
* Added Mix_GetMusicVolume() and Mix_GetMusicPosition()
* Added Mix_MusicDuration() to return music duration in seconds
* Fixed music_mpg123 seek bug when sample rate of the file and the stream don't match
* Timidity improvements, added Mix_SetTimidityCfg()
* Improved mp3 tag detection/skipping
* Extended support for WAV files
* Allow rmid files be opened by native midi
* Fixed possible crash in win32 native midi
* Prevent clipping due to volume settings in modplug music
* Added looping support for Opus files
* Added looping support for FLAC files
* Improved OGG looping support
* Fixed loading Opus audio as audio chunks
To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/audio/SDL2_mixer/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/audio/SDL2_mixer/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/audio/SDL2_mixer/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/audio/SDL2_mixer/options.mk
cvs rdiff -u -r1.1 -r0 pkgsrc/audio/SDL2_mixer/patches/patch-configure \
pkgsrc/audio/SDL2_mixer/patches/patch-music__fluidsynth.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/audio/SDL2_mixer/Makefile
diff -u pkgsrc/audio/SDL2_mixer/Makefile:1.25 pkgsrc/audio/SDL2_mixer/Makefile:1.26
--- pkgsrc/audio/SDL2_mixer/Makefile:1.25 Sun Jan 19 09:26:07 2025
+++ pkgsrc/audio/SDL2_mixer/Makefile Sun Jan 19 18:13:51 2025
@@ -1,27 +1,40 @@
-# $NetBSD: Makefile,v 1.25 2025/01/19 09:26:07 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2025/01/19 18:13:51 wiz Exp $
-DISTNAME= SDL2_mixer-2.0.4
-PKGREVISION= 15
+DISTNAME= SDL2_mixer-2.8.0
CATEGORIES= audio devel
-MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libsdl-org/}
+GITHUB_PROJECT= SDL_mixer
+GITHUB_RELEASE= release-${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
HOMEPAGE= https://github.com/libsdl-org/SDL_mixer
COMMENT= Sample multi-channel audio mixer library
LICENSE= zlib
+# needs sort -V
+TOOL_DEPENDS+= coreutils-[0-9]*:../../sysutils/coreutils
+
USE_LANGUAGES= c c++
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= SDL2_mixer.pc.in
+CONFIGURE_ARGS+= --disable-music-ogg-stb --enable-music-ogg-vorbis
+CONFIGURE_ARGS+= --disable-music-flac-drflac --enable-music-flac-libflac
+CONFIGURE_ARGS+= --disable-music-mp3-drmp3 --enable-music-mp3-mpg123
+# needs sort -V
+CONFIGURE_ARGS+= SORT=${PREFIX}/gnu/bin/sort
+
.include "options.mk"
.include "../../audio/flac/buildlink3.mk"
-.include "../../audio/libmodplug/buildlink3.mk"
+.include "../../audio/game-music-emu/buildlink3.mk"
.include "../../audio/libvorbis/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libxmp+= libxmp>=4.2
+.include "../../audio/libxmp/buildlink3.mk"
.include "../../audio/mpg123/buildlink3.mk"
.include "../../audio/opusfile/buildlink3.mk"
+.include "../../audio/wavpack/buildlink3.mk"
.include "../../devel/SDL2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/audio/SDL2_mixer/PLIST
diff -u pkgsrc/audio/SDL2_mixer/PLIST:1.1 pkgsrc/audio/SDL2_mixer/PLIST:1.2
--- pkgsrc/audio/SDL2_mixer/PLIST:1.1 Sun Feb 2 15:39:01 2014
+++ pkgsrc/audio/SDL2_mixer/PLIST Sun Jan 19 18:13:51 2025
@@ -1,4 +1,6 @@
-@comment $NetBSD: PLIST,v 1.1 2014/02/02 15:39:01 rodent Exp $
+@comment $NetBSD: PLIST,v 1.2 2025/01/19 18:13:51 wiz Exp $
include/SDL2/SDL_mixer.h
+lib/cmake/SDL2_mixer/sdl2_mixer-config-version.cmake
+lib/cmake/SDL2_mixer/sdl2_mixer-config.cmake
lib/libSDL2_mixer.la
lib/pkgconfig/SDL2_mixer.pc
Index: pkgsrc/audio/SDL2_mixer/distinfo
diff -u pkgsrc/audio/SDL2_mixer/distinfo:1.9 pkgsrc/audio/SDL2_mixer/distinfo:1.10
--- pkgsrc/audio/SDL2_mixer/distinfo:1.9 Tue Oct 26 09:58:44 2021
+++ pkgsrc/audio/SDL2_mixer/distinfo Sun Jan 19 18:13:51 2025
@@ -1,7 +1,5 @@
-$NetBSD: distinfo,v 1.9 2021/10/26 09:58:44 nia Exp $
+$NetBSD: distinfo,v 1.10 2025/01/19 18:13:51 wiz Exp $
-BLAKE2s (SDL2_mixer-2.0.4.tar.gz) = 6e431787bc662aec5112a22f27925c9a23f096a632f81f899c34b1d2697d79f7
-SHA512 (SDL2_mixer-2.0.4.tar.gz) = 98c56069640668aaececa63748de21fc8f243c7d06386c45c43d0ee472bbb2595ccda644d9886ce5b95c3a3dee3c0a96903cf9a89ddc18d38f041133470699a3
-Size (SDL2_mixer-2.0.4.tar.gz) = 11125077 bytes
-SHA1 (patch-configure) = 1666d97f82c5f3dca03eb45dad6b9e73dc61dffd
-SHA1 (patch-music__fluidsynth.c) = affe25cbb8fc21afe80ef3f5fd0e98853addff20
+BLAKE2s (SDL2_mixer-2.8.0.tar.gz) = afde1df2fb6855b5fc0a93abd2b76be28cacc2b1cb5cd1689cf4549b99676ea6
+SHA512 (SDL2_mixer-2.8.0.tar.gz) = 5ddbc4b0b5fad2e0844a503daa79564b912654192599ef8fa7698531f08323ce01801f6bb17b2b3905020a3df362a967b7566ae725eb085da991578cc0807aad
+Size (SDL2_mixer-2.8.0.tar.gz) = 10874471 bytes
Index: pkgsrc/audio/SDL2_mixer/options.mk
diff -u pkgsrc/audio/SDL2_mixer/options.mk:1.3 pkgsrc/audio/SDL2_mixer/options.mk:1.4
--- pkgsrc/audio/SDL2_mixer/options.mk:1.3 Thu Nov 1 21:12:40 2018
+++ pkgsrc/audio/SDL2_mixer/options.mk Sun Jan 19 18:13:51 2025
@@ -1,10 +1,11 @@
-# $NetBSD: options.mk,v 1.3 2018/11/01 21:12:40 adam Exp $
+# $NetBSD: options.mk,v 1.4 2025/01/19 18:13:51 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.SDL2_mixer
PKG_SUPPORTED_OPTIONS= fluidsynth
.include "../../mk/bsd.options.mk"
+# default for MIDI support is timidity
.if !empty(PKG_OPTIONS:Mfluidsynth)
.include "../../audio/fluidsynth/buildlink3.mk"
CONFIGURE_ARGS+= --enable-music-midi-fluidsynth=yes
Home |
Main Index |
Thread Index |
Old Index