Contents of /smage/trunk/core/libdrm/libdrm-2.4.37-r2.smage2
Parent Directory | Revision Log
Revision 3838 -
(show annotations)
(download)
Thu Jul 19 13:23:19 2012 UTC (12 years, 2 months ago) by niro
File size: 850 byte(s)
Thu Jul 19 13:23:19 2012 UTC (12 years, 2 months ago) by niro
File size: 850 byte(s)
-fixed a typo
1 | # $Id$ |
2 | |
3 | PNAME="libdrm" |
4 | PVER="2.4.37" |
5 | PBUILD="r2" |
6 | |
7 | PCAT="x11-libs" |
8 | |
9 | DESCRIPTION="Xorg drm library." |
10 | HOMEPAGE="http://dri.freedesktop.org/" |
11 | |
12 | sminclude xorg multilib alx-split |
13 | |
14 | DEPEND=">= x11-libs/libpciaccess-0.13 |
15 | >= sys-fs/libudev-185" |
16 | SDEPEND=">= dev-libs/libpthread-stubs-0.1 |
17 | >= x11-libs/cairo-1.12" |
18 | |
19 | SRCFILE="${PNAME}-${PVER}.tar.bz2" |
20 | |
21 | SRC_URI=( |
22 | http://dri.freedesktop.org/${PNAME}/${SRCFILE} |
23 | mirror://${PNAME}/${SRCFILE} |
24 | ) |
25 | |
26 | UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball" |
27 | |
28 | src_compile() |
29 | { |
30 | # add march=native to cflags to fix compile issues |
31 | # see http://bugs.freedesktop.org/show_bug.cgi?id=24381 |
32 | export CFLAGS="${CFLAGS} -march=native" |
33 | export CXXFLAGS="${CXXFLAGS} -march=native" |
34 | |
35 | mconfigure \ |
36 | --enable-udev \ |
37 | --enable-intel \ |
38 | --enable-radeon \ |
39 | --enable-nouveau-experimental-api \ |
40 | || die |
41 | |
42 | mmake || die |
43 | } |