unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Faiz via Guix-patches via <guix-patches@gnu.org>
To: 69610@debbugs.gnu.org
Cc: Liliana Marie Prikler <liliana.prikler@gmail.com>
Subject: [bug#69610] [PATCH 1/3] gnu: Add sdl2-mixer-x.
Date: Thu, 7 Mar 2024 20:39:47 +0800	[thread overview]
Message-ID: <5f2cb9bd-70a2-ef35-a9b2-d12076975864@disroot.org> (raw)
In-Reply-To: <8cb8335e-a3f4-2671-88f1-785746eff8f4@disroot.org>

From d48e05d0d7c25d080a72e37debd4a72ec5077375 Mon Sep 17 00:00:00 2001
Message-ID: <d48e05d0d7c25d080a72e37debd4a72ec5077375.1709814572.git.adam.faiz@disroot.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)))
+
 (define-public sdl2-net
   (package (inherit sdl-net)
     (name "sdl2-net")
-- 
2.41.0




  reply	other threads:[~2024-03-07 12:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-07 12:37 [bug#69610] [PATCH 0/3] gnu: Add superfluous-returnz Adam Faiz via Guix-patches via
2024-03-07 12:39 ` Adam Faiz via Guix-patches via [this message]
2024-03-07 18:01   ` [bug#69610] [PATCH 1/3] gnu: Add sdl2-mixer-x Liliana Marie Prikler
2024-03-07 12:43 ` [bug#69610] [PATCH 2/3] gnu: Add superfluous-returnz-data Adam Faiz via Guix-patches via
2024-03-07 12:44 ` [bug#69610] [PATCH 3/3] gnu: Add superfluous-returnz Adam Faiz via Guix-patches via
2024-03-07 18:23   ` Liliana Marie Prikler
2024-03-08  2:12 ` [bug#69610] [PATCH v2 1/3] gnu: Add sdl2-mixer-x Adam Faiz via Guix-patches via
2024-03-08  2:14   ` [bug#69610] [PATCH v2 2/3] gnu: Add superfluous-returnz-data Adam Faiz via Guix-patches via
2024-03-08  2:16   ` [bug#69610] [PATCH v2 3/3] gnu: Add sosage Adam Faiz via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5f2cb9bd-70a2-ef35-a9b2-d12076975864@disroot.org \
    --to=guix-patches@gnu.org \
    --cc=69610@debbugs.gnu.org \
    --cc=adam.faiz@disroot.org \
    --cc=liliana.prikler@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).