From patchwork Thu Nov 15 11:12:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?b?5a6L5paH5q2m?= X-Patchwork-Id: 211 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C12811680F; Thu, 15 Nov 2018 11:13:15 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) by mira.cbaines.net (Postfix) with ESMTPS id 6900F167CA for ; Thu, 15 Nov 2018 11:13:15 +0000 (GMT) Received: from localhost ([::1]:38185 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNFaE-0001g1-Lc for patchwork@mira.cbaines.net; Thu, 15 Nov 2018 06:13:14 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39346) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNFa7-0001fM-RU for guix-patches@gnu.org; Thu, 15 Nov 2018 06:13:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNFa5-0005EH-40 for guix-patches@gnu.org; Thu, 15 Nov 2018 06:13:07 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48784) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gNFa3-0005DO-H2 for guix-patches@gnu.org; Thu, 15 Nov 2018 06:13:04 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gNFa3-0002Ln-Bx for guix-patches@gnu.org; Thu, 15 Nov 2018 06:13:03 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#33396] [PATCH 2/2] gnu: Add easyrpg-player. Resent-From: =?utf-8?b?5a6L5paH5q2m?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 15 Nov 2018 11:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33396 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 33396@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15422803829017 (code B ref -1); Thu, 15 Nov 2018 11:13:03 +0000 Received: (at submit) by debbugs.gnu.org; 15 Nov 2018 11:13:02 +0000 Received: from localhost ([127.0.0.1]:53040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNFa1-0002LE-Mr for submit@debbugs.gnu.org; Thu, 15 Nov 2018 06:13:02 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57916) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gNFZy-0002Kp-4e for submit@debbugs.gnu.org; Thu, 15 Nov 2018 06:12:59 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNFZr-00058M-M3 for submit@debbugs.gnu.org; Thu, 15 Nov 2018 06:12:52 -0500 Received: from lists.gnu.org ([2001:4830:134:3::11]:34694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gNFZr-00058A-IP for submit@debbugs.gnu.org; Thu, 15 Nov 2018 06:12:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39262) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gNFZp-0001f6-B5 for guix-patches@gnu.org; Thu, 15 Nov 2018 06:12:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gNFZk-00053l-NE for guix-patches@gnu.org; Thu, 15 Nov 2018 06:12:49 -0500 Received: from rezeros.cc ([2001:19f0:7001:2f3e:5400:ff:fe84:e55d]:45596) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gNFZi-0004zI-IL for guix-patches@gnu.org; Thu, 15 Nov 2018 06:12:44 -0500 Received: from localhost (117.176.216.5 [117.176.216.5]) by rezeros.cc (OpenSMTPD) with ESMTPSA id 45fd9465 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 15 Nov 2018 11:12:30 +0000 (UTC) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 78c631d6; Thu, 15 Nov 2018 11:12:24 +0000 (UTC) From: =?utf-8?b?5a6L5paH5q2m?= Date: Thu, 15 Nov 2018 19:12:23 +0800 Message-Id: <20181115111223.1982-2-iyzsong@member.fsf.org> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181115111223.1982-1-iyzsong@member.fsf.org> References: <20181115111223.1982-1-iyzsong@member.fsf.org> MIME-Version: 1.0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?utf-8?b?5a6L5paH5q2m?= Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/easyrpg.scm (easyrpg-player): New variable. --- gnu/packages/easyrpg.scm | 55 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/gnu/packages/easyrpg.scm b/gnu/packages/easyrpg.scm index 573f3e992..dfb81d289 100644 --- a/gnu/packages/easyrpg.scm +++ b/gnu/packages/easyrpg.scm @@ -21,8 +21,18 @@ #:use-module ((guix licenses) #:prefix license:) #:use-module (guix download) #:use-module (guix build-system gnu) + #:use-module (gnu packages audio) + #:use-module (gnu packages compression) + #:use-module (gnu packages fontutils) + #:use-module (gnu packages gtk) #:use-module (gnu packages icu4c) + #:use-module (gnu packages image) + #:use-module (gnu packages mp3) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages sdl) + #:use-module (gnu packages xdisorg) + #:use-module (gnu packages xiph) #:use-module (gnu packages xml)) (define-public liblcf @@ -52,3 +62,48 @@ It can read and write LCF and XML files.") ;; It bundles Boost Preprocessor Cat and Stringize (boost-1.0) and a copy ;; of inih (bsd-3). (license license:expat))) + +(define-public easyrpg-player + (package + (name "easyrpg-player") + (version "0.5.4") + (source (origin + (method url-fetch) + (uri (string-append + "https://easyrpg.org/downloads/player/" version + "/easyrpg-player-" version ".tar.gz")) + (sha256 + (base32 + "0w0idr61slg5828j1q31c1kh1h0ryp8psc006y06jph5pp3qgm48")))) + (build-system gnu-build-system) + (arguments + '(#:configure-flags + (list (string-append "--with-bash-completion-dir=" + %output "/etc/bash_completion.d/")))) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("freetype" ,freetype) + ("harfbuzz" ,harfbuzz) + ("liblcf" ,liblcf) + ("libpng" ,libpng) + ("libsndfile" ,libsndfile) + ("libvorbis" ,libvorbis) + ("libxmp" ,libxmp) + ("mpg123" ,mpg123) + ("opusfile" ,opusfile) + ("pixman" ,pixman) + ("sdl2-mixer" ,sdl2-mixer) + ("sdl2" ,sdl2) + ("speexdsp" ,speexdsp) + ;; ("wildmidi" ,wildmidi) ; TODO: package it + ("zlib" ,zlib))) + (home-page "https://easyrpg.org/") + (synopsis "Play RPG Maker 2000 and 2003 games") + (description + "EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003 and +EasyRPG games. It uses the LCF parser library (liblcf) to read RPG Maker game +data.") + ;; It bundles FMMidi YM2608 FM synthesizer emulator (bsd-3) and PicoJSON + ;; JSON parser/serializer (bsd-2). + (license license:gpl3+)))