-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathlibdrm.yaml
58 lines (52 loc) · 1.37 KB
/
libdrm.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# Generated from https://git.alpinelinux.org/aports/plain/main/libdrm/APKBUILD
package:
name: libdrm
version: 2.4.120
epoch: 0
description: Userspace interface to kernel DRM services
copyright:
- license: MIT
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- eudev-dev
- libpciaccess-dev
- linux-headers
- meson
- xmlto
pipeline:
- uses: fetch
with:
expected-sha256: 66b40c776704145d8550c294bcea357ca2dafcc814aa5b48cff0dc57af174b16
uri: https://gitlab.freedesktop.org/mesa/drm/-/archive/libdrm-${{package.version}}/drm-libdrm-${{package.version}}.tar.gz
- runs: |
CFLAGS="$CFLAGS -O2" CPPFLAGS="$CPPFLAGS -O2" CXXFLAGS="$CXXFLAGS -O2" meson \
-Db_lto=true \
-Dfreedreno=enabled \
-Dtegra=enabled \
-Domap=enabled \
-Dexynos=enabled \
-Dvc4=enabled \
-Detnaviv=enabled \
-Dudev=true \
-Dinstall-test-programs=true \
-Dtests=true \
--prefix=/usr \
. output
meson compile -C output
DESTDIR="${{targets.destdir}}" meson install --no-rebuild -C output
- uses: strip
subpackages:
- name: libdrm-dev
pipeline:
- uses: split/dev
description: libdrm dev
update:
enabled: true
release-monitor:
identifier: 1596