Files
chromebrew/packages/libglvnd.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

43 lines
1.6 KiB
Ruby

require 'package'
class Libglvnd < Package
description 'The GL Vendor-Neutral Dispatch library'
homepage 'https://gitlab.freedesktop.org/glvnd/libglvnd'
@_ver = '1.5.0'
version "#{@_ver}-1"
license 'MIT'
compatibility 'all'
source_url 'https://gitlab.freedesktop.org/glvnd/libglvnd.git'
git_hashtag "v#{@_ver}"
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libglvnd/1.5.0-1_armv7l/libglvnd-1.5.0-1-chromeos-armv7l.tar.zst',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libglvnd/1.5.0-1_armv7l/libglvnd-1.5.0-1-chromeos-armv7l.tar.zst',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libglvnd/1.5.0-1_i686/libglvnd-1.5.0-1-chromeos-i686.tar.zst',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/libglvnd/1.5.0-1_x86_64/libglvnd-1.5.0-1-chromeos-x86_64.tar.zst'
})
binary_sha256({
aarch64: '977a403cea84ffa10f1d36699909679be3e1ebbb1c736c8334ea0885fd9ebd94',
armv7l: '977a403cea84ffa10f1d36699909679be3e1ebbb1c736c8334ea0885fd9ebd94',
i686: '9c9e4edbaff44cb62c30700363cfc1fd18c61e912d28446242e8419504d6456b',
x86_64: '212b02d81595f1048de400fd2049b961912ce118ababdfaefa524ff7cd91ae6a'
})
depends_on 'libxext'
depends_on 'libx11'
depends_on 'glproto'
depends_on 'python3' => :build
depends_on 'glibc' # R
def self.build
system "meson #{CREW_MESON_OPTIONS} \
builddir"
system 'meson configure builddir'
system 'ninja -C builddir'
end
def self.install
system "DESTDIR=#{CREW_DEST_DIR} ninja -C builddir install"
end
end