summaryrefslogtreecommitdiffstats
path: root/pkgs/development/libraries/SDL2_mixer/default.nix
AgeCommit message (Collapse)Author
2021-09-05SDl2_mixer: fix MIDI playback by adding timidity pathsSergei Trofimovich
Noticed on fheroes2 package: before the change fheroes2 was not able to play MIDI samples and complained as: PlayMusic: music parameter was NULL It happens because default search paths for 'timidity.cfg' did not include any of nixos's paths in 'timidity/options.h': getenv("TIMIDITY_CFG") "." #define DEFAULT_PATH "/etc/timidity" #define DEFAULT_PATH1 "/usr/share/timidity" #define DEFAULT_PATH2 "/usr/local/share/timidity" #define DEFAULT_PATH3 "/usr/local/lib/timidity" As a result even with globally installed timidity MIDI can't be played. abuse package also has the same problem and works it around by changing directory to local copy of 'timidity.cfg': # The timidity bundled into SDL_mixer looks in . and in several global places # like /etc for its configuration file. cd @out@/etc exec @out@/bin/.abuse-bin "$@" The change fixes SDL2_mixer by changing "/usr/share/timidity" path to nix's timidity store path. Tested on fheroes2 with MIDI files.
2021-01-21pkgs/development/libraries: stdenv.lib -> libBen Siraphob
2020-11-28SDL2_mixer: enable midi by default, cleanup packagePavol Rusnak
Co-authored-by: Nikolay Amiantov <ab@fmap.me>
2020-06-11SDL2_mixer: add optional dependency mpg123Tom Hall
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly
2020-01-09SDL2_mixer: add opusfile dependency for opus support (#68767)Taran Lynn
2019-08-15treewide: name -> pname (easy cases) (#66585)volth
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
2018-11-08SDL2_mixer: 2.0.2 -> 2.0.4R. RyanTM
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/sdl2_mixer/versions
2018-06-28treewide: http -> https sources (#42676)Silvan Mosberger
* treewide: http -> https sources This updates the source urls of all top-level packages from http to https where possible. * buildtorrent: fix url and tab -> spaces
2018-06-06SDL2: disable sdltest on darwinMatthew Bauer
Darwin headless will hang when trying to run the SDL test program.
2018-01-21SDL2_{gfx,mixer,net,ttf}: fix Darwin buildMitsuhiro Nakamura
2017-10-27SDL2_mixer: 2.0.1 -> 2.0.2Franz Pletz
2017-08-27SDL2_mixer: use autoreconfHookJörg Thalheim
2017-08-26SDL2_mixer: build with libmodplug and smpeg2Orivej Desh
2017-08-01pkgs: refactor needless quoting of homepage meta attribute (#27809)Silvan Mosberger
* pkgs: refactor needless quoting of homepage meta attribute A lot of packages are needlessly quoting the homepage meta attribute (about 1400, 22%), this commit refactors all of those instances. * pkgs: Fixing some links that were wrongfully unquoted in the previous commit * Fixed some instances
2017-03-15SDL2_mixer: add optional fluidsynth supportCray Elliott
also add flac support and mp3 support, and add myself as the maintainer, since there is no current maintainer for this package
2016-08-22SDL2: cleanup and add patch to discover extensionsNikolay Amiantov
2016-08-02treewide: Add lots of meta.platformsTuomas Tynkkynen
Build-tested on x86_64 Linux & Mac.
2016-05-10SDL2_mixer: 2.0.0 -> 2.0.1Tobias Geerinckx-Rice
2014-05-17Propagate SDL_mixer's build inputs, because otherwise every dependent ↵Sander van der Burg
package must add libvorbis etc. to its buildInputs which is inconvenient
2013-08-27SDL2: update hashes for new stable release tarballs.Carles Pagès
I also had to update the url to the main SDL2 lib.
2013-08-27Add SDL2_image and SDL2_mixer, release candidate.Carles Pagès