all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#53016] [PATCH] gnu: freedroidrpg: Update to 1.0rc1.
@ 2022-01-04 22:23 Felix Gruber
  2022-05-18 15:05 ` bug#53016: " Maxim Cournoyer
  0 siblings, 1 reply; 2+ messages in thread
From: Felix Gruber @ 2022-01-04 22:23 UTC (permalink / raw)
  To: 53016; +Cc: Felix Gruber

* gnu/packages/games.scm (freedroidrpg): Update to 1.0rc1.
  [source]: Handle rc suffix in version number.
  [arguments]: Add -fcommon to CFLAGS.
  [inputs]: Use new simplified format. Add glew.
---
 gnu/packages/games.scm | 40 ++++++++++++++++++++++------------------
 1 file changed, 22 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 5896fa4333..123136f65c 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -1349,20 +1349,23 @@ effects and music to make a completely free game.")
 (define-public freedroidrpg
   (package
     (name "freedroidrpg")
-    (version "0.16.1")
+    (version "1.0rc1")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "http://ftp.osuosl.org/pub/freedroid/"
-                           "freedroidRPG-" (version-major+minor version) "/"
-                           "freedroidRPG-" version ".tar.gz"))
+       (uri (let ((major+minor
+                    (version-major+minor
+                      (string-replace-substring version "rc" "."))))
+             (string-append "http://ftp.osuosl.org/pub/freedroid/"
+                            "freedroidRPG-" major+minor "/"
+                            "freedroidRPG-" version ".tar.gz")))
        (sha256
-        (base32 "0n4kn38ncmcy3lrxmq8fjry6c1z50z4q1zcqfig0j4jb0dsz2va2"))))
+        (base32 "1rywdngsfhkxv5gsya3dvv8kjxs5zjv57a3h364q9llsc82kdcxa"))))
     (build-system gnu-build-system)
     (arguments
      `(#:configure-flags
        (list
-        (string-append "CFLAGS="
+        (string-append "CFLAGS=-fcommon "
                        "-I" (assoc-ref %build-inputs "sdl-gfx") "/include/SDL "
                        "-I" (assoc-ref %build-inputs "sdl-image") "/include/SDL "
                        "-I" (assoc-ref %build-inputs "sdl-mixer") "/include/SDL")
@@ -1374,18 +1377,19 @@ effects and music to make a completely free game.")
     (native-inputs
      (list pkg-config))
     (inputs
-     `(("glu" ,glu)
-       ("libjpeg" ,libjpeg-turbo)
-       ("libogg" ,libogg)
-       ("libpng" ,libpng)
-       ("libvorbis" ,libvorbis)
-       ("mesa" ,mesa)
-       ("python" ,python-wrapper)
-       ("sdl" ,sdl)
-       ("sdl-gfx" ,sdl-gfx)
-       ("sdl-image" ,sdl-image)
-       ("sdl-mixer" ,sdl-mixer)
-       ("zlib" ,zlib)))
+     (list glew
+           glu
+           libjpeg-turbo
+           libogg
+           libpng
+           libvorbis
+           mesa
+           python-wrapper
+           sdl
+           sdl-gfx
+           sdl-image
+           sdl-mixer
+           zlib))
     (home-page "https://www.freedroid.org/")
     (synopsis "Isometric role-playing game against killer robots")
     (description
-- 
2.30.2





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#53016: [PATCH] gnu: freedroidrpg: Update to 1.0rc1.
  2022-01-04 22:23 [bug#53016] [PATCH] gnu: freedroidrpg: Update to 1.0rc1 Felix Gruber
@ 2022-05-18 15:05 ` Maxim Cournoyer
  0 siblings, 0 replies; 2+ messages in thread
From: Maxim Cournoyer @ 2022-05-18 15:05 UTC (permalink / raw)
  To: Felix Gruber; +Cc: 53016-done

Hello,

Felix Gruber <felgru@posteo.net> writes:

> * gnu/packages/games.scm (freedroidrpg): Update to 1.0rc1.
>   [source]: Handle rc suffix in version number.
>   [arguments]: Add -fcommon to CFLAGS.
>   [inputs]: Use new simplified format. Add glew.

Updated to 1.0rc2.

Thank you!

Maxim




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-18 15:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-04 22:23 [bug#53016] [PATCH] gnu: freedroidrpg: Update to 1.0rc1 Felix Gruber
2022-05-18 15:05 ` bug#53016: " Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.