mirror of https://github.com/nirenjan/libx52.git
fix: Update pkgconfig to use correct details
parent
5f8177f16b
commit
74229b391d
|
|
@ -1,3 +1,5 @@
|
|||
libx52_version = '2.4.2'
|
||||
|
||||
libx52_files = files(
|
||||
'x52_control.c',
|
||||
'x52_core.c',
|
||||
|
|
@ -9,12 +11,16 @@ libx52_files = files(
|
|||
|
||||
lib_libx52 = library('x52', libx52_files,
|
||||
install: true,
|
||||
version: '2.4.2',
|
||||
version: libx52_version,
|
||||
dependencies: [dep_libusb, dep_intl],
|
||||
include_directories: [includes])
|
||||
|
||||
install_headers('libx52.h', subdir: meson.project_name())
|
||||
pkgconfig.generate(lib_libx52)
|
||||
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
|
||||
libx52_string_test = executable('libx52-string-test',
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
libx52io_version = '1.0.0'
|
||||
|
||||
libx52io_files = files(
|
||||
'io_core.c',
|
||||
'io_axis.c',
|
||||
|
|
@ -8,12 +10,17 @@ libx52io_files = files(
|
|||
|
||||
lib_libx52io = library('x52io', libx52io_files,
|
||||
install: true,
|
||||
version: '1.0.0',
|
||||
version: libx52io_version,
|
||||
dependencies: [dep_hidapi, dep_intl],
|
||||
include_directories: [includes])
|
||||
|
||||
install_headers('libx52io.h', subdir: meson.project_name())
|
||||
pkgconfig.generate(lib_libx52io)
|
||||
pkgconfig.generate(lib_libx52io,
|
||||
name: 'libx52io',
|
||||
description: 'Linux/Unix library to read and parse X52 input',
|
||||
subdirs: meson.project_name(),
|
||||
version: libx52io_version,
|
||||
)
|
||||
|
||||
test_axis = executable('test-axis', 'test_axis.c', libx52io_files,
|
||||
build_by_default: false,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
# libx52util
|
||||
libx52util_version = '1.0.1'
|
||||
gen_script = files('x52_char_map_gen.py')[0]
|
||||
|
||||
util_char_map = custom_target('util-char-map',
|
||||
|
|
@ -10,12 +11,17 @@ util_char_map = custom_target('util-char-map',
|
|||
|
||||
lib_libx52util = library('x52util', util_char_map, 'x52_char_map_lookup.c',
|
||||
install: true,
|
||||
version: '1.0.1',
|
||||
version: libx52util_version,
|
||||
include_directories: [includes],
|
||||
)
|
||||
|
||||
install_headers('libx52util.h', subdir: meson.project_name())
|
||||
pkgconfig.generate(lib_libx52util)
|
||||
pkgconfig.generate(lib_libx52util,
|
||||
name: 'libx52util',
|
||||
description: 'Extra utility functions to manage X52 extended functionality',
|
||||
subdirs: meson.project_name(),
|
||||
version: libx52util_version,
|
||||
)
|
||||
|
||||
test_gen_script = files('x52_map_test_gen.py')[0]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue