gnu: naev: Update to 0.9.0.
* gnu/packages/games.scm (naev): Update to 0.9.0. [arguments]: Add phases to copy artwork and fix msgfmt path. [native-inputs]: Use new simplified format and add naev-artwork. [inputs]: Use new simplified format and add libunibreak and python-pyyaml. [license]: Remove licenses of artwork which is now found in the new naev-artwork package. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
		
							parent
							
								
									001fe78bbd
								
							
						
					
					
						commit
						9f202d492c
					
				
					 1 changed files with 31 additions and 25 deletions
				
			
		|  | @ -196,6 +196,7 @@ | ||||||
|   #:use-module (gnu packages texinfo) |   #:use-module (gnu packages texinfo) | ||||||
|   #:use-module (gnu packages textutils) |   #:use-module (gnu packages textutils) | ||||||
|   #:use-module (gnu packages tls) |   #:use-module (gnu packages tls) | ||||||
|  |   #:use-module (gnu packages unicode) | ||||||
|   #:use-module (gnu packages upnp) |   #:use-module (gnu packages upnp) | ||||||
|   #:use-module (gnu packages video) |   #:use-module (gnu packages video) | ||||||
|   #:use-module (gnu packages vulkan) |   #:use-module (gnu packages vulkan) | ||||||
|  | @ -7902,7 +7903,7 @@ ncurses for text display.") | ||||||
| (define-public naev | (define-public naev | ||||||
|   (package |   (package | ||||||
|     (name "naev") |     (name "naev") | ||||||
|     (version "0.8.2") |     (version "0.9.0") | ||||||
|     (source |     (source | ||||||
|      (origin |      (origin | ||||||
|        (method git-fetch) |        (method git-fetch) | ||||||
|  | @ -7911,28 +7912,40 @@ ncurses for text display.") | ||||||
|              (commit (string-append "v" version)))) |              (commit (string-append "v" version)))) | ||||||
|        (file-name (git-file-name name version)) |        (file-name (git-file-name name version)) | ||||||
|        (sha256 |        (sha256 | ||||||
|         (base32 "02rk2fv2nhx5xsi0cariisamab3dpncwps4q3i3ki0y27xpwxzfx")))) |         (base32 "0m4bny6wcxmqavi8sf87yjg4mamhyixzz4gb9m97xwkn6ga5669b")))) | ||||||
|     (build-system meson-build-system) |     (build-system meson-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      ;; XXX: Do not add debugging symbols, which cause the build to fail. |      ;; XXX: Do not add debugging symbols, which cause the build to fail. | ||||||
|      `(#:configure-flags (list "--buildtype=release") |      `(#:configure-flags (list "--buildtype=release") | ||||||
|        #:tests? #f))          ;sole test fails with a missing "/dev/dri" error |        #:tests? #f          ;sole test fails with a missing "/dev/dri" error | ||||||
|  |        #:phases | ||||||
|  |        (modify-phases %standard-phases | ||||||
|  |          (add-after 'unpack 'copy-artwork | ||||||
|  |            (lambda* (#:key inputs #:allow-other-keys) | ||||||
|  |              (copy-recursively (assoc-ref inputs "naev-artwork") | ||||||
|  |                                "artwork"))) | ||||||
|  |          (add-before 'configure 'find-msgfmt | ||||||
|  |            (lambda* (#:key inputs #:allow-other-keys) | ||||||
|  |              (substitute* "utils/build/gen_gettext_stats.py" | ||||||
|  |                (("msgfmt") | ||||||
|  |                 (search-input-file inputs "/bin/msgfmt")))))))) | ||||||
|     (native-inputs |     (native-inputs | ||||||
|      `(("gettext" ,gettext-minimal) |      (list gettext-minimal naev-artwork pkg-config)) | ||||||
|        ("pkg-config" ,pkg-config))) |  | ||||||
|     (inputs |     (inputs | ||||||
|      `(("freetype" ,freetype) |      (list freetype | ||||||
|        ("glpk" ,glpk) |            glpk | ||||||
|        ("libpng" ,libpng) |            libpng | ||||||
|        ("libvorbis" ,libvorbis) |            libunibreak | ||||||
|        ("libwebp" ,libwebp) |            libvorbis | ||||||
|        ("libxml2" ,libxml2) |            libwebp | ||||||
|        ("luajit" ,luajit) |            libxml2 | ||||||
|        ("openal" ,openal) |            luajit | ||||||
|        ("openblas" ,openblas) |            openal | ||||||
|        ("physfs" ,physfs) |            openblas | ||||||
|        ("sdl" ,(sdl-union (list sdl2 sdl2-image sdl2-mixer))) |            physfs | ||||||
|        ("suitesparse" ,suitesparse))) |            python-pyyaml | ||||||
|  |            (sdl-union (list sdl2 sdl2-image sdl2-mixer)) | ||||||
|  |            suitesparse)) | ||||||
|     (home-page "https://naev.org/") |     (home-page "https://naev.org/") | ||||||
|     (synopsis "Game about space exploration, trade and combat") |     (synopsis "Game about space exploration, trade and combat") | ||||||
|     (description |     (description | ||||||
|  | @ -7949,14 +7962,7 @@ of lore accompanying everything from planets to equipment.") | ||||||
|                    license:expat        ;edtaa3func.c |                    license:expat        ;edtaa3func.c | ||||||
|                    license:bsd-2        ;distance_field.c |                    license:bsd-2        ;distance_field.c | ||||||
|                    license:bsd-3        ;perlin.c |                    license:bsd-3        ;perlin.c | ||||||
|                    ;; Assets. |                    )))) | ||||||
|                    license:silofl1.1 |  | ||||||
|                    license:gpl2+ |  | ||||||
|                    license:cc0 |  | ||||||
|                    license:cc-by3.0 |  | ||||||
|                    license:cc-by-sa3.0 |  | ||||||
|                    license:cc-by4.0 |  | ||||||
|                    license:cc-by-sa4.0)))) |  | ||||||
| 
 | 
 | ||||||
| (define-public naev-artwork | (define-public naev-artwork | ||||||
|   (let ((version "0.9.0") |   (let ((version "0.9.0") | ||||||
|  |  | ||||||
		Reference in a new issue