mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-08 23:18:10 -05:00
* Add unbuilt tinysparql to updater-tinysparql-3.10.0 * updater-tinysparql-3.10.0: Build Run on linux/arm/v7. * updater-tinysparql-3.10.0: Build Run on linux/amd64. * updater-tinysparql-3.10.0: Package File Update Run on linux/amd64 container. --------- Co-authored-by: satmandu <satmandu@users.noreply.github.com> Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
52 lines
1.7 KiB
Ruby
52 lines
1.7 KiB
Ruby
require 'buildsystems/meson'
|
|
|
|
class Tinysparql < Meson
|
|
description 'Low-footprint RDF triple store library with SPARQL 1.1 interface'
|
|
homepage 'https://gitlab.gnome.org/GNOME/tinysparql'
|
|
version "3.10.0-#{CREW_ICU_VER}"
|
|
license 'GPLv2+'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://gitlab.gnome.org/GNOME/tinysparql.git'
|
|
git_hashtag version.split('-').first
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'dd02fa649ae933b0b209726664ce5ac117be92e8922e41978bb6ce1a3a23f649',
|
|
armv7l: 'dd02fa649ae933b0b209726664ce5ac117be92e8922e41978bb6ce1a3a23f649',
|
|
x86_64: 'e31c1af716df083985e8c7102e4fd913357b622a435678562086325c61e9ff23'
|
|
})
|
|
|
|
depends_on 'avahi' # R
|
|
depends_on 'dbus' => :build
|
|
depends_on 'docbook_xml' => :build
|
|
depends_on 'gcc_lib' # R
|
|
depends_on 'glib' # R
|
|
depends_on 'glibc' # R
|
|
depends_on 'gobject_introspection' => :build
|
|
depends_on 'gtk_doc' => :build
|
|
depends_on 'icu4c' # R
|
|
depends_on 'json_glib' # R
|
|
depends_on 'libsoup' # R
|
|
depends_on 'libstemmer' # R
|
|
depends_on 'libxml2' # R
|
|
depends_on 'py3_asciidoc' => :build
|
|
depends_on 'py3_pygobject' => :build
|
|
depends_on 'sqlite' # R
|
|
depends_on 'util_linux' => :build
|
|
depends_on 'vala' => :build
|
|
|
|
gnome
|
|
|
|
meson_options "-Ddbus_services_dir=#{CREW_PREFIX}/share/dbus-1/services/ \
|
|
-Ddocs=false \
|
|
-Dman=false \
|
|
-Dsystemd_user_services=false"
|
|
|
|
def self.patch
|
|
return unless Gem::Version.new(LIBC_VERSION.to_s) < Gem::Version.new('2.37') && %w[aarch64 armv7l].include?(ARCH)
|
|
|
|
system "sed -i '/Get an appropriate 4-digit year modifier for strftime/,/^endif/d' meson.build"
|
|
system "sed -i \"s/year_modifier/'%4Y'/g\" meson.build"
|
|
end
|
|
end
|