Files
chromebrew/packages/libtiff.rb
chromebrew-actions[bot] 614f0d183e Remove libwebp from libtiff deps and build to avoid circular dependency. — libtiff: 4.7.1 → 4.7.1-1, Adjust automatic updater logic. (#14338)
* Remove libwebp from libtiff deps and build to avoid circular dependency.

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

* Add sphinx dep needed for documentation generation.

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

* libtiff_without_libwebp: Package File Update Run on linux/386 container.

* libtiff_without_libwebp: Package File Update Run on linux/amd64 container.

* libtiff_without_libwebp: Package File Update Run on linux/arm/v7 container.

* Adjust package testing infrastructure.

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

* Add pnpm package (#14339)

* Update Rubocop, handle gem outdated sources edge condition (#14336)

* Add unbuilt ruby_rubocop to updater-ruby_rubocop-1.84.0-ruby4.0

* Adjust to avoid circular dependency.

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

* Add fallback for outdated gem cache.

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

* Document reason for new require_gem rescue block.

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

* Add package_utils fallback if gitlab response is not json.

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

* Only do a gem check for the gem being installed.

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>

* Rename rest of ruby files in tests/

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

* Adjust automatically updatable package workflows.

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

* Fix package test invocation.

* Fix test extensions.

* Update package listing command in Updater.yml

* Fix syntax for package retrieval in Updater.yml

* Update Updater.yml

* Fix run command for getting updatable packages

* Update SHELLCHECK_OPTS

* Adjust automatically updatable packages check in version.rb

* lint

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: Ed Reel <edreel@gmail.com>
Co-authored-by: chromebrew-actions[bot] <220035932+chromebrew-actions[bot]@users.noreply.github.com>
Co-authored-by: satmandu <satmandu@users.noreply.github.com>
2026-01-28 00:33:26 +00:00

47 lines
1.6 KiB
Ruby

require 'buildsystems/cmake'
class Libtiff < CMake
description 'LibTIFF provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.'
homepage 'http://www.libtiff.org/'
version '4.7.1-1'
license 'libtiff'
compatibility 'all'
source_url 'https://github.com/libsdl-org/libtiff.git'
git_hashtag "v#{version.split('-').first}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '95226e90392eed108b5863a692f2c4bd39a1c524e1f330868e2f471655008310',
armv7l: '95226e90392eed108b5863a692f2c4bd39a1c524e1f330868e2f471655008310',
i686: 'ae9cbd6400afb1f4423fefe190336be4c9d90dec3b9aa2364e32f8fb837cb555',
x86_64: '1199576773668006bc8af5553deffda57a45e18c6b2d3654c0f87595ae721d74'
})
depends_on 'freeglut' unless ARCH == 'i686' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'imake' => :build
depends_on 'jbigkit' # R
depends_on 'libdeflate' # R
depends_on 'libglu' unless ARCH == 'i686' # R
depends_on 'libglvnd' unless ARCH == 'i686' # R
depends_on 'libice' unless ARCH == 'i686' # R
depends_on 'libjpeg_turbo' # R
depends_on 'libsm' unless ARCH == 'i686' # R
depends_on 'libx11' unless ARCH == 'i686' # R
depends_on 'libxi' unless ARCH == 'i686' # R
depends_on 'mesa' => :build unless ARCH == 'i686'
depends_on 'sphinx' => :build
depends_on 'wget2' => :build
depends_on 'xzutils' # R
depends_on 'zlib' # R
depends_on 'zstd' # R
gnome
cmake_options '-DBUILD_SHARED_LIBS=ON \
-Dtiff-static=OFF \
-Dtiff-tests=OFF \
-Dtiff-contrib=OFF'
end