From e1f5cc167dd0a1b1c09772966c1d7944efb9ee8c Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Sun, 29 May 2022 14:14:15 +0200 Subject: [PATCH v1 2/8] gnu: minetest: Add minetest-sound-api-core. * gnu/packages/minetest.scm (minetest-sound-api-core): New variable. --- gnu/packages/minetest.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/minetest.scm b/gnu/packages/minetest.scm index 559d513407..dad1c7978f 100644 --- a/gnu/packages/minetest.scm +++ b/gnu/packages/minetest.scm @@ -241,6 +241,34 @@ (define-public minetest-moreores (license license:zlib) (properties `((upstream-name . "Calinou/moreores"))))) +(define-public minetest-sound-api-core + (package + (name "minetest-sound-api-core") + ;; No tags, no releases. This is used as a submodule. + (version "2022-02-27") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mt-mods/sound_api_core") + (commit "6956e49e775f325116f8e0c643899c089c691e1e"))) + (sha256 + (base32 "1ys6g2skhkksa4cx9agxhsibj5js8z4y2q1ngis9ddr38p756pcy")) + (file-name (git-file-name name version)) + (snippet + '(begin + (call-with-output-file "mod.conf" + (lambda (port) + (format port "\ +name = sound_api_core"))))))) + (build-system minetest-mod-build-system) + (propagated-inputs '()) + (home-page "https://github.com/mt-mods/sound_api_core") + (synopsis "Core for game agnostic sounds") + (description + "This library can be used to get some specific sounds, whatever the game.") + (license license:expat))) + (define-public minetest-basic-materials (package (name "minetest-basic-materials") -- 2.36.1