Magellan Linux

Contents of /smage/trunk/core/libdrm/libdrm-2.4.50-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5272 - (show annotations) (download)
Tue Dec 17 13:25:54 2013 UTC (10 years, 5 months ago) by niro
File size: 850 byte(s)
auto added: ver bump to 2.4.50-r1
1 # $Id$
2
3 PNAME="libdrm"
4 PVER="2.4.50"
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 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 }