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>
4 ;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
6 ;;; This file is part of GNU Guix.
8 ;;; GNU Guix is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; GNU Guix is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
21 (define-module (gnu packages easyrpg)
22 #:use-module (guix packages)
23 #:use-module ((guix licenses) #:prefix license:)
24 #:use-module (guix download)
25 #:use-module (guix build-system gnu)
26 #:use-module (gnu packages audio)
27 #:use-module (gnu packages compression)
28 #:use-module (gnu packages fontutils)
29 #:use-module (gnu packages gtk)
30 #:use-module (gnu packages icu4c)
31 #:use-module (gnu packages image)
32 #:use-module (gnu packages mp3)
33 #:use-module (gnu packages pkg-config)
34 #:use-module (gnu packages pulseaudio)
35 #:use-module (gnu packages sdl)
36 #:use-module (gnu packages xdisorg)
37 #:use-module (gnu packages xiph)
38 #:use-module (gnu packages xml))
47 "https://easyrpg.org/downloads/player/" version
48 "/liblcf-" version ".tar.gz"))
51 "0n2k4brd264jg9p6918x7dnb2iimpzjh8q3v1fws58450xbgnkqc"))))
52 (build-system gnu-build-system)
54 `(("pkg-config" ,pkg-config)))
56 ;; Required by 'liblcf.pc'.
59 (home-page "https://easyrpg.org/")
60 (synopsis "Library to handle RPG Maker 2000 and 2003 game data")
62 "@code{liblcf} is a library to handle RPG Maker 2000 and 2003 game data.
63 It can read and write LCF and XML files.")
64 ;; It includes a copy of Boost Preprocessor Cat and Stringize (boost-1.0):
65 ;; src/boost/preprocessor/config.hpp
66 ;; src/boost/preprocessor/cat.hpp
67 ;; src/boost/preprocessor/stringize.hpp
68 ;; and a copy of inih (bsd-3):
73 ;; TODO: Unbundle them.
74 (license license:expat)))
76 (define-public easyrpg-player
78 (name "easyrpg-player")
83 "https://easyrpg.org/downloads/player/" version
84 "/easyrpg-player-" version ".tar.gz"))
87 "1bai0mxjw1qvl2vcwgssycbyn0crk0b5l69ld9rawcs2nczb44s5"))))
88 (build-system gnu-build-system)
91 (list (string-append "--with-bash-completion-dir="
92 %output "/etc/bash_completion.d/"))))
94 `(("pkg-config" ,pkg-config)))
96 `(("freetype" ,freetype)
97 ("harfbuzz" ,harfbuzz)
100 ("libsndfile" ,libsndfile)
101 ("libvorbis" ,libvorbis)
104 ("opusfile" ,opusfile)
106 ("sdl2-mixer" ,sdl2-mixer)
108 ("speexdsp" ,speexdsp)
109 ;; ("wildmidi" ,wildmidi) ; TODO: package it
111 (home-page "https://easyrpg.org/")
112 (synopsis "Play RPG Maker 2000 and 2003 games")
114 "EasyRPG Player is a game interpreter to play RPG Maker 2000, 2003 and
115 EasyRPG games. It uses the LCF parser library (liblcf) to read RPG Maker game
117 ;; It bundles FMMidi YM2608 FM synthesizer emulator (bsd-3):
120 ;; and PicoJSON JSON parser/serializer (bsd-2):
122 ;; TODO: Unbundle them.
123 (license license:gpl3+)))