Added recipes for some Linux system libraries.

This commit is contained in:
2025-01-12 13:11:43 +01:00
parent 10a5239b7f
commit bca2398828
9 changed files with 195 additions and 9 deletions

View File

@@ -0,0 +1,25 @@
import os
from SCons.Script import *
def available(env: Environment):
if os.name != 'posix':
return 'Fontconfig is only available on Linux.'
def versions(env: Environment, update: bool = False):
if os.name == 'posix':
return [(0, 0, 0)]
else:
return []
def dependencies(env: Environment, version) -> 'dict':
return {
'freetype': {}
}
def cook(env: Environment, version) -> dict:
return {
'LIBS': ['fontconfig']
}