From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AARvHpuMGWDbNQAA0tVLHw (envelope-from ) for ; Tue, 02 Feb 2021 17:32:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id GMDqGZuMGWCPLQAAbx9fmQ (envelope-from ) for ; Tue, 02 Feb 2021 17:32:11 +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 F26C09402BD for ; Tue, 2 Feb 2021 17:32:10 +0000 (UTC) Received: from localhost ([::1]:40248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6zX7-0000RE-SB for larch@yhetil.org; Tue, 02 Feb 2021 12:32:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:39866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6zX0-0000R7-9k for guix-patches@gnu.org; Tue, 02 Feb 2021 12:32:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:52826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l6zX0-0003Gr-2Z for guix-patches@gnu.org; Tue, 02 Feb 2021 12:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l6zWz-0006bV-V4 for guix-patches@gnu.org; Tue, 02 Feb 2021 12:32:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#44768] [PATCH v4] gnu: Add lightspark. References: <20201120200551.19145-1-monego@posteo.net> In-Reply-To: <20201120200551.19145-1-monego@posteo.net> Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 02 Feb 2021 17:32:01 +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: moreinfo patch To: 44768@debbugs.gnu.org Received: via spool by 44768-submit@debbugs.gnu.org id=B44768.161228706622587 (code B ref 44768); Tue, 02 Feb 2021 17:32:01 +0000 Received: (at 44768) by debbugs.gnu.org; 2 Feb 2021 17:31:06 +0000 Received: from localhost ([127.0.0.1]:36139 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6zW1-0005np-J0 for submit@debbugs.gnu.org; Tue, 02 Feb 2021 12:31:06 -0500 Received: from mout02.posteo.de ([185.67.36.66]:48599) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6zVy-0005fG-5B for 44768@debbugs.gnu.org; Tue, 02 Feb 2021 12:30:59 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 356732400FB for <44768@debbugs.gnu.org>; Tue, 2 Feb 2021 18:30:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1612287051; bh=vWmW/LAi0KDplsWZQUILs/gx71kjIU8ARnOAsgol1GA=; h=From:To:Cc:Subject:Date:From; b=PmF6TvGtmMYcBhxKv79PDFjJ2/wA4ZMW8t+NrwlxqwXDLuZCu0PtT9HshnPnal/hx QuZEps6YZNiRc/5LxcIE3xnmJmmTiNgolNawSmAXdvd+isKIBtrjZEqEOkQxZ/cuM/ k5sZZ/ZzyYm4Qkj8Seudtb/cq4s9m8xbZF+dqy4BThOWKicXUEns4DS9i2PD1Q/wCu Gk9AiMXM3gS0hoKEZym471IrY4DM7BN9YDx86kpTHNhY2fh1FjkkLEaO8NMg5Mhk/p r/m8rrYPwTYAx0uzUD0eLC0MrgGZ6LBU9sATQ2jEN/iJfeGFmvQwVT/teaDhmNLa87 vsb0gTDlsfM/g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4DVX093KtHz6tmK; Tue, 2 Feb 2021 18:30:49 +0100 (CET) From: Vinicius Monego Date: Tue, 2 Feb 2021 14:29:34 -0300 Message-Id: <20210202172934.16915-1-monego@posteo.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vinicius Monego Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.26 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=PmF6TvGt; 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-Migadu-Queue-Id: F26C09402BD X-Spam-Score: -0.26 X-Migadu-Scanner: scn0.migadu.com X-TUID: s+clhQSgdKU0 * gnu/packages/animation.scm (lightspark): New variable. --- Updated check phase, copyright year and licenses. gnu/packages/animation.scm | 70 +++++++++++++++++++++++++++++++++++++- 1 file changed, 69 insertions(+), 1 deletion(-) diff --git a/gnu/packages/animation.scm b/gnu/packages/animation.scm index c92c4ae7e7..180a9e4ee4 100644 --- a/gnu/packages/animation.scm +++ b/gnu/packages/animation.scm @@ -2,7 +2,7 @@ ;;; Copyright © 2015, 2017 Ricardo Wurmus ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019 Pkill -9 -;;; Copyright © 2020 Vinicius Monego +;;; Copyright © 2020, 2021 Vinicius Monego ;;; ;;; This file is part of GNU Guix. ;;; @@ -25,10 +25,12 @@ #: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 (guix build-system meson) #: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 check) @@ -45,6 +47,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) @@ -320,6 +324,70 @@ 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 'prepare-build-environment + (lambda _ + ;; Write default config file to ./etc instead of /etc. + (substitute* "CMakeLists.txt" (("\\/etc") "etc")) + #t)) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (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) + ("gnutls" ,gnutls) + ("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 (list license:lgpl3+ ;lightspark + license:mpl2.0 ;avmplus + license:bsd-2 ;jxrlib + license:expat)))) ;pugixml, PerlinNoise + (define-public papagayo (let ((commit "e143684b30e59fe4a554f965cb655d23cbe93ee7") (revision "1")) -- 2.30.0