mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-10-03 23:48:34 +00:00
Hack stuff up so we can build shim again
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
This commit is contained in:
+13
@@ -34,8 +34,21 @@ add_global_arguments(am_cflags, language: 'c')
|
||||
dep_gtk3 = dependency('gtk+-3.0', version: '>= 3.4.0')
|
||||
|
||||
cdata = configuration_data()
|
||||
|
||||
cdata.set_quoted('PACKAGE_NAME', meson.project_name())
|
||||
|
||||
prefix = get_option('prefix')
|
||||
datadir = join_paths(prefix, get_option('datadir'))
|
||||
vendordir = join_paths(datadir, 'defaults', meson.project_name())
|
||||
sysconfdir = join_paths(prefix, get_option('sysconfdir'))
|
||||
cdata.set_quoted('SYSTEMCONFDIR', sysconfdir)
|
||||
cdata.set_quoted('VENDORDIR', vendordir)
|
||||
|
||||
# TODO: Make this come from the meson_options.txt
|
||||
cdata.set_quoted('LSI_PRELOAD_LIBS', '/usr/\$LIB/libxcb.so.1:/usr/\$LIB/libX11.so.6:/usr/\$LIB/libstdc++.so.6')
|
||||
cdata.set_quoted('STEAM_BINARY', '/usr/lib64/steam/steam')
|
||||
cdata.set('REPLACE_STEAM', '1')
|
||||
|
||||
config_h = configure_file(
|
||||
configuration: cdata,
|
||||
output: 'config.h',
|
||||
|
||||
@@ -17,3 +17,4 @@ nica_includes = [
|
||||
]
|
||||
|
||||
subdir('intercept')
|
||||
subdir('shim')
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
# TODO: Expose this as an option!
|
||||
shim_target_name = 'steam'
|
||||
|
||||
shim_sources = [
|
||||
'lsi.c',
|
||||
'shim.c',
|
||||
]
|
||||
|
||||
main_intercept = executable(
|
||||
shim_target_name,
|
||||
sources: shim_sources + nica_sources,
|
||||
include_directories: nica_includes,
|
||||
install: true,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user