Files
chromebrew/packages/cogl.rb
Maximilian Downey Twiss eb14c41653 Remove compatibility from packages with incompatible dependencies (#9458)
* Remove i686 compatibility from packages with dependencies incompatible with i686

* Remove armv7l compatibility from packages with dependencies incompatible with arvm7l

* Abort builds/installs if the package has incompatible dependencies
2024-03-11 13:09:12 -04:00

38 lines
1.2 KiB
Ruby

require 'package'
class Cogl < Package
description 'Library for using 3D graphics hardware for rendering'
homepage 'https://www.clutter-project.org'
version '1.22.8'
license 'MIT and BSD'
compatibility 'x86_64 aarch64 armv7l'
source_url 'https://ftp.gnome.org/pub/GNOME/sources/cogl/1.22/cogl-1.22.8.tar.xz'
source_sha256 'a805b2b019184710ff53d0496f9f0ce6dcca420c141a0f4f6fcc02131581d759'
binary_compression 'tar.xz'
binary_sha256({
aarch64: '43ec43e1186c754119bf75e1414e32ddf79d6ee17dd8a3d63ca55765d715d3da',
armv7l: '43ec43e1186c754119bf75e1414e32ddf79d6ee17dd8a3d63ca55765d715d3da',
x86_64: '866c2dbd788c46ffc48b903d6d4732f6f5646f1c9c18959fce21a2dbe0d382cc'
})
depends_on 'libxcomposite'
depends_on 'libxrandr'
depends_on 'mesa'
depends_on 'pango'
depends_on 'gdk_pixbuf'
depends_on 'gstreamer'
depends_on 'wayland'
depends_on 'glib'
depends_on 'gobject_introspection'
def self.build
system "./configure #{CREW_OPTIONS} --enable-cairo=yes --enable-cogl-pango=yes --enable-gdk-pixbuf=yes --enable-cogl-gst=yes --enable-kms-egl-platform --enable-wayland-egl-platform --enable-wayland-egl-server"
system 'make'
end
def self.install
system "make install DESTDIR=#{CREW_DEST_DIR}"
end
end