Files
chromebrew/packages/sord.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
987 B
Ruby

# Adapted from Arch Linux sord PKGBUILD at:
# https://github.com/archlinux/svntogit-community/raw/packages/sord/trunk/PKGBUILD
require 'buildsystems/meson'
class Sord < Meson
description 'A lightweight C library for storing RDF data in memory'
homepage 'https://drobilla.net/software/sord/'
version '0.16.14'
license 'ISC'
compatibility 'all'
source_url 'https://github.com/drobilla/sord.git'
git_hashtag "v#{version}"
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'c9667c90d72b3604b7ecda2fc66ea57e2d2d3bf0b8593b195d5286c9170bf19f',
armv7l: 'c9667c90d72b3604b7ecda2fc66ea57e2d2d3bf0b8593b195d5286c9170bf19f',
i686: '44c32a9b15f9cc90e5b70e11d26880efa75ce577cfa602b465047dffbe069a7c',
x86_64: '260e36fbe792e2ee149ee8c0de2e97459b446ce4a1c3b34f334fb4ef25f45da2'
})
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'pcre' # R
depends_on 'serd' # R
meson_options '-Ddocs=disabled \
-Dtests=disabled'
end