Magellan Linux

Contents of /branches/magellan-next/core/libdrm/libdrm-2.4.28-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9572 - (show annotations) (download)
Mon Dec 12 16:26:52 2011 UTC (12 years, 4 months ago) by niro
File size: 837 byte(s)
auto added: ver bump to 2.4.28-r1
1 # $Id$
2
3 PNAME="libdrm"
4 PVER="2.4.28"
5 PBUILD="r1"
6
7 PCATEGORIE="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.12.1"
15 SDEPEND=">= dev-libs/libpthread-stubs-0.1"
16
17 SRCFILE="${PNAME}-${PVER}.tar.bz2"
18
19 SRC_URI=(
20 http://dri.freedesktop.org/${PNAME}/${SRCFILE}
21 mirror://${PNAME}/${SRCFILE}
22 )
23
24 UP2DATE="updatecmd http://dri.freedesktop.org/${PNAME}/ | lasttarball"
25
26 src_compile()
27 {
28 # add march=native to cflags to fix compile issues
29 # see http://bugs.freedesktop.org/show_bug.cgi?id=24381
30 export CFLAGS="${CFLAGS} -march=native"
31 export CXXFLAGS="${CXXFLAGS} -march=native"
32
33 mconfigure \
34 --enable-udev \
35 --enable-intel \
36 --enable-radeon \
37 --enable-vmwgfx-experimental-api \
38 --enable-nouveau-experimental-api \
39 || die
40 mmake || die
41 }