diff options
| author | Ricardo Wurmus <rekado@elephly.net> | 2026-06-05 09:21:46 +0200 |
|---|---|---|
| committer | Ricardo Wurmus <rekado@elephly.net> | 2026-06-09 09:15:43 +0200 |
| commit | 2793cd7a7bad2bf7976f1bbad8f0127a5ba7a2e1 (patch) | |
| tree | 01484dd21e5428495fef5910b6782818675b10c9 /gnu/packages/emulators.scm | |
| parent | 746399cd147664ad039beb70ad95701f99a32cba (diff) | |
gnu: emulation-station: Fix build with recent boost.
* gnu/packages/emulators.scm (emulation-station)[arguments]: Add phase
'boost-compatibility.
[inputs]: Drop labels.
Change-Id: Ibaf0c3b93e22e0890cd41f9fd0970b241ac411ec
Diffstat (limited to 'gnu/packages/emulators.scm')
| -rw-r--r-- | gnu/packages/emulators.scm | 30 |
1 files changed, 21 insertions, 9 deletions
diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index e6a1341b97d..34be30e589c 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm | |||
| @@ -917,16 +917,28 @@ MIPS target, targeting mips-linux-gnu or mips-elf.") | |||
| 917 | "1cva0ns650v17lfn8in095zci6lc43d23f1x3mlzc41qfqa6mbd1")))) | 917 | "1cva0ns650v17lfn8in095zci6lc43d23f1x3mlzc41qfqa6mbd1")))) |
| 918 | (build-system cmake-build-system) | 918 | (build-system cmake-build-system) |
| 919 | (arguments | 919 | (arguments |
| 920 | '(#:tests? #f)) ; no tests | 920 | (list |
| 921 | #:tests? #f ; no tests | ||
| 922 | #:phases | ||
| 923 | '(modify-phases %standard-phases | ||
| 924 | (add-after 'unpack 'boost-compatibility | ||
| 925 | (lambda _ | ||
| 926 | ;; Boost 1.89 no longer provides the system stub. | ||
| 927 | (substitute* "CMakeLists.txt" | ||
| 928 | (("Boost REQUIRED COMPONENTS system") | ||
| 929 | "Boost REQUIRED COMPONENTS")) | ||
| 930 | (substitute* "es-app/src/views/gamelist/ISimpleGameListView.h" | ||
| 931 | (("#include \"views/gamelist/IGameListView.h\"" m) | ||
| 932 | (string-append m "\n#include <stack>")))))))) | ||
| 921 | (inputs | 933 | (inputs |
| 922 | `(("alsa-lib" ,alsa-lib) | 934 | (list alsa-lib |
| 923 | ("boost" ,boost) | 935 | boost |
| 924 | ("curl" ,curl) | 936 | curl |
| 925 | ("eigin" ,eigen) | 937 | eigen |
| 926 | ("freeimage" ,freeimage) | 938 | freeimage |
| 927 | ("freetype" ,freetype) | 939 | freetype |
| 928 | ("mesa" ,mesa) | 940 | mesa |
| 929 | ("sdl2" ,sdl2))) | 941 | sdl2)) |
| 930 | (synopsis "Video game console emulator front-end") | 942 | (synopsis "Video game console emulator front-end") |
| 931 | (description "EmulationStation provides a graphical front-end to a large | 943 | (description "EmulationStation provides a graphical front-end to a large |
| 932 | number of video game console emulators. It features an interface that is | 944 | number of video game console emulators. It features an interface that is |
