| 1 | # Description: Userspace interface to kernel DRM services |
| 2 | # URL: http://dri.freedesktop.org/ |
| 3 | # Maintainer: CRUX Xorg Team, xorg-ports at crux dot nu |
| 4 | # Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu |
| 5 | # Depends on: libpthread-stubs xorg-libpciaccess |
| 6 | |
| 7 | name=libdrm |
| 8 | version=2.4.102 |
| 9 | release=1 |
| 10 | source=(http://dri.freedesktop.org/libdrm/libdrm-$version.tar.xz) |
| 11 | |
| 12 | build() { |
| 13 | cd $name-$version |
| 14 | |
| 15 | meson build \ |
| 16 | --prefix=/usr \ |
| 17 | -Dman-pages=false \ |
| 18 | -Dvalgrind=false \ |
| 19 | -Dcairo-tests=false \ |
| 20 | -Dintel=false \ |
| 21 | -Dradeon=false \ |
| 22 | -Dnouveau=false \ |
| 23 | -Dvmwgfx=false \ |
| 24 | -Damdgpu=false \ |
| 25 | -Domap-experimental-api=true \ |
| 26 | -Dexynos-experimental-api=true \ |
| 27 | -Dtegra-experimental-api=true |
| 28 | |
| 29 | DESTDIR=$PKG ninja -C build -j ${JOBS:-1} install |
| 30 | } |