Magellan Linux

Contents of /branches/R11-stable/extras/libdrm/libdrm-2.4.52-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 20862 - (show annotations) (download)
Tue Feb 11 10:02:25 2014 UTC (10 years, 2 months ago) by niro
File size: 843 byte(s)
-release branches/R11-stable
1 # $Id$
2
3 PNAME="libdrm"
4 PVER="2.4.52"
5 PBUILD="r1"
6
7 PCAT="x11-libs"
8
9 DESCRIPTION="Xorg drm library."
10 HOMEPAGE="http://dri.freedesktop.org/"
11
12 sminclude xorg multilib
13
14 DEPEND=">= x11-libs/libpciaccess-0.13
15 >= sys-fs/libudev-208"
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 \
40 --enable-vmwgfx \
41 || die
42
43 mmake || die
44 }