2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-11-17 04:00:14 -07:00
repo/xorg/intel-media-driver/build

21 lines
429 B
Plaintext
Raw Normal View History

#!/bin/sh -e
export DESTDIR="$1"
sed -i 's/SHARED/STATIC/' gmmlib/Source/GmmLib/CMakeLists.txt
cd media
cmake -B build \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBS_DIR_GMMLIB="$OLDPWD/gmmlib/Source/GmmLib" \
-DINSTALL_DRIVER_SYSCONF=OFF \
-DRUN_TEST_SUITE=OFF
cmake --build build
cmake --install build
rm -rf "$1/usr/include/igdgmm" \
"$1/usr/lib/pkgconfig/igdgmm.pc"