build: Squeekboard build in meson
This commit is contained in:
		
							
								
								
									
										19
									
								
								meson.build
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								meson.build
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,19 @@
 | 
			
		||||
project(
 | 
			
		||||
    'squeekboard',
 | 
			
		||||
    'c',
 | 
			
		||||
    version: '1.0.9',
 | 
			
		||||
    license: 'GPLv3',
 | 
			
		||||
    meson_version: '>=0.40.1',
 | 
			
		||||
    default_options: [ 'warning_level=1', 'buildtype=debugoptimized', 'c_std=gnu11' ],
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
prefix = get_option('prefix')
 | 
			
		||||
datadir = join_paths(prefix, get_option('datadir'))
 | 
			
		||||
pkgdatadir = join_paths(datadir, meson.project_name())
 | 
			
		||||
 | 
			
		||||
install_data(
 | 
			
		||||
    'data/themes/default.css',
 | 
			
		||||
    install_dir: pkgdatadir + '/themes',
 | 
			
		||||
)
 | 
			
		||||
 | 
			
		||||
subdir('src')
 | 
			
		||||
		Reference in New Issue
	
	Block a user