aboutsummaryrefslogtreecommitdiff
path: root/xorg/xf86-video-intel/build
blob: 11f344749d231802869fc0939fa92e31ad64ac62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh -e

export DESTDIR="$1"
export LDFLAGS="$LDFLAGS -Wl,-z,lazy"
export CFLAGS="$CFLAGS -fcommon"

meson \
    --prefix=/usr \
    --libexecdir=/usr/lib \
    -Ddefault-dri=3 \
    -Dxvmc=false \
    -Dvalgrind=false \
    . build

ninja -C build
ninja -C build install

# Remove policy kit files.
rm -rf "$1/usr/share/polkit-1"