blob: 5d42d314b5cc4fb6ae7f07325534d509c9528c84 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Description: Interface espace utilisateur pour les services DRM du kernel
# URL: http://dri.freedesktop.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libpthread-stubs, xorg-libpciaccess
# Run on: libpthread-stubs,xorg-libpciaccess
name=libdrm
version=2.4.28
release=1
source=(http://dri.freedesktop.org/libdrm/libdrm-$version.tar.bz2
add_missing_files.patch
rbo.h
list.h)
build() {
cd $name-$version
patch -p1 < ../add_missing_files.patch
cp ../{rbo,list}.h tests/radeon/
autoreconf -if
./configure --prefix=/usr \
--enable-static \
--enable-intel \
--enable-radeon \
--enable-libkms \
--enable-vmwgfx-experimental-api \
--enable-nouveau-experimental-api \
--enable-udev
make
make DESTDIR=$PKG install
}
|