gnu: megaglest: Remove input labels.

* gnu/packages/games.scm (megaglest)[inputs]: Remove labels.
[arguments]: Use SEARCH-INPUT-DIRECTORY.
This commit is contained in:
Marius Bakke 2022-11-27 16:23:11 +01:00
parent 9d6b475c78
commit 42c59c7849
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -6137,21 +6137,21 @@ (define-public megaglest
"1ffck3ii1wp5k3nn5p0ga06jgp7pzk4zw0xln3xim2w7qrxzdzh9")))) "1ffck3ii1wp5k3nn5p0ga06jgp7pzk4zw0xln3xim2w7qrxzdzh9"))))
(build-system cmake-build-system) (build-system cmake-build-system)
(inputs (inputs
`(("curl" ,curl) (list curl
("fontconfig" ,fontconfig) fontconfig
("ftgl" ,ftgl) ftgl
("glew" ,glew) glew
("libjpeg-turbo" ,libjpeg-turbo) libjpeg-turbo
("megaglest-data" ,megaglest-data) megaglest-data
("mesa" ,mesa) mesa
("miniupnpc" ,miniupnpc) miniupnpc
("openal" ,openal) openal
("libircclient" ,libircclient) libircclient
("libpng" ,libpng) libpng
("libvorbis" ,libvorbis) libvorbis
("lua" ,lua) lua
("sdl2" ,sdl2) sdl2
("wxwidgets" ,wxwidgets))) wxwidgets))
(native-inputs (native-inputs
(list cppunit pkg-config)) (list cppunit pkg-config))
(arguments (arguments
@ -6159,8 +6159,8 @@ (define-public megaglest
(list "-DCMAKE_CXX_FLAGS=-fcommon" (list "-DCMAKE_CXX_FLAGS=-fcommon"
"-DCMAKE_C_FLAGS=-fcommon" "-DCMAKE_C_FLAGS=-fcommon"
(string-append "-DCUSTOM_DATA_INSTALL_PATH=" (string-append "-DCUSTOM_DATA_INSTALL_PATH="
(assoc-ref %build-inputs "megaglest-data") (search-input-directory %build-inputs
"/share/megaglest") "share/megaglest"))
"-DBUILD_MEGAGLEST_TESTS=ON") "-DBUILD_MEGAGLEST_TESTS=ON")
#:phases #:phases
(modify-phases %standard-phases (modify-phases %standard-phases