From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxfAV-0007SF-3D for guix-patches@gnu.org; Mon, 10 Apr 2017 15:40:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxfAQ-0007tu-3z for guix-patches@gnu.org; Mon, 10 Apr 2017 15:40:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:43332) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cxfAQ-0007tq-1i for guix-patches@gnu.org; Mon, 10 Apr 2017 15:40:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cxfAP-0000Z4-RY for guix-patches@gnu.org; Mon, 10 Apr 2017 15:40:01 -0400 Subject: bug#26435: [PATCH] gnu: Add cdogs-sdl. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cxf9o-0007Nz-TN for guix-patches@gnu.org; Mon, 10 Apr 2017 15:39:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cxf9j-0007YT-UV for guix-patches@gnu.org; Mon, 10 Apr 2017 15:39:24 -0400 Received: from sender-of-o51.zoho.com ([135.84.80.216]:21002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cxf9j-0007Xf-MD for guix-patches@gnu.org; Mon, 10 Apr 2017 15:39:19 -0400 From: Ricardo Wurmus Date: Mon, 10 Apr 2017 21:39:12 +0200 Message-Id: <20170410193912.9696-1-rekado@elephly.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26435@debbugs.gnu.org Cc: Ricardo Wurmus * gnu/packages/games.scm (cdogs-sdl): New variable. --- gnu/packages/games.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index ed04239c6..71f35e2fe 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -3515,3 +3515,40 @@ emerges from a sewer hole and pulls her below ground.") license:expat license:public-domain license:cc-by-sa3.0))))) + +(define-public cdogs-sdl + (package + (name "cdogs-sdl") + (version "0.6.4") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/cxong/cdogs-sdl/" + "archive/" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 + "08c3y8ijimx6mp0gm90abz4lsnbflqka519q2v0id0096vsc2pxn")))) + (build-system cmake-build-system) + (arguments + `(#:configure-flags + (list (string-append "-DCDOGS_DATA_DIR=" + (assoc-ref %outputs "out") + "/share/cdogs-sdl/")))) + (inputs + `(("sdl2" ,sdl2) + ("sdl2-image" ,sdl2-image) + ("sdl2-mixer" ,sdl2-mixer))) + (home-page "http://cxong.github.io/cdogs-sdl/") + (synopsis "Classic overhead run-and-gun game") + (description "C-Dogs SDL is a classic overhead run-and-gun game, +supporting up to 4 players in co-op and deathmatch modes. Customize your +player, choose from many weapons, and blast, slide and slash your way through +over 100 user-created campaigns.") + ;; GPLv2+ for code (includes files under BSD-2 and BSD-3), + ;; CC0/CC-BY/CC-BY-SA for assets. + (license (list license:gpl2+ + license:bsd-2 + license:bsd-3 + license:cc0 + license:cc-by3.0 + license:cc-by-sa3.0)))) -- 2.12.2