added sdl_audiolib
This commit is contained in:
parent
a88d1fcc09
commit
db5eb282f0
1 changed files with 48 additions and 0 deletions
48
skg/packages/sdl_audiolib.scm
Normal file
48
skg/packages/sdl_audiolib.scm
Normal file
|
@ -0,0 +1,48 @@
|
|||
(define-module (skg packages sdl_audiolib)
|
||||
#:use-module (guix)
|
||||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system cmake)
|
||||
#:use-module (guix git-download)
|
||||
#:use-module ((guix licenses) #:prefix license:)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages sdl)
|
||||
#:use-module (skg packages libadlmidi)
|
||||
#:use-module (gnu packages pkg-config)
|
||||
#:use-module (gnu packages pulseaudio)
|
||||
#:use-module (gnu packages mp3)
|
||||
#:use-module (gnu packages audio)
|
||||
#:use-module (gnu packages xiph))
|
||||
|
||||
(define-public sdl_audiolib
|
||||
(package
|
||||
(name "sdl_audiolib")
|
||||
(version "1")
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/realnc/SDL_audiolib.git")
|
||||
(commit "b2df2dfeddc692caa01fd1e1769f59b285912b87")))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256 (base32 "1rgij08si84n927yxvbqlxhbvmph3zjshy3rgjj665m1dnxdayls"))))
|
||||
(inputs
|
||||
(list libvorbis sdl2 pkg-config libsamplerate libmpcdec libopenmpt wildmidi libadlmidi soxr libopenmpt libxmp libmodplug opusfile fluidsynth))
|
||||
(build-system cmake-build-system)
|
||||
(arguments '(
|
||||
#:tests? #f
|
||||
#:configure-flags (list "-DUSE_RESAMP_SRC=OFF"
|
||||
"-DUSE_DEC_DRFLAC=OFF"
|
||||
"-DUSE_DEC_MPG123=OFF"
|
||||
"-DUSE_DEC_SNDFILE=OFF"
|
||||
"-DUSE_DEC_LIBOPUSFILE=OFF"
|
||||
"-DUSE_DEC_FLUIDSYNTH=OFF"
|
||||
"-DUSE_DEC_MUSEPACK=OFF"
|
||||
"-DUSE_DEC_BASSMIDI=OFF"
|
||||
"-DUSE_DEC_WILDMIDI=OFF"
|
||||
"-DUSE_DEC_ADLMIDI=OFF")
|
||||
#:build-type "Release"))
|
||||
(home-page "https://github.com/realnc/SDL_audiolib")
|
||||
(synopsis "This is a small and simple to use C++ library for playing various audio formats. It is a thin (-ish) wrapper around existing resampling (like SRC or SoX) and decoding libraries (like libmpg123 or libvorbis.)")
|
||||
(description "An audio decoding, resampling and mixing library for SDL. ")
|
||||
(license license:gpl3)))
|
||||
|
Loading…
Add table
Reference in a new issue