mirror of
https://github.com/Maks1mS/rg552-fancontrol-phosh-plugin.git
synced 2025-01-13 19:31:03 +03:00
fix: add support to build with custom phosh version
This commit is contained in:
parent
809c52d62d
commit
5b59b42746
@ -17,7 +17,9 @@ gtk_dep = dependency('gtk+-3.0', version: '>=3.22')
|
||||
libhandy_dep = dependency('libhandy-1', version: '>=1.1.90', fallback: ['libhandy', 'libhandy_dep'], default_options: ['introspection=disabled'])
|
||||
libnm_dep = dependency('libnm', version: '>=1.14')
|
||||
phosh_plugins_dep = dependency('phosh-plugins', required: true, method: 'pkg-config')
|
||||
libphosh_dep = dependency('libphosh-0.43', required: true, method: 'pkg-config')
|
||||
|
||||
libphosh_version = get_option('libphosh_version') != '' ? get_option('libphosh_version') : '0.44'
|
||||
libphosh_dep = dependency('libphosh-' + libphosh_version, required: true, method: 'pkg-config')
|
||||
|
||||
plugin_deps = [
|
||||
gobject_dep,
|
||||
|
1
meson_options.txt
Normal file
1
meson_options.txt
Normal file
@ -0,0 +1 @@
|
||||
option('libphosh_version', type: 'string', value: '', description: 'Custom version of libphosh to use (default: 0.44)')
|
Loading…
Reference in New Issue
Block a user