solus-project / linux-steam-integration

Helper for enabling better Steam integration on Linux
GNU Lesser General Public License v2.1
431 stars 19 forks source link

meson fails #11

Closed z3ntu closed 7 years ago

z3ntu commented 7 years ago
+ exec meson setup --prefix /usr --libdir /usr/lib --libexecdir /usr/lib --bindir /usr/bin --sbindir /usr/bin --includedir /usr/include --datadir /usr/share --mandir /usr/share/man --infodir /usr/share/info --localedir /usr/share/locale --sysconfdir /etc --localstatedir /var --sharedstatedir /var/lib --buildtype release --warnlevel 2 --wrap-mode nofallback linux-steam-integration-0.4 build -Dwith-shim=replacement -Dwith-frontend=true -Dwith-steam-binary=/usr/lib/steam/steam -D b_lto=true
The Meson build system
Version: 0.43.0
Source dir: /mnt/hdd/aur/maintained-packages/linux-steam-integration/src/linux-steam-integration-0.4
Build dir: /mnt/hdd/aur/maintained-packages/linux-steam-integration/src/build
Build type: native build

Meson encountered an error in file meson_options.txt, line 1, column 0:
Invalid kwargs for option "with-shim": "default"

A full log can be found at /mnt/hdd/aur/maintained-packages/linux-steam-integration/src/build/meson-logs/meson-log.txt

meson version is 0.43.0

Removing the default keyword plus value works

--- src/linux-steam-integration-0.4/meson_options.txt   2017-10-11 01:32:29.000000000 +0200
+++ meson_options.txt   2017-10-11 10:33:18.994398657 +0200
@@ -1,4 +1,4 @@
-option('with-shim', type : 'combo', choices : ['replacement', 'co-exist', 'none'], default: 'replacement',
+option('with-shim', type : 'combo', choices : ['replacement', 'co-exist', 'none'],
        description : 'control how the shim is deployed')
 option('with-steam-binary', type: 'string', description: 'Set the path to the Steam binary', value: '/usr/lib/steam/steam')
 option('with-frontend', type: 'boolean', description: 'Build the LSI Settings UI', value: false)
ikeydoherty commented 7 years ago

Sorry about that - dumb ass here ... :D