Magellan Linux

Annotation of /branches/R11-unstable/extras/libdrm/libdrm-2.4.61-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 24843 - (hide annotations) (download)
Tue May 12 08:56:10 2015 UTC (9 years ago) by niro
Original Path: trunk/extras/libdrm/libdrm-2.4.61-r1.smage2
File size: 891 byte(s)
auto added: ver bump to 2.4.61-r1
1 niro 24843 # $Id$
2    
3     PNAME="libdrm"
4     PVER="2.4.61"
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-216"
14     SDEPEND=">= dev-libs/libpthread-stubs-0.1"
15    
16     if mqueryfeature "check"
17     then
18     SDEPEND+="
19     >= x11-libs/cairo-1.12"
20     fi
21    
22     SRCFILE="${PNAME}-${PVER}.tar.bz2"
23    
24     sminclude xorg multilib
25    
26     SRC_URI=(
27     http://dri.freedesktop.org/${PNAME}/${SRCFILE}
28     mirror://${PNAME}/${SRCFILE}
29     )
30    
31     UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball"
32    
33     src_compile()
34     {
35     # add march=native to cflags to fix compile issues
36     # see http://bugs.freedesktop.org/show_bug.cgi?id=24381
37     export CFLAGS="${CFLAGS} -march=native"
38     export CXXFLAGS="${CXXFLAGS} -march=native"
39    
40     mconfigure \
41     --enable-udev \
42     --enable-intel \
43     --enable-radeon \
44     --enable-nouveau \
45     --enable-vmwgfx \
46     || die
47    
48     mmake || die
49     }