1 ;;; GNU Guix --- Functional package management for GNU
2 ;;; Copyright © 2018 Sou Bunnbu <iyzsong@member.fsf.org>
3 ;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
5 ;;; This file is part of GNU Guix.
7 ;;; GNU Guix is free software; you can redistribute it and/or modify it
8 ;;; under the terms of the GNU General Public License as published by
9 ;;; the Free Software Foundation; either version 3 of the License, or (at
10 ;;; your option) any later version.
12 ;;; GNU Guix is distributed in the hope that it will be useful, but
13 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
14 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ;;; GNU General Public License for more details.
17 ;;; You should have received a copy of the GNU General Public License
18 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
20 (define-module (gnu packages easyrpg)
21 #:use-module (guix packages)
22 #:use-module ((guix licenses) #:prefix license:)
23 #:use-module (guix download)
24 #:use-module (guix build-system gnu)
25 #:use-module (gnu packages audio)
26 #:use-module (gnu packages compression)
27 #:use-module (gnu packages fontutils)
28 #:use-module (gnu packages gtk)
29 #:use-module (gnu packages icu4c)
30 #:use-module (gnu packages image)
31 #:use-module (gnu packages mp3)
32 #:use-module (gnu packages pkg-config)
33 #:use-module (gnu packages pulseaudio)
34 #:use-module (gnu packages sdl)
35 #:use-module (gnu packages xdisorg)
36 #:use-module (gnu packages xiph)
37 #:use-module (gnu packages xml))
46 "https://easyrpg.org/downloads/player/" version
47 "/liblcf-" version ".tar.gz"))
50 "1qz387r4shbx48r3z7k8llkzz4b039zmak98wxpiwn6a23cssdn5"))))
51 (build-system gnu-build-system)
53 `(("pkg-config" ,pkg-config)))
55 ;; Required by 'liblcf.pc'.
58 (home-page "https://easyrpg.org/")
59 (synopsis "Library to handle RPG Maker 2000 and 2003 game data")
61 "@code{liblcf} is a library to handle RPG Maker 2000 and 2003 game data.
62 It can read and write LCF and XML files.")
63 ;; It includes a copy of Boost Preprocessor Cat and Stringize (boost-1.0):
64 ;; src/boost/preprocessor/config.hpp
65 ;; src/boost/preprocessor/cat.hpp
66 ;; src/boost/preprocessor/stringize.hpp
67 ;; and a copy of inih (bsd-3):
72 ;; TODO: Unbundle them.
73 (license license:expat)))
75 (define-public easyrpg-player
77 (name "easyrpg-player")
82 "https://easyrpg.org/downloads/player/" version
83 "/easyrpg-player-" version ".tar.gz"))
86 "1x81d1952w6vb939155bvs5p3shgsncxy305770izpp4pva1a8z0"))))
87 (build-system gnu-build-system)
90 (list (string-append "--with-bash-completion-dir="
91 %output "/etc/bash_completion.d/"))))
93 `(("pkg-config" ,pkg-config)))
95 `(("freetype" ,freetype)
96 ("harfbuzz" ,harfbuzz)
99 ("libsndfile" ,libsndfile)
100 ("libvorbis" ,libvorbis)
103 ("opusfile" ,opusfile)
105 ("sdl2-mixer" ,sdl2-mixer)
107 ("speexdsp" ,speexdsp)
108 ;; ("wildmidi" ,wildmidi) ; TODO: package it
110 (home-page "https://easyrpg.org/")
111 (synopsis "Play RPG Maker 2000 and 2003 games")
113 "EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003 and
114 EasyRPG games. It uses the LCF parser library (liblcf) to read RPG Maker game
116 ;; It bundles FMMidi YM2608 FM synthesizer emulator (bsd-3):
119 ;; and PicoJSON JSON parser/serializer (bsd-2):
121 ;; TODO: Unbundle them.
122 (license license:gpl3+)))