From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20=C4=8Cech?= Subject: [PATCH v5] gnu: Add bullet. Date: Mon, 15 Dec 2014 11:50:18 +0100 Message-ID: <1418640618-19580-1-git-send-email-sleep_walker@suse.cz> References: <87vbld9ojk.wl-sleep_walker@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37225) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0TEU-0004U2-Ss for guix-devel@gnu.org; Mon, 15 Dec 2014 05:50:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y0TEQ-00007C-D1 for guix-devel@gnu.org; Mon, 15 Dec 2014 05:50:30 -0500 Received: from cantor2.suse.de ([195.135.220.15]:49435 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y0TEQ-00006q-6O for guix-devel@gnu.org; Mon, 15 Dec 2014 05:50:26 -0500 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id AE59CAB09 for ; Mon, 15 Dec 2014 10:50:25 +0000 (UTC) In-Reply-To: <87vbld9ojk.wl-sleep_walker@suse.cz> 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 * gnu/packages/game-development.scm: New file * gnu-system.am (GNU_SYSTEM_MODULES): Add it. --- gnu-system.am | 1 + gnu/packages/game-development.scm | 47 +++++++++++++++++++++++++++++++++= ++++++ 2 files changed, 48 insertions(+) create mode 100644 gnu/packages/game-development.scm diff --git a/gnu-system.am b/gnu-system.am index e828c01..36913e1 100644 --- a/gnu-system.am +++ b/gnu-system.am @@ -96,6 +96,7 @@ GNU_SYSTEM_MODULES =3D \ gnu/packages/freeipmi.scm \ gnu/packages/ftp.scm \ gnu/packages/fribidi.scm \ + gnu/packages/game-development.scm \ gnu/packages/games.scm \ gnu/packages/gawk.scm \ gnu/packages/gcal.scm \ diff --git a/gnu/packages/game-development.scm b/gnu/packages/game-develo= pment.scm new file mode 100644 index 0000000..460a351 --- /dev/null +++ b/gnu/packages/game-development.scm @@ -0,0 +1,47 @@ +;;; GNU Guix --- Functional package management for GNU +;;; Copyright =C2=A9 2014 Tom=C3=A1=C5=A1 =C4=8Cech +;;; +;;; This file is part of GNU Guix. +;;; +;;; GNU Guix is free software; you can redistribute it and/or modify it +;;; under the terms of the GNU General Public License as published by +;;; the Free Software Foundation; either version 3 of the License, or (a= t +;;; your option) any later version. +;;; +;;; GNU Guix is distributed in the hope that it will be useful, but +;;; WITHOUT ANY WARRANTY; without even the implied warranty of +;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;;; GNU General Public License for more details. +;;; +;;; You should have received a copy of the GNU General Public License +;;; along with GNU Guix. If not, see . + +(define-module (gnu packages game-development) + #:use-module (guix licenses) + #:use-module (guix packages) + #:use-module (guix download) + #:use-module (guix build-system cmake) + #:use-module (gnu packages)) + +(define-public bullet + (package + (name "bullet") + (version "2.82-r2704") + (source (origin + (method url-fetch) + (uri (string-append "https://bullet.googlecode.com/files/b= ullet-" + version ".tgz")) + (sha256 + (base32 "1lnfksxa9b1slyfcxys313ymsllvbsnxh9np06azkbgpfvmw= kr37")))) + (build-system cmake-build-system) + (arguments '(#:tests? #f ; no 'test' target + #:configure-flags (list + (string-append + "-DCMAKE_CXX_FLAGS=3D-fPIC " + (or (getenv "CXXFLAGS") ""))))) + (home-page "http://bulletphysics.org/") + (synopsis "3D physics engine library") + (description + "Bullet is a physics engine library usable for collision detection.= It=20 +is used in some video games and movies.") + (license zlib))) --=20 2.0.4