Files
chromebrew/packages/libavif.rb
github-actions[bot] 90b94eb1c6 AutoBuild: gimp started at 2025-06-24-21UTC (#12098)
* update gimp

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update babl

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update gegl

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update libheif

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update packages

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to gimp

* Add x86_64 binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add arm binaries

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix gem updater

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Fix ruby gem builds on i686.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/386 to gimp

* rebuild libavif

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* rebuild gegl and libheif for arm

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add built packages for linux/amd64 to gimp

* Add built packages for linux/arm/v7 to gimp

* update openblas

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update openblas

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update ruby_debug

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* sort

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust CREW_NPROC in const.rb

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add ruby_matrix to essential packages.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* cleanup

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Move to using M137 images as necessary.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2025-06-25 04:10:52 +00:00

49 lines
1.4 KiB
Ruby

require 'buildsystems/cmake'
class Libavif < CMake
description 'Library for encoding and decoding .avif files'
homepage 'https://github.com/AOMediaCodec/libavif'
version '1.3.0-1'
license 'BSD-2'
compatibility 'aarch64 armv7l x86_64'
source_url 'https://github.com/AOMediaCodec/libavif.git'
git_hashtag "v#{version.split('-').first}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '31bf34948e97975e1ca0f91627da1696280e8d3ce99b69c278e66d3a0e51b8ff',
armv7l: '31bf34948e97975e1ca0f91627da1696280e8d3ce99b69c278e66d3a0e51b8ff',
x86_64: '326b30866bffcf96ebc358dc231479c0b237c2965eb1744602f7bd1d7c21b4e9'
})
depends_on 'dav1d' => :build
depends_on 'gcc_lib' # R
depends_on 'gdk_pixbuf' # R
depends_on 'glibc' # R
depends_on 'glib' # R
depends_on 'libaom' => :build
depends_on 'libjpeg_turbo' # R
depends_on 'libpng' # R
depends_on 'libtiff' # L
depends_on 'libwebp' => :build
depends_on 'libxml2' # R
depends_on 'libyuv' # R
depends_on 'nasm' => :build
depends_on 'pandoc' => :build
depends_on 'pkgconf' => :build
depends_on 'rav1e' => :build
depends_on 'svt_av1' => :build
depends_on 'zlib' # R
gnome
cmake_options '-DAVIF_BUILD_APPS=ON \
-DAVIF_CODEC_AOM=ON \
-DAVIF_CODEC_DAV1D=ON \
-DAVIF_CODEC_RAV1E=ON \
-DAVIF_CODEC_SVT=ON \
-DAVIF_BUILD_GDK_PIXBUF=ON \
-DAVIF_BUILD_MAN_PAGES=OFF \
-DAVIF_LIBXML2=SYSTEM'
end