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,21 @@ metaEnvironment:
44 PKG_VERSION : " 2.4.131"
55 PKG_LICENSE : " MIT"
66
7+ Config :
8+ LIBDRM_INTEL :
9+ type : bool
10+ default : false
11+ help : Enable support for Intel's KMS API.
12+
713depends :
14+ - name : libs::xorg::libpciaccess-dev
15+ if : " ${LIBDRM_INTEL}"
816 - virtual::core::udev-dev
917
1018 - use : []
1119 depends :
20+ - name : libs::xorg::libpciaccess-tgt
21+ if : " ${LIBDRM_INTEL}"
1222 - virtual::core::udev-tgt
1323
1424checkoutSCM :
@@ -17,11 +27,14 @@ checkoutSCM:
1727 digestSHA256 : 45ba9983b51c896406a3d654de81d313b953b76e6391e2797073d543c5f617d5
1828 stripComponents : 1
1929
30+ buildVars : [LIBDRM_INTEL]
2031buildScript : |
32+ FEATURE=( disabled enabled )
33+
2134 mesonBuild $1 \
2235 -Dcairo-tests=disabled \
2336 -Dman-pages=disabled \
24- -Dintel=disabled \
37+ -Dintel=${FEATURE[$LIBDRM_INTEL]} \
2538 -Dradeon=disabled \
2639 -Damdgpu=disabled \
2740 -Dnouveau=disabled \
You can’t perform that action at this time.
0 commit comments