From patchwork Sun Nov 17 05:33:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: dan X-Patchwork-Id: 70463 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id E3D4F27BBE9; Sun, 17 Nov 2024 05:34:27 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id A94A427BBE2 for ; Sun, 17 Nov 2024 05:34:25 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCXv9-000666-Tc; Sun, 17 Nov 2024 00:34:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCXv8-00065q-JT for guix-patches@gnu.org; Sun, 17 Nov 2024 00:34:02 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tCXv8-0006ip-Aq for guix-patches@gnu.org; Sun, 17 Nov 2024 00:34:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=g9beix6xfba6zSjX9qaRPRddj6isLpA8JTpdatL3WJM=; b=uGLkmRqZoeWT52dEKy6gXSVnzsloTKo4J7lApG3DLE48ABW+awg8dB37k2oEBetIai+XHI8Pe12dIB/rXsEHnFL3UwSHFeNnItinQgDcVvHP6apIHS+PR0nxzSp3cXIrK57XzRGJzEZSMDhY3OYDlru4h/xaL/9tU1huY2MZf8L6UVXTD5csaWESqtnIyKwK71/XXDlitWZjGbXEXOrcfBJ2CnIy2Dx4a+UABYnllAA6dVRafgpoHcGCJ6FpeJPmKfIxLbE348nCHHGAXBDAPmghaQID9EredjltgqsgEHKR1xIdVqtzP/y6Dhmv01EBrNFyvFmc4G+Uk2X0pW49OQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCXv8-0005C8-5Z for guix-patches@gnu.org; Sun, 17 Nov 2024 00:34:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#74388] [PATCH] gnu: Add sdl3. Resent-From: dan Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Nov 2024 05:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 74388 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74388@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173182162219939 (code B ref -1); Sun, 17 Nov 2024 05:34:01 +0000 Received: (at submit) by debbugs.gnu.org; 17 Nov 2024 05:33:42 +0000 Received: from localhost ([127.0.0.1]:55572 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCXuo-0005BW-EF for submit@debbugs.gnu.org; Sun, 17 Nov 2024 00:33:42 -0500 Received: from lists.gnu.org ([209.51.188.17]:47312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCXul-0005BO-Tu for submit@debbugs.gnu.org; Sun, 17 Nov 2024 00:33:41 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCXul-0005vh-IX for guix-patches@gnu.org; Sun, 17 Nov 2024 00:33:39 -0500 Received: from fhigh-a1-smtp.messagingengine.com ([103.168.172.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tCXuj-0006fi-VL for guix-patches@gnu.org; Sun, 17 Nov 2024 00:33:39 -0500 Received: from phl-compute-05.internal (phl-compute-05.phl.internal [10.202.2.45]) by mailfhigh.phl.internal (Postfix) with ESMTP id 8E12B1140127 for ; Sun, 17 Nov 2024 00:33:36 -0500 (EST) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-05.internal (MEProxy); Sun, 17 Nov 2024 00:33:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dan.games; h=cc :content-transfer-encoding:content-type:date:date:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to; s=fm1; t=1731821616; x=1731908016; bh=g9beix6xfba6zSjX9qaRP Rddj6isLpA8JTpdatL3WJM=; b=Ud7l9Q9RK40QDB0spekM+ktYnhYq+iDFjMhLu Vv8+gSk3VTPweHlD+dq6IOCO56dj31uZp03RWwILz9IQ/kclR3FWAQni6C6k7Rbv zzLRxLPWl+NcbfRhoAq6FC9OqSphlJFr7RkI5JDehtKEi6gGlXMXubmuWApbvB+B 6Mwy8BMXEbVpA1SQtLxJ5BPmn+ZftxjAj+OkhBkvJQIp9RTc/fYg5w2dptaYKZ4F Ufufn/KoEkU9QOuLrys3RbGZ2+RwmWjoNR384c6XFOlY15DXo0PhlvXveVCM+CzL cOV54GKkADlduqMfIcNjeNV8oRINFQAHK9wvAVpvqC7/SAgZw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:date:feedback-id:feedback-id:from:from:in-reply-to :message-id:mime-version:reply-to:subject:subject:to:to :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t= 1731821616; x=1731908016; bh=g9beix6xfba6zSjX9qaRPRddj6isLpA8JTp datL3WJM=; b=VIXFhUlxkmw/J6qrH+qrUE81kkmPrZFB81PmND935k43GLqQSQ+ E5RCP10Jj+UlA5P6hU+awePEB0gyrWkwoVxcsplJiIXcCeXX2DP837Uy0d90Z39b Vs99kyw6M7V3g2WiQC9nUCXsfPUXyitSf0WHCxLU0oQlpHX6tPMibG8AQioXeq6N MXHnjOFaCkTTrXQ3fdrHvVc2KQoPOhQXEfxnJCJxiUWUMb2X2nRDNypeJLsOY4yu 3cICrpsiReMbY78ou0oxsUuGA7jK+9rDIbTZyF0OTz9uBXqEBYK6bun5IVuXBGF0 +iMY4ysiQh7+fFGiySv5Og2SWe1x+uc0mXQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvdejgdekvdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkf foggfgsedtkeertdertddtnecuhfhrohhmpegurghnuceoihesuggrnhdrghgrmhgvsheq necuggftrfgrthhtvghrnhepudejfefhjeetkeehtdefveffiefggeevffelkeethfelff ehgffgueefueevhfffnecuffhomhgrihhnpehlihgsshgulhdrohhrghdpghhithhhuhgs rdgtohhmnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epihesuggrnhdrghgrmhgvshdpnhgspghrtghpthhtohepuddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepghhuihigqdhprghttghhvghssehgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i3b5946ed:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Sun, 17 Nov 2024 00:33:34 -0500 (EST) From: dan Date: Sun, 17 Nov 2024 13:33:21 +0800 Message-ID: X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 Received-SPF: pass client-ip=103.168.172.152; envelope-from=i@dan.games; helo=fhigh-a1-smtp.messagingengine.com X-Spam_score_int: -34 X-Spam_score: -3.5 X-Spam_bar: --- X-Spam_report: (-3.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.696, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/sdl.scm (sdl3): New variable. Change-Id: I3e8c3c6290078da18139ce5375a8e1902a360f4a --- gnu/packages/sdl.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) base-commit: 0e1ffbc7f5f060f89c890472377a6102f27f6e9b diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 227846c042..0ed9d24f80 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -146,6 +146,40 @@ (define-public sdl2 (home-page "https://libsdl.org/") (license license:bsd-3))) +(define-public sdl3 + (package + (inherit sdl2) + (name "sdl3") + (version "3.1.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libsdl-org/SDL") + ;; Change to release- when 3.2.0 is released. + (commit (string-append "preview-" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1plyp0x8rvfwxpmfdjndj78kbfaisljjza700mvks4qyjjvmk2rh")))) + (build-system cmake-build-system) + (arguments + (list + #:tests? #f + #:configure-flags + #~(list "-DSDL_SHARED=ON" + "-DSDL_ALSA_SHARED=OFF" + "-DSDL_PULSEAUDIO_SHARED=OFF" + "-DSDL_X11_SHARED=OFF" + "-DSDL_WAYLAND_SHARED=OFF" + "-DSDL_KMSDRM=ON" + "-DSDL_KMSDRM_SHARED=OFF" + (string-append "-DCMAKE_INSTALL_RPATH=" + (string-join + (list + (string-append #$(this-package-input "eudev") "/lib") + (string-append #$(this-package-input "vulkan-loader") "/lib")) + ";"))))))) + (define-public sdl12-compat (package (name "sdl12-compat")