From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6NquH/Cavl9qDwAA0tVLHw (envelope-from ) for ; Wed, 25 Nov 2020 17:57:04 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id sDmWG/Cavl+LHwAAB5/wlQ (envelope-from ) for ; Wed, 25 Nov 2020 17:57:04 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D7D6B94011C for ; Wed, 25 Nov 2020 17:57:03 +0000 (UTC) Received: from localhost ([::1]:40768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khySq-0004CS-4D for larch@yhetil.org; Wed, 25 Nov 2020 12:20:20 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:45258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khySZ-00040S-2T for guix-patches@gnu.org; Wed, 25 Nov 2020 12:20:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:53504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khySY-0000Ez-Rh for guix-patches@gnu.org; Wed, 25 Nov 2020 12:20:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khySY-0003qg-OH for guix-patches@gnu.org; Wed, 25 Nov 2020 12:20:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44768] [PATCH v3 2/2] gnu: Add lightspark. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 25 Nov 2020 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44768 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 44768@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 44768-submit@debbugs.gnu.org id=B44768.160632477214722 (code B ref 44768); Wed, 25 Nov 2020 17:20:02 +0000 Received: (at 44768) by debbugs.gnu.org; 25 Nov 2020 17:19:32 +0000 Received: from localhost ([127.0.0.1]:36812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khyS3-0003pO-UZ for submit@debbugs.gnu.org; Wed, 25 Nov 2020 12:19:32 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khyS1-0003p2-Uj for 44768@debbugs.gnu.org; Wed, 25 Nov 2020 12:19:30 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4118616005F for <44768@debbugs.gnu.org>; Wed, 25 Nov 2020 18:19:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1606324764; bh=U0Ew98KEEWDmKcSMvr23v0mMxzyVXv6QPIpnLYIWJT4=; h=From:To:Cc:Subject:Date:From; b=U8sy0SBItzmZ6yVg2/Po41hw4IFPlV6kjBbr7Il4yyNVCfmwO2KMAQSvwA9e4Q8W+ Lx4beaVApIW9IL6ptgMI3+JtO1RZ6NymlfUQcPrtY6HWVtfHNt+cqdU/aV4VR6PRLK D8eVyqgHI/d5Qt6uXSdiboZ/yejROsaqZ/gOvwcTAHNu/+DPVQzedhbpF9n+/A9GRX kJFZelCdZenurQQoR2TMxyhpWzw5MjUTe1br6NHs1xUA7kgZRIrUZnPJqauhTsVSA9 OpJaN8ApJG1qPxbFSgAaxUl6Glss0Oj//Vde2JAvT0appybvST8ufpIKSSLeH9YYTX t0fDOqjKq3mnA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Ch70p5dVdz6tmN; Wed, 25 Nov 2020 18:19:22 +0100 (CET) From: Vinicius Monego Date: Wed, 25 Nov 2020 14:18:57 -0300 Message-Id: <20201125171857.28120-2-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201125171857.28120-1-monego@posteo.net> References: <20201125171857.28120-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: ns3122888.ip-94-23-21.eu Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=U8sy0SBI; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: h0Hee9jRP1e/ * gnu/packages/animation.scm (lightspark): New variable. --- Rebased on the previous commit gnu/packages/animation.scm | 64 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm index 102b0f47f7..9b94c1d214 100644 --- a/gnu/packages/animation.scm +++ b/gnu/packages/animation.scm @@ -25,9 +25,11 @@ #:use-module (guix git-download) #:use-module (guix utils) #:use-module ((guix licenses) #:prefix license:) + #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (gnu packages) #:use-module (gnu packages algebra) + #:use-module (gnu packages assembly) #:use-module (gnu packages autotools) #:use-module (gnu packages boost) #:use-module (gnu packages compression) @@ -43,6 +45,8 @@ #:use-module (gnu packages image) #:use-module (gnu packages imagemagick) #:use-module (gnu packages jemalloc) + #:use-module (gnu packages networking) + #:use-module (gnu packages pcre) #:use-module (gnu packages perl) #:use-module (gnu packages pkg-config) #:use-module (gnu packages pulseaudio) @@ -397,3 +401,63 @@ audio or video backends, ensuring good performance.") (home-page "https://www.gnu.org/software/gnash/") (license license:gpl3+)))) +(define-public lightspark + (package + (name "lightspark") + (version "0.8.3") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lightspark/lightspark") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0rgqqppnv4n3kv623sgr1zpc2fdsnrqzfiqgk4clcmfl5ipklg6f")))) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ;requires Adobe Flex SDK, see README.tests + #:phases + (modify-phases %standard-phases + (add-after 'unpack 'relative-etc-dir + ;; Write default config file to ./etc instead of /etc. + (lambda _ + (substitute* "CMakeLists.txt" (("\\/etc") "etc")) + #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (if tests? + (begin + (invoke "./tests")) + #t)))))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("nasm" ,nasm) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("python" ,python-wrapper))) + (inputs + `(("cairo" ,cairo) + ("curl" ,curl) + ("ffmpeg" ,ffmpeg) + ("freeglut" ,freeglut) + ("glew" ,glew) + ("glibmm" ,glibmm) + ("gnash" ,gnash) + ("libjpeg" ,libjpeg-turbo) + ("openssl" ,openssl) + ("pango" ,pango) + ("pcre2" ,pcre2) + ("rtmpdump" ,rtmpdump) + ("sdl2" ,sdl2) + ("sdl2-mixer" ,sdl2-mixer) + ("zlib" ,zlib))) + (home-page "https://lightspark.github.io/") + (synopsis "Flash player implementation") + (description + "Lightspark is a Flash player implementation for playing files in the SWF +format. Lightspark can run as a web browser plugin or as a standalone +application. Lightspark supports SWF files written on all versions of the +ActionScript language.") + (license license:lgpl3+))) -- 2.20.1