Contents of /smage/trunk/core/libdrm/libdrm-2.4.68-r4.smage2
Parent Directory | Revision Log
Revision 9094 -
(show annotations)
(download)
Mon Jun 20 08:23:48 2016 UTC (8 years, 3 months ago) by niro
File size: 948 byte(s)
Mon Jun 20 08:23:48 2016 UTC (8 years, 3 months ago) by niro
File size: 948 byte(s)
auto added: ver bump to 2.4.68-r5
1 | # $Id$ |
2 | |
3 | PNAME="libdrm" |
4 | PVER="2.4.68" |
5 | PBUILD="r4" |
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-220" |
14 | |
15 | SDEPEND=">= dev-libs/libpthread-stubs-0.1 |
16 | >= x11-libs/libpciaccess-dev-0.13 |
17 | >= sys-fs/libudev-dev-220 |
18 | >= virtual/x11-protos" |
19 | |
20 | if mqueryfeature "check" |
21 | then |
22 | SDEPEND+=" |
23 | >= x11-libs/cairo-1.14 |
24 | >= x11-libs/cairo-dev-1.14" |
25 | fi |
26 | |
27 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
28 | |
29 | sminclude xorg multilib alx-split |
30 | |
31 | SRC_URI=( |
32 | http://dri.freedesktop.org/${PNAME}/${SRCFILE} |
33 | mirror://${PNAME}/${SRCFILE} |
34 | ) |
35 | |
36 | UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" |
37 | |
38 | src_compile() |
39 | { |
40 | # add march=native to cflags to fix compile issues |
41 | # see http://bugs.freedesktop.org/show_bug.cgi?id=24381 |
42 | # export CFLAGS="${CFLAGS} -march=native" |
43 | # export CXXFLAGS="${CXXFLAGS} -march=native" |
44 | |
45 | mconfigure --enable-udev --disable-valgrind || die |
46 | mmake || die |
47 | } |