Translators: Add an AVIF translator
This translator only supports still images for now, and supports both decoding and encoding. Encoding support has been tested only with aom, rav1e doesn’t build on Haiku yet, see https://github.com/haikuports/haikuports/pull/5534 for one of the missing dependencies. Change-Id: I716f4b862ed316b89b227bfed38072d72074201f Reviewed-on: https://review.haiku-os.org/c/haiku/+/3040 Reviewed-by: waddlesplash <[email protected]> Reviewed-by: Jérôme Duval <[email protected]> Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
committed by
Jérôme Duval
parent
6bb8ecb02b
commit
147b47e086
@@ -650,6 +650,26 @@ if [ IsPackageAvailable libwebp_devel ] {
|
||||
}
|
||||
|
||||
|
||||
# libavif
|
||||
if [ IsPackageAvailable libavif_devel ] {
|
||||
if $(HAIKU_PACKAGING_ARCH) = x86_64 {
|
||||
ExtractBuildFeatureArchives libavif :
|
||||
file: base libavif
|
||||
runtime: lib
|
||||
file: devel libavif_devel
|
||||
depends: base
|
||||
library: $(developLibDir)/libavif.so.12
|
||||
headers: $(developHeadersDir) $(developHeadersDir)/avif
|
||||
;
|
||||
EnableBuildFeatures libavif ;
|
||||
} else {
|
||||
unavailableBuildFeatures += libavif ;
|
||||
}
|
||||
} else {
|
||||
unavailableBuildFeatures += libavif ;
|
||||
}
|
||||
|
||||
|
||||
# live555
|
||||
if [ IsPackageAvailable live555_devel ] {
|
||||
ExtractBuildFeatureArchives live555 :
|
||||
|
||||
@@ -124,6 +124,7 @@ SYSTEM_ADD_ONS_ACCELERANTS += [ FFilterByBuildFeatures
|
||||
] ;
|
||||
|
||||
SYSTEM_ADD_ONS_TRANSLATORS += [ FFilterByBuildFeatures
|
||||
AVIFTranslator@libavif
|
||||
BMPTranslator
|
||||
EXRTranslator@openexr
|
||||
GIFTranslator
|
||||
|
||||
Reference in New Issue
Block a user