mirror of
https://github.com/chromebrew/chromebrew.git
synced 2026-01-10 07:57:59 -05:00
* Add unbuilt libdrm to updater-libdrm-2.4.127 * updater-libdrm-2.4.127: Package File Update Run on linux/amd64 container. * updater-libdrm-2.4.127: Package File Update Run on linux/arm/v7 container. --------- Co-authored-by: chromebrew-actions[bot] <chromebrew-actions[bot]@users.noreply.github.com>
39 lines
1.1 KiB
Ruby
39 lines
1.1 KiB
Ruby
require 'buildsystems/meson'
|
|
|
|
class Libdrm < Meson
|
|
description 'Cross-driver middleware for DRI protocol.'
|
|
homepage 'https://dri.freedesktop.org/wiki/'
|
|
version '2.4.127'
|
|
license 'MIT'
|
|
compatibility 'aarch64 armv7l x86_64'
|
|
source_url 'https://gitlab.freedesktop.org/mesa/drm.git'
|
|
git_hashtag "libdrm-#{version}"
|
|
binary_compression 'tar.zst'
|
|
|
|
binary_sha256({
|
|
aarch64: 'cb21ea50c06cb3582e5a9bce6e2edea2e53c8fd8dde3e42dec22d9a28f69e5b0',
|
|
armv7l: 'cb21ea50c06cb3582e5a9bce6e2edea2e53c8fd8dde3e42dec22d9a28f69e5b0',
|
|
x86_64: '248c06a0175c10d8de22d129d13d210a709776711ffaea82d35953fad1d49c34'
|
|
})
|
|
|
|
depends_on 'cairo' # R
|
|
depends_on 'libpciaccess' # R
|
|
depends_on 'eudev' => :build
|
|
depends_on 'libxslt' => :build
|
|
depends_on 'glibc' # R
|
|
depends_on 'gcc_lib' # R
|
|
|
|
meson_options '-Dfreedreno-kgsl=true \
|
|
-Damdgpu=enabled \
|
|
-Dradeon=enabled \
|
|
-Dnouveau=enabled \
|
|
-Dintel=auto \
|
|
-Dvmwgfx=enabled \
|
|
-Dvc4=auto \
|
|
-Dfreedreno=enabled \
|
|
-Detnaviv=auto \
|
|
-Dexynos=auto \
|
|
-Dtests=false \
|
|
-Dudev=true'
|
|
end
|