Files
chromebrew/packages/shared_mime_info.rb
Satadru Pramanik, DO, MPH, MEng 8473668c0d Store perl/python/icu/ruby versions for packages as constants in const.rb (#10528)
* Adjust const.rb and packages to use generated version constants.

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

* Update gem binaries

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

* Update update scripts.

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

* Libxml2 => 2.13.4

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

* Adjust install.sh to handle new gem package versioning suffix.

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

* update openimageio

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

* update py3_ruff

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

* add pip binaries

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

* Move activesupport gem behind requre_gem function.

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

* Adjust file path in ruby_pry.

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

* lint

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

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
2024-09-26 15:27:10 -05:00

35 lines
1.2 KiB
Ruby

require 'buildsystems/meson'
class Shared_mime_info < Meson
description 'The shared-mime-info package contains the core database of common types and the update-mime-database command used to extend it.'
homepage 'https://freedesktop.org/wiki/Software/shared-mime-info/'
version "2.4-#{CREW_ICU_VER}"
license 'GPL-2'
compatibility 'all'
source_url 'https://gitlab.freedesktop.org/xdg/shared-mime-info.git'
git_hashtag version.split('-').first
binary_compression 'tar.zst'
binary_sha256({
aarch64: 'bfe13f241a7ed68d6dc8121d92c8d639dd7257cc4bc5880d63fc81ab380c4241',
armv7l: 'bfe13f241a7ed68d6dc8121d92c8d639dd7257cc4bc5880d63fc81ab380c4241',
i686: '37ab32faf04eb17cdb9c1e2c1bdfa38017eaaa5a620331c7487db72f3683bec6',
x86_64: '670616572e7fb982ba18cbdab595638c359f978a03aaa560ae9b4118b818e9d3'
})
depends_on 'gcc_lib' # R
depends_on 'gettext' => :build
depends_on 'glibc' # R
depends_on 'glib' # R
depends_on 'icu4c' # R
depends_on 'libxml2' # R
depends_on 'xmlto' => :build
def self.postinstall
puts
puts 'To update the database, execute the following:'.lightblue
puts "update-mime-database #{CREW_PREFIX}/share/mime".lightblue
puts
end
end