From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ricardo Wurmus Subject: [PATCH 2/7] gnu: Add assimp. Date: Wed, 14 Sep 2016 11:38:07 +0200 Message-ID: <20160914093812.28422-3-rekado@elephly.net> References: <20160914093812.28422-1-rekado@elephly.net> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk6eE-0004Z9-FK for guix-devel@gnu.org; Wed, 14 Sep 2016 05:38:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bk6eC-0003F7-Pg for guix-devel@gnu.org; Wed, 14 Sep 2016 05:38:29 -0400 Received: from sender163-mail.zoho.com ([74.201.84.163]:21320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bk6eC-0003Ew-HW for guix-devel@gnu.org; Wed, 14 Sep 2016 05:38:28 -0400 In-Reply-To: <20160914093812.28422-1-rekado@elephly.net> 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" To: guix-devel@gnu.org * gnu/packages/graphics.scm (assimp): New variable. --- gnu/packages/graphics.scm | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index d0df830..930e198 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm @@ -60,7 +60,8 @@ #:use-module (gnu packages sdl) #:use-module (gnu packages video) #:use-module (gnu packages xml) - #:use-module (gnu packages xorg)) + #:use-module (gnu packages xorg) + #:use-module (gnu packages zip)) (define-public blender (package @@ -138,6 +139,34 @@ compositing and motion tracking, even video editing and game creation. The application can be customized via its API for Python scripting.") (license license:gpl2+))) +(define-public assimp + (package + (name "assimp") + (version "3.2") + (source (origin + (method url-fetch) + (uri (string-append "https://github.com/assimp/assimp/archive/v" + version ".zip")) + (file-name (string-append name "-" version ".zip")) + (sha256 + (base32 + "11sfahmbwnjjpd8vpzdsng1bx5mb0cmaqb20dz6sdwapqanqwmar")))) + (build-system cmake-build-system) + (inputs + `(("zlib" ,zlib))) + (native-inputs + `(("unzip" ,unzip))) + (home-page "http://assimp.org/") + (synopsis "Asset import library") + (description + "The Open Asset Import Library loads more than 40 3D file formats into +one unified data structure. Additionally, assimp features various mesh post +processing tools: normals and tangent space generation, triangulation, vertex +cache locality optimization, removal of degenerate primitives and duplicate +vertices, sorting by primitive type, merging of redundant materials and many +more.") + (license license:bsd-3))) + (define-public cgal (package (name "cgal") -- 2.10.0