File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,11 +4,25 @@ metaEnvironment:
44 PKG_VERSION : " 2.4.131"
55 PKG_LICENSE : " MIT"
66
7+ Config :
8+ LIBDRM_INTEL :
9+ type : choice
10+ default : disabled
11+ help : Enable support for Intel's KMS API.
12+ choice :
13+ auto :
14+ enabled :
15+ disabled :
16+
717depends :
18+ - name : libs::xorg::libpciaccess-dev
19+ if : " $(not,$(eq,${LIBDRM_INTEL},disabled))"
820 - virtual::core::udev-dev
921
1022 - use : []
1123 depends :
24+ - name : libs::xorg::libpciaccess-tgt
25+ if : " $(not,$(eq,${LIBDRM_INTEL},disabled))"
1226 - virtual::core::udev-tgt
1327
1428checkoutSCM :
@@ -17,11 +31,12 @@ checkoutSCM:
1731 digestSHA256 : 45ba9983b51c896406a3d654de81d313b953b76e6391e2797073d543c5f617d5
1832 stripComponents : 1
1933
34+ buildVars : [LIBDRM_INTEL]
2035buildScript : |
2136 mesonBuild $1 \
2237 -Dcairo-tests=disabled \
2338 -Dman-pages=disabled \
24- -Dintel=disabled \
39+ -Dintel=${LIBDRM_INTEL} \
2540 -Dradeon=disabled \
2641 -Damdgpu=disabled \
2742 -Dnouveau=disabled \
You can’t perform that action at this time.
0 commit comments