• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1icondir = get_option('icon_directory')
2if icondir == ''
3	icondir = join_paths(get_option('prefix'), get_option('datadir'), 'icons')
4endif
5
6wayland_cursor = library(
7	'wayland-cursor',
8	sources: [
9		'wayland-cursor.c',
10		'os-compatibility.c',
11		'xcursor.c',
12	],
13	version: '0.0.0',
14	dependencies: [ wayland_client_dep ],
15	c_args: [ '-DICONDIR="@0@"'.format(icondir) ],
16	install: true,
17)
18
19install_headers('wayland-cursor.h')
20
21pkgconfig.generate(
22	name: 'Wayland Cursor',
23	description: 'Wayland cursor helper library',
24	version: meson.project_version(),
25	libraries: wayland_cursor,
26	filebase: 'wayland-cursor',
27)
28