diff options
| author | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-11-03 16:22:56 +0100 |
|---|---|---|
| committer | Taylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com> | 2015-11-03 16:25:46 +0100 |
| commit | 9ff7827a21c13e67fb72196da10ab1ad30d79ddf (patch) | |
| tree | b07961c1fcb0947961cb664cf1bd09b114b46e7b | |
| parent | c869eed1a7034d1930343e70950c50a5a2814963 (diff) | |
gnu: nestopia-ue: Use system zlib.
* gnu/packages/games.scm (nestopia-ue): Remove bundled zlib, patch files
to include system zlib.h, and add zlib as input.
| -rw-r--r-- | gnu/packages/games.scm | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index 9c57a88deee..f522db30734 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm | |||
| @@ -1228,9 +1228,14 @@ world}, @uref{http://evolonline.org, Evol Online} and | |||
| 1228 | (base32 | 1228 | (base32 |
| 1229 | "07h49xwvg61dx20rk5p4r3ax2ar5y0ppvm60cqwqljyi9rdfbh7p")) | 1229 | "07h49xwvg61dx20rk5p4r3ax2ar5y0ppvm60cqwqljyi9rdfbh7p")) |
| 1230 | (modules '((guix build utils))) | 1230 | (modules '((guix build utils))) |
| 1231 | ;; We don't need libretro for the GNU/Linux build. | ||
| 1232 | (snippet | 1231 | (snippet |
| 1233 | '(delete-file-recursively "libretro")))) | 1232 | '(begin |
| 1233 | ;; We don't need libretro for the GNU/Linux build. | ||
| 1234 | (delete-file-recursively "libretro") | ||
| 1235 | ;; Use system zlib. | ||
| 1236 | (delete-file-recursively "source/zlib") | ||
| 1237 | (substitute* "source/core/NstZlib.cpp" | ||
| 1238 | (("#include \"../zlib/zlib.h\"") "#include <zlib.h>")))))) | ||
| 1234 | (build-system gnu-build-system) | 1239 | (build-system gnu-build-system) |
| 1235 | (native-inputs | 1240 | (native-inputs |
| 1236 | `(("pkg-config" ,pkg-config))) | 1241 | `(("pkg-config" ,pkg-config))) |
| @@ -1240,7 +1245,8 @@ world}, @uref{http://evolonline.org, Evol Online} and | |||
| 1240 | ("gtk+" ,gtk+) | 1245 | ("gtk+" ,gtk+) |
| 1241 | ("libarchive" ,libarchive) | 1246 | ("libarchive" ,libarchive) |
| 1242 | ("mesa" ,mesa) | 1247 | ("mesa" ,mesa) |
| 1243 | ("sdl2" ,sdl2))) | 1248 | ("sdl2" ,sdl2) |
| 1249 | ("zlib" ,zlib))) | ||
| 1244 | (arguments | 1250 | (arguments |
| 1245 | '(#:phases | 1251 | '(#:phases |
| 1246 | (modify-phases %standard-phases | 1252 | (modify-phases %standard-phases |
