PortSystem 1.0 PortGroup github 1.0 name libsdl2_mixer github.setup libsdl-org SDL_mixer 2.8.0 release- categories audio devel license zlib maintainers {jmr @jmroot} openmaintainer description Audio mixer library for SDL long_description \ A sample multi-channel audio mixer library. It supports any number of \ simultaneously playing channels of 16 bit stereo audio, plus a single \ channel of music. github.tarball_from releases distname SDL2_mixer-${version} checksums rmd160 e0123f36d79fdba122772f01e06bad4aad665f40 \ sha256 1cfb34c87b26dbdbc7afd68c4f545c0116ab5f90bbfecc5aebe2a9cb4bb31549 depends_build path:bin/pkg-config:pkgconfig depends_lib port:libsdl2 \ port:libxmp \ port:opusfile \ port:wavpack # https://github.com/libsdl-org/SDL_mixer/commit/a2c6c892aae6b28bbb03adc1bb5ffe32f1eea17e patchfiles a2c6c892aae6b28bbb03adc1bb5ffe32f1eea17e.patch configure.args --disable-sdltest \ --disable-music-gme \ --disable-music-midi-fluidsynth \ --disable-music-mod-xmp-shared \ --disable-music-opus-shared \ --disable-music-wavpack-shared compiler.blacklist *gcc-4.* { clang < 211 } post-destroot { set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} CHANGES.txt LICENSE.txt README.txt \ ${destroot}${docdir} }