mirror of https://github.com/nirenjan/libx52.git
fix: Make pc files not include -Ilibx52/ in CFLAGS
Modern libraries do not handhold the user into just calling the header, instead they namespace it, e.g. libevdev/libevdev.h. Because we already install our headers under the libx52/ directory, having the pkg-config files specify `-Ilibx52/` is a legacy from the old days, and should no longer be used. This commit also adds pkg-config files for x52dcomm and vkm, installing them in their proper locations.pull/66/head
parent
7bdaea442e
commit
9c47e78fc5
|
|
@ -15,6 +15,12 @@ lib_libx52dcomm = library('x52dcomm', libx52dcomm_sources,
|
|||
install: true,
|
||||
include_directories: includes)
|
||||
|
||||
pkgconfig.generate(lib_libx52dcomm,
|
||||
name: 'x52dcomm',
|
||||
description: 'Client library for communicating with the x52d X52 daemon.',
|
||||
version: libx52dcomm_version,
|
||||
)
|
||||
|
||||
x52d_sources = [
|
||||
'x52d_main.c',
|
||||
'x52d_config_parser.c',
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ install_headers('libx52.h', subdir: meson.project_name())
|
|||
pkgconfig.generate(lib_libx52,
|
||||
name: 'libx52',
|
||||
description: 'Linux/Unix library to control Saitek X52/X52Pro joystick extended functionality.',
|
||||
subdirs: meson.project_name(),
|
||||
version: libx52_version)
|
||||
|
||||
# Unit tests for libx52
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ install_headers('libx52io.h', subdir: meson.project_name())
|
|||
pkgconfig.generate(lib_libx52io,
|
||||
name: 'libx52io',
|
||||
description: 'Linux/Unix library to read and parse X52 input',
|
||||
subdirs: meson.project_name(),
|
||||
version: libx52io_version,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,6 @@ install_headers('libx52util.h', subdir: meson.project_name())
|
|||
pkgconfig.generate(lib_libx52util,
|
||||
name: 'libx52util',
|
||||
description: 'Extra utility functions to manage X52 extended functionality',
|
||||
subdirs: meson.project_name(),
|
||||
version: libx52util_version,
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -56,6 +56,5 @@ endif
|
|||
install_headers('vkm.h', subdir: 'vkm')
|
||||
pkgconfig.generate(lib_vkm,
|
||||
name: 'vkm',
|
||||
description: 'Linux/Unix library to control Saitek X52/X52Pro joystick extended functionality.',
|
||||
subdirs: meson.project_name(),
|
||||
description: 'Virtual keyboard/mouse interface library for injecting events into the host OS.',
|
||||
version: vkm_version)
|
||||
|
|
|
|||
Loading…
Reference in New Issue