Changeset 26911 in project


Ignore:
Timestamp:
06/16/12 19:12:26 (9 years ago)
Author:
Christian Kellermann
Message:

sdl-mixer: drop dependency of sdl egg, thanks to Felix Winkelmann

Location:
release/4/sdl-mixer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • release/4/sdl-mixer/trunk/sdl-mixer.meta

    r26801 r26911  
    55 (synopsis "Basic SDL mixer support")
    66 (license "LGPL")
    7  (needs sdl)
    8  (foreign-depends "libsdl-dev" "libsdl-mixer1.2-dev")
     7 (foreign-depends "libsdl-mixer1.2-dev")
    98 (files "sdl-mixer.setup" "sdl-mixer-lolevel.scm" "sdl-mixer.scm"))
  • release/4/sdl-mixer/trunk/sdl-mixer.scm

    r26797 r26911  
    2323
    2424 (import chicken scheme foreign)
    25  (use sdl-mixer-lolevel sdl)
     25 (use sdl-mixer-lolevel)
     26
     27 (foreign-declare "#include <SDL/SDL.h>")
    2628
    2729 (define audio-opened #f)
     
    4244         (mix-close-audio))
    4345   (unless initialized
    44            (sdl-init SDL_INIT_AUDIO)
     46           ((foreign-lambda void "SDL_init" int)
     47            (foreign-value "SDL_INIT_AUDIO" int))
    4548           (mix-init (bitwise-ior MIX_INIT_MP3 MIX_INIT_OGG MIX_INIT_FLAC))
    4649           (set! initialized #t))
Note: See TracChangeset for help on using the changeset viewer.