guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#69610] [PATCH 1/3] gnu: Add sdl2-mixer-x.


From: Liliana Marie Prikler
Subject: [bug#69610] [PATCH 1/3] gnu: Add sdl2-mixer-x.
Date: Thu, 07 Mar 2024 19:01:31 +0100
User-agent: Evolution 3.46.4

Am Donnerstag, dem 07.03.2024 um 20:39 +0800 schrieb Adam Faiz:
> From d48e05d0d7c25d080a72e37debd4a72ec5077375 Mon Sep 17 00:00:00
> 2001
> Message-ID:
> <d48e05d0d7c25d080a72e37debd4a72ec5077375.1709814572.git.adam.faiz@di
> sroot.org>
> In-Reply-To: <cover.1709814572.git.adam.faiz@disroot.org>
> References: <cover.1709814572.git.adam.faiz@disroot.org>
> From: AwesomeAdam54321 <adam.faiz@disroot.org>
> Date: Thu, 7 Mar 2024 14:07:15 +0800
> Subject: [PATCH 1/3] gnu: Add sdl2-mixer-x.
> 
> * gnu/packages/sdl.scm (sdl2-mixer-x): New variable.
> ---
>  gnu/packages/sdl.scm | 19 +++++++++++++++++++
>  1 file changed, 19 insertions(+)
> 
> diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
> index 3a4aafcaa7..35351c70a2 100644
> --- a/gnu/packages/sdl.scm
> +++ b/gnu/packages/sdl.scm
> @@ -528,6 +528,25 @@ (define-public sdl2-mixer
>         (append flac fluidsynth libmodplug libvorbis mpg123
> opusfile)))
>      (properties '((upstream-name . "SDL2_mixer")))))
>  
> +(define-public sdl2-mixer-x
> +  (package (inherit sdl2-mixer)
> +    (name "sdl2-mixer-x")
> +    (version "2.6.0")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/WohlSoft/SDL-Mixer-X";)
> +                    (commit version)))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +               
> "17l0l89q4az6lmmvpqpymjgs64nc52r140301dcf54vsh76mzd2c"))))
> +    (arguments
> +     (list #:tests? #f                     ;no tests
> +           #:configure-flags
> +           #~(list "-DBUILD_SHARED_LIBS=ON")))
> +    (build-system cmake-build-system)))
> +
Build system ought to go before arguments.

I know sdl is kinda weirdly formatted, but put the (inherit …) on a
separate line.

Cheers

reply via email to

[Prev in Thread] Current Thread [Next in Thread]