Files
chromebrew/packages/exempi.rb
Maximilian Downey Twiss f6dc1d8d4e Derive binary_url in package.rb (#7082)
* Add binary_compression value to each package

* Remove binary_url values and arrays

* Handle packages with empty binary_sha256 arrays (either missing binaries or not compiled by us)
2024-01-25 11:03:31 -05:00

30 lines
1.1 KiB
Ruby

# Adapted from Arch Linux exempi PKGBUILD at:
# https://github.com/archlinux/svntogit-packages/raw/packages/exempi/trunk/PKGBUILD
require 'buildsystems/autotools'
class Exempi < Autotools
description 'A library to parse XMP metadata'
homepage 'https://libopenraw.freedesktop.org/wiki/Exempi'
version '2.6.4'
license 'BSD'
compatibility 'all'
source_url "https://gitlab.freedesktop.org/libopenraw/exempi/-/archive/#{version}/exempi-#{version}.tar.bz2"
source_sha256 '8d34b3860192f6d2ac017537884b099b13a492ed4884130c65da5173d5162590'
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'f9ed9074c94cbf4bc9888698b3d953e5d1174c810c09701e336eaf0555449766',
armv7l: 'f9ed9074c94cbf4bc9888698b3d953e5d1174c810c09701e336eaf0555449766',
i686: '3a1b5f6f68ec1742e71a1113a9034b47d57255782e7e81a51287d23916fcb735',
x86_64: 'e3651643073233be72ced1c0d4644ac7577d04b8fecd4d69be694af3adcdf950'
})
depends_on 'autoconf_archive' => :build
depends_on 'boost' => :build
depends_on 'expat' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'zlibpkg' # R
end