Files
chromebrew/packages/sratom.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

31 lines
974 B
Ruby

# Adapted from Arch Linux sratom PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/sratom/trunk/PKGBUILD
require 'buildsystems/meson'
class Sratom < Meson
description 'An LV2 Atom RDF serialisation library'
homepage 'https://drobilla.net/software/sratom/'
version '0.6.14'
license 'ISC'
compatibility 'all'
source_url 'https://github.com/lv2/sratom.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: '4a241eab0e75c3e2ee29821ced0df0871384d77a901c331dcf75881114a76db8',
armv7l: '4a241eab0e75c3e2ee29821ced0df0871384d77a901c331dcf75881114a76db8',
i686: '1ee7375c5ee4a22fc0db8d537e3242e33138f1ef0b77427d1597a4d74844d58d',
x86_64: '0e47e2f1d4880e7fd301b53e40507b58510dd1cac83cef8869ce96caf0bba0b3'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'serd' # R
depends_on 'sord' # R
meson_options '-Ddocs=disabled \
-Dtests=disabled'
end