Files
chromebrew/packages/pygobject.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
1.0 KiB
Ruby

require 'buildsystems/python'
class Pygobject < Python
description 'PyGObject is a Python package which provides bindings for GObject based libraries such as GTK+, GStreamer, WebKitGTK+, GLib, GIO and many more.'
homepage 'https://pygobject.readthedocs.io/'
@_ver = '3.44.2'
version "#{@_ver}-py3.12"
license 'LGPL-2.1+'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://gitlab.gnome.org/GNOME/pygobject.git'
git_hashtag @_ver
binary_compression 'tar.zst'
binary_sha256({
aarch64: '4151689b78c1ed1417be8750710016a6380cbaba071e7f654a52196bd3c0366f',
armv7l: '4151689b78c1ed1417be8750710016a6380cbaba071e7f654a52196bd3c0366f',
x86_64: '6f9d0d03cf9e4ee58d255a9ade73023c2ec1dc1b4a10a26dbe6210c2af5decd4'
})
depends_on 'cairo' # R
depends_on 'gcc_lib' # R
depends_on 'glibc' # R
depends_on 'glib' # R
depends_on 'gobject_introspection' # R
depends_on 'harfbuzz' # R
depends_on 'libffi' # R
depends_on 'py3_pycairo' => :build
depends_on 'python3' # R
depends_on 'wayland' => :build
end