Annotation of /trunk/extras/libdrm/libdrm-2.4.91-r1.smage2
Parent Directory | Revision Log
Revision 30712 -
(hide annotations)
(download)
Wed Mar 21 13:09:18 2018 UTC (6 years, 6 months ago) by niro
File size: 1109 byte(s)
Wed Mar 21 13:09:18 2018 UTC (6 years, 6 months ago) by niro
File size: 1109 byte(s)
auto added: ver bump to 2.4.91-r1
1 | niro | 30712 | # $Id$ |
2 | |||
3 | PNAME="libdrm" | ||
4 | PVER="2.4.91" | ||
5 | PBUILD="r1" | ||
6 | |||
7 | PCAT="x11-libs" | ||
8 | |||
9 | DESCRIPTION="Xorg drm library." | ||
10 | HOMEPAGE="http://dri.freedesktop.org/" | ||
11 | |||
12 | DEPEND=">= x11-libs/libpciaccess-0.13 | ||
13 | >= sys-fs/libudev-230" | ||
14 | SDEPEND=">= dev-libs/libpthread-stubs-0.1 | ||
15 | >= virtual/x11-protos" | ||
16 | |||
17 | if mqueryfeature "check" | ||
18 | then | ||
19 | SDEPEND+=" | ||
20 | >= x11-libs/cairo-1.14" | ||
21 | fi | ||
22 | |||
23 | SRCFILE="${PNAME}-${PVER}.tar.bz2" | ||
24 | |||
25 | sminclude multilib xorg mbuild | ||
26 | |||
27 | SRC_URI=( | ||
28 | http://dri.freedesktop.org/${PNAME}/${SRCFILE} | ||
29 | mirror://${PNAME}/${SRCFILE} | ||
30 | ) | ||
31 | |||
32 | UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" | ||
33 | |||
34 | src_compile() | ||
35 | { | ||
36 | # disabled, seems to break libdrm (oslookupcolor issue) with newer gcc (>=6.1) | ||
37 | # # add march=native to cflags to fix compile issues | ||
38 | # # see http://bugs.freedesktop.org/show_bug.cgi?id=24381 | ||
39 | # export CFLAGS="${CFLAGS} -march=native" | ||
40 | # export CXXFLAGS="${CXXFLAGS} -march=native" | ||
41 | |||
42 | # always enable *all* required features | ||
43 | mconfigure \ | ||
44 | --enable-udev \ | ||
45 | --enable-libkms \ | ||
46 | --enable-intel \ | ||
47 | --enable-nouveau \ | ||
48 | --enable-amdgpu \ | ||
49 | --enable-radeon \ | ||
50 | --enable-vmwgfx \ | ||
51 | --disable-valgrind \ | ||
52 | || die | ||
53 | |||
54 | mmake || die | ||
55 | } | ||
56 |