freeorion: Make tiff optional
tiff isn't that common like jpeg or png and doesn't enjoy the best track record when it comes to security. Change-Id: I72f9ad45da2d796122756fd98ea3ce53334438e5
This commit is contained in:
		
							parent
							
								
									1d065bd169
								
							
						
					
					
						commit
						79a207b9fa
					
				| @ -20,6 +20,7 @@ LICENCES="GPL-2 LGPL-2.1 CCPL-Attribution-ShareAlike-3.0" | ||||
| SLOT="0" | ||||
| PLATFORMS="~amd64" | ||||
| MYOPTIONS=" | ||||
|     tiff [[ description = [ Enable TIFF texture support ] ]] | ||||
|     ( providers: ijg-jpeg jpeg-turbo ) [[ number-selected = exactly-one ]] | ||||
| " | ||||
| 
 | ||||
| @ -36,11 +37,11 @@ DEPENDENCIES=" | ||||
|         media-libs/libpng:= | ||||
|         media-libs/libvorbis | ||||
|         media-libs/openal | ||||
|         media-libs/tiff | ||||
|         x11-dri/glu | ||||
|         x11-dri/mesa | ||||
|         providers:ijg-jpeg? ( media-libs/jpeg:= ) | ||||
|         providers:jpeg-turbo? ( media-libs/libjpeg-turbo ) | ||||
|         tiff? ( media-libs/tiff ) | ||||
| " | ||||
| 
 | ||||
| BUGS_TO="hasufell@posteo.de" | ||||
| @ -49,6 +50,7 @@ CMAKE_SRC_CONFIGURE_PARAMS=( | ||||
|     -DRELEASE_COMPILE_FLAGS="" | ||||
|     -DCMAKE_SKIP_RPATH=ON | ||||
| ) | ||||
| CMAKE_SRC_CONFIGURE_OPTION_ENABLES=( 'tiff TIFF_TEXTURES' ) | ||||
| 
 | ||||
| src_prepare() { | ||||
|     cmake_src_prepare | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Heiko Becker
						Heiko Becker