Files
chromebrew/packages/mesa_utils.rb
Satadru Pramanik 665b38f135 X11 updates, and updates of packages which used to depend upon xorg_lib (#7634)
* initial updates

* mesa_utils -> 8.5.0

* libx11 -> 1.8.2

* mesa updates to support libglvnd

* more updates

* rev xorg_server

* more changes

* cleanup xhost

* tk -> 8.6.12

* add binaries

* add more binaries

* sound updates

* lint fixup

* adjust libsoup2

* fixup chromaprint deps

* change pulseaudio deps

* cleanup gstreamer deps

* rebuild libxrender

* make gsettings dep adjustments

* modify chromaprint deps

* modify alsa_plugins deps

* adjust libgconf deps

* pulseaudio -> 16.1

* cleanup libglu

* mpv -> 0.35.0

* modify sommelier mesa logic

* make llvm build dep of mesa

* cleanup more deps

* lint

* fix indentation
2022-11-15 11:04:24 -06:00

47 lines
1.8 KiB
Ruby

require 'package'
class Mesa_utils < Package
description 'Open-source implementation of the OpenGL specification - Provides tools such as glxinfo, glxgears'
homepage 'https://www.mesa3d.org'
version '8.5.0'
license 'mesa'
compatibility 'all'
source_url 'https://gitlab.freedesktop.org/mesa/demos.git'
git_hashtag "mesa-demos-#{version}"
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mesa_utils/8.5.0_armv7l/mesa_utils-8.5.0-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mesa_utils/8.5.0_armv7l/mesa_utils-8.5.0-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mesa_utils/8.5.0_i686/mesa_utils-8.5.0-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/mesa_utils/8.5.0_x86_64/mesa_utils-8.5.0-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '0b3f8f18610f75ed076605c2a05e9748710939b29bbe8279b5957bddeacdec9b',
armv7l: '0b3f8f18610f75ed076605c2a05e9748710939b29bbe8279b5957bddeacdec9b',
i686: '5ac984ba6126371d59dbf96828fe87ef084ca4f3427067d2920440a36615ed5b',
x86_64: 'e6f20f9a1f631d085934c3fce0d90c1945f88e72c3ee436a0b8460cf7d3d8150'
})
depends_on 'mesa'
depends_on 'glew'
depends_on 'freeglut'
depends_on 'wayland_protocols' => :build
depends_on 'glibc' # R
depends_on 'libglu' # R
depends_on 'libglvnd' # R
depends_on 'libx11' # R
depends_on 'libxext' # R
depends_on 'wayland' # R
def self.build
system 'meson setup build'
system "meson configure #{CREW_MESON_OPTIONS} \
build"
system 'ninja -C build'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C build install"
end
end