mirror of
https://github.com/hyprwm/hyprland-protocols.git
synced 2024-11-26 06:45:58 +01:00
meson: fix protocols path
This commit is contained in:
parent
d7d403b711
commit
49667f8fbf
1 changed files with 2 additions and 1 deletions
|
@ -25,6 +25,7 @@ endforeach
|
||||||
foreach protocol_file : protocol_files
|
foreach protocol_file : protocol_files
|
||||||
protocol_install_dir = fs.parent(join_paths(
|
protocol_install_dir = fs.parent(join_paths(
|
||||||
get_option('datadir'),
|
get_option('datadir'),
|
||||||
|
'hyprland-protocols',
|
||||||
protocol_file,
|
protocol_file,
|
||||||
))
|
))
|
||||||
install_data(
|
install_data(
|
||||||
|
@ -39,7 +40,7 @@ pkgconfig_configuration = configuration_data()
|
||||||
pkgconfig_configuration.set('prefix', get_option('prefix'))
|
pkgconfig_configuration.set('prefix', get_option('prefix'))
|
||||||
pkgconfig_configuration.set('datarootdir', '${prefix}/@0@'.format(get_option('datadir')))
|
pkgconfig_configuration.set('datarootdir', '${prefix}/@0@'.format(get_option('datadir')))
|
||||||
pkgconfig_configuration.set('abs_top_srcdir', hyprland_protocols_srcdir)
|
pkgconfig_configuration.set('abs_top_srcdir', hyprland_protocols_srcdir)
|
||||||
pkgconfig_configuration.set('PACKAGE', '')
|
pkgconfig_configuration.set('PACKAGE', 'hyprland-protocols')
|
||||||
pkgconfig_configuration.set('HYPRLAND_PROTOCOLS_VERSION', hyprland_protocols_version)
|
pkgconfig_configuration.set('HYPRLAND_PROTOCOLS_VERSION', hyprland_protocols_version)
|
||||||
|
|
||||||
pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig')
|
pkg_install_dir = join_paths(get_option('datadir'), 'pkgconfig')
|
||||||
|
|
Loading…
Reference in a new issue