summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics/ktx-software/ktx-software_5.0.0.bb
blob: 8db0c79b8740846a6605b99c35b8436b5ad6fed8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
SUMMARY = "KTX (Khronos Texture) Library and Tools "
DESCRIPTION = "KTX (Khronos Texture) is a lightweight container for textures for OpenGL, Vulkan and other GPU APIs."
HOMEPAGE = "https://github.com/KhronosGroup/KTX-Software"

LICENSE = "Apache-2.0 & BSD-1-Clause & BSD-2-Clause & BSD-3-Clause & BSL-1.0 \
	   & CC-BY-3.0 & CC-BY-4.0 & CC0-1.0 & Zlib & MIT & HI-Trademark & fmt & \
	   Kodak & PNGSuite & ETCSLA & Cesium-Trademark-Terms"

LIC_FILES_CHKSUM = "file://REUSE.toml;md5=9f87c97ba36aab42411bf93c094a61f2"

SRC_URI = "git://github.com/KhronosGroup/KTX-Software.git;protocol=https;branch=main;lfs=0"
SRCREV = "6269d2752ed04446c2d4749f54f3aad4f94555b5"

inherit cmake

# BASISU does not work with avx
TUNE_CCARGS:append:x86-64 = " -mno-avx"

PACKAGECONFIG[ocl_backend] = "-DBASISU_SUPPORT_OPENCL=ON, -DBASISU_SUPPORT_OPENCL=OFF, virtual/libopencl1"