From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 1/2] gnu: Add sdl-union. Date: Sun, 02 Nov 2014 12:13:40 -0500 Message-ID: <8761exwmnv.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <878ujtwmpn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/x-diff Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:36526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkyit-0007Kf-PB for guix-devel@gnu.org; Sun, 02 Nov 2014 12:13:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xkyil-0006mB-Pz for guix-devel@gnu.org; Sun, 02 Nov 2014 12:13:51 -0500 Received: from na3sys009aog136.obsmtp.com ([74.125.149.85]:40663) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xkyil-0006m3-ID for guix-devel@gnu.org; Sun, 02 Nov 2014 12:13:43 -0500 Received: by mail-qa0-f47.google.com with SMTP id dc16so7341990qab.6 for ; Sun, 02 Nov 2014 09:13:42 -0800 (PST) Received: from izanagi (209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com. [209.6.40.86]) by mx.google.com with ESMTPSA id v9sm14733652qab.36.2014.11.02.09.13.40 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Nov 2014 09:13:41 -0800 (PST) In-Reply-To: <878ujtwmpn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Content-Disposition: inline; filename=0001-gnu-Add-sdl-union.patch List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org >From db0ee9ba8666d1f5b2cd080f837fdae3e1ee329b Mon Sep 17 00:00:00 2001 From: David Thompson Date: Sun, 2 Nov 2014 11:54:20 -0500 Subject: [PATCH 1/2] gnu: Add sdl-union. * gnu/packages/sdl.scm (sdl-union): New variable. --- gnu/packages/sdl.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index b9b5262..fc374c0 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -22,6 +22,7 @@ #:use-module (guix packages) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (guix build-system trivial) #:use-module ((gnu packages fontutils) #:prefix font:) #:use-module (gnu packages image) #:use-module (gnu packages linux) @@ -240,3 +241,28 @@ SDL.") (description "SDL_ttf is a TrueType font rendering library for SDL.") (home-page "www.libsdl.org/projects/SDL_ttf/") (license zlib))) + +(define-public sdl-union + (package + (name "sdl-union") + (version (package-version sdl)) + (source #f) + (build-system trivial-build-system) + (arguments + '(#:modules ((guix build union)) + #:builder (begin + (use-modules (ice-9 match) + (guix build union)) + (match %build-inputs + (((names . directories) ...) + (union-build (assoc-ref %outputs "out") + directories)))))) + (inputs `(("sdl" ,sdl) + ("sdl-gfx" ,sdl-gfx) + ("sdl-image" ,sdl-image) + ("sdl-mixer" ,sdl-mixer) + ("sdl-ttf" ,sdl-ttf))) + (synopsis "Union of all SDL libraries.") + (description "Union of all SDL libraries.") + (home-page (package-home-page sdl)) + (license (package-license sdl)))) -- 2.1.1