From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:51561) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j351p-00043j-2o for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j351l-0006Db-VT for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:08 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:58737) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j351l-0006DP-SD for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j351l-0005me-OT for guix-patches@gnu.org; Sat, 15 Feb 2020 16:31:05 -0500 Subject: [bug#39619] [PATCH 2/4] gnu: Add tweeny. Resent-Message-ID: From: nixo Date: Sat, 15 Feb 2020 22:30:28 +0100 Message-Id: <20200215213030.21121-2-nicolo@nixo.xyz> In-Reply-To: <20200215213030.21121-1-nicolo@nixo.xyz> References: <20200215213030.21121-1-nicolo@nixo.xyz> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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: 39619@debbugs.gnu.org Cc: nixo * gnu/packages/cpp.scm (tweeny): New variable. --- gnu/packages/cpp.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm index ae1e3e3356..8098553828 100644 --- a/gnu/packages/cpp.scm +++ b/gnu/packages/cpp.scm @@ -410,3 +410,31 @@ SObjectizer supports not only the Actor Model but also the Publish-Subscribe Model and CSP-like channels. The goal of SObjectizer is to simplify development of concurrent and multithreaded applications in C++.") (license license:bsd-3))) + +(define-public tweeny + (package + (name "tweeny") + (version "3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mobius3/tweeny.git") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1adm4c17pi7xf3kf6sjyxibz5rdg1ka236p72xsm6js4j9gzlbp4")))) + (arguments '(#:tests? #f)) ; no check target + (build-system cmake-build-system) + (home-page "https://mobius3.github.io/tweeny/") + (synopsis "Modern C++ tweening library") + (description "@code{Tweeny} is an inbetweening library designed for the +creation of complex animations for games and other beautiful interactive +software. It leverages features of modern @code{C++} to empower developers with +an intuitive API for declaring tweenings of any type of value, as long as they +support arithmetic operations. The goal of @code{Tweeny} is to provide means to +create fluid interpolations when animating position, scale, rotation, frames or +other values of screen objects, by setting their values as the tween starting +point and then, after each tween step, plugging back the result.") + (license license:expat))) -- 2.25.0