mirror of
https://repo.dec05eba.com/gpu-screen-recorder
synced 2026-05-06 06:50:43 +09:00
Don't install files using absolute paths
Also, move gsr-nvidia.conf to /lib/modprobe.d, which is the intended location for installed packages.
This commit is contained in:
@@ -72,7 +72,7 @@ executable('gsr-kms-server', 'kms/server/kms_server.c', dependencies : dependenc
|
|||||||
executable('gpu-screen-recorder', src, dependencies : dep, install : true)
|
executable('gpu-screen-recorder', src, dependencies : dep, install : true)
|
||||||
|
|
||||||
if get_option('systemd') == true
|
if get_option('systemd') == true
|
||||||
install_data(files('extra/gpu-screen-recorder.service'), install_dir : '/usr/lib/systemd/user')
|
install_data(files('extra/gpu-screen-recorder.service'), install_dir : 'lib/systemd/user')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('capabilities') == true
|
if get_option('capabilities') == true
|
||||||
@@ -80,5 +80,5 @@ if get_option('capabilities') == true
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if get_option('nvidia_suspend_fix') == true
|
if get_option('nvidia_suspend_fix') == true
|
||||||
install_data(files('extra/gsr-nvidia.conf'), install_dir : '/etc/modprobe.d')
|
install_data(files('extra/gsr-nvidia.conf'), install_dir : 'lib/modprobe.d')
|
||||||
endif
|
endif
|
||||||
|
|||||||
Reference in New Issue
Block a user