Date: Saturday, August 23, 2014 @ 01:52:34 Author: heftig Revision: 220571
Fix a FTBFS when intel-gpu-tools is installed Modified: libva-intel-driver/trunk/PKGBUILD ----------+ PKGBUILD | 8 ++++++++ 1 file changed, 8 insertions(+) Modified: PKGBUILD =================================================================== --- PKGBUILD 2014-08-22 17:42:40 UTC (rev 220570) +++ PKGBUILD 2014-08-22 23:52:34 UTC (rev 220571) @@ -14,6 +14,14 @@ source=(http://freedesktop.org/software/vaapi/releases/$pkgname/$pkgname-$pkgver.tar.bz2) md5sums=('3f4f08f1d42ee451b2fb9c239ee0b8d7') +prepare() { + cd $pkgname-$pkgver + + # Only relevant if intel-gpu-tools is installed, + # since then the shaders will be recompiled + sed -i '1s/python$/&2/' src/shaders/gpp.py +} + build() { cd $pkgname-$pkgver ./configure --prefix=/usr